/* Modern Fast CSS Reset & Variables */
:root {
    --primary: #9333ea; /* Deep Premium Purple */
    --primary-dark: #7e22ce;
    --accent: #ec4899; /* Vibrant Pink */
    --bg: #f8fafc;
    --bg-slate: #f1f5f9;
    --text: #1e293b;
    --card-bg: #ffffff;
    --border: #f1f5f9;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Text Selection */
::selection {
    background: var(--accent);
    color: white;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    background-image: radial-gradient(circle at top right, rgba(147, 51, 234, 0.08), transparent 40%), 
                      radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.06), transparent 40%);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 0; /* Allow the background image to reach the absolute top of the viewport */
}

/* Fast Render Navbar */
nav {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    padding: 12px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px -10px rgba(147, 51, 234, 0.15);
    position: fixed; 
    top: 20px; left: 50%; right: auto; 
    transform: translateX(-50%);
    margin: 0; 
    width: 95%;
    max-width: 1300px;
    z-index: 1000;
    flex-wrap: wrap;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text) !important;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-brand:hover {
    background: transparent !important;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.2px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 50px;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(147, 51, 234, 0.08);
}

.nav-links .nav-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white !important;
    padding: 9px 26px;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(147, 51, 234, 0.4), 0 8px 10px -6px rgba(236, 72, 153, 0.4);
}
.nav-links .nav-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 15px 35px -5px rgba(147, 51, 234, 0.5), 0 10px 15px -5px rgba(236, 72, 153, 0.5);
}

/* Donate Button */
.donate-btn {
    background: linear-gradient(135deg, #f6ad55, #ed8936) !important;
    color: white !important;
    box-shadow: 0 8px 20px -6px rgba(237, 137, 54, 0.6) !important;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #f6ad55, #ed8936) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 25px -5px rgba(237, 137, 54, 0.8) !important;
}

/* Admin Navbar Overrides */
nav.admin-nav {
    background-color: #1a202c;
    border-bottom: 1px solid #2d3748;
    justify-content: space-between;
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    transform: none;
    left: 0;
}
nav.admin-nav .nav-brand {
    color: #fff !important;
}

nav .logout-btn {
    color: #fc8181;
    background: rgba(252, 129, 129, 0.1);
    margin-left: auto;
}

nav .logout-btn:hover {
    color: #e53e3e;
    background: rgba(252, 129, 129, 0.2);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.animate-fade-in { animation: fadeInDown 0.6s ease-out forwards; }
.animate-pulse { animation: pulse 2s infinite ease-in-out; }
.animate-float { animation: float 4s infinite ease-in-out; }
.hover-lift { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 25px 40px -5px rgba(147, 51, 234, 0.25); }

/* Focus Styles */
*:focus-visible { outline: 3px solid rgba(147, 51, 234, 0.5); outline-offset: 2px; }

/* Typography */
h1 {
    color: #1a202c;
    font-size: 2.8rem;
    font-weight: 800;
    margin: 40px 0 20px;
    text-align: center;
    letter-spacing: -1px;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.text-gradient-white {
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.float-anim { animation: float 4s infinite ease-in-out; }

blockquote {
    border-left: 4px solid var(--accent);
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(213, 63, 140, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4a5568;
}

h2 {
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
    margin-top: 0;
    letter-spacing: -0.5px;
}

.bg-gradient {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px 20px;
}

/* Tags and Pills */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    background: #edf2f7;
    color: #4a5568;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.tag:hover {
    background: var(--primary);
    color: white;
}

/* High-End Glass Panel for Heroes */
.glass-panel {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5);
    max-width: 850px;
    margin: 0 auto;
}

.bg-gradient.hero-section, .page-header {
    background: url('images/bgbg.jpg') center/cover no-repeat;
    position: relative;
    color: white;
    margin-top: 0;
    padding-top: 220px; /* Increased to account for the nav sitting on top */
    padding-bottom: 120px;
    border-radius: 0;
    margin-bottom: 60px;
    border: none;
    text-align: center;
}
.bg-gradient.hero-section::before, .page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Smooth fade from a lighter top to a deeper bottom */
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 0;
}
.bg-gradient.hero-section > *, .page-header > * {
    position: relative;
    z-index: 1;
}
.bg-gradient.hero-section p, .bg-gradient.hero-section h2, .bg-gradient.hero-section h4, .bg-gradient.hero-section h5, .bg-gradient.hero-section h6, .bg-gradient.hero-section h3 { 
    color: rgba(255,255,255,0.85) !important; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.2); 
}
.bg-gradient.hero-section .card { background: white; border-top: 4px solid var(--accent); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.bg-gradient.hero-section .card p, .bg-gradient.hero-section .card h6 { color: #4a5568 !important; }
.bg-gradient.hero-section .card h3 { color: var(--primary) !important; }
.bg-gradient.hero-section .front-stat-card p, .bg-gradient.hero-section .front-stat-card h6 { color: #4a5568 !important; }
.bg-gradient.hero-section .badge-tag, .page-header .badge-tag { background: var(--primary); color: white; }

.page-header h1 { 
    color: white; 
    margin-top: 0; 
    font-size: 3.5rem; 
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.page-header ul { list-style: none; padding: 0; display: flex; justify-content: center; gap: 10px; font-weight: 500; }
.page-header a { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 600; }
.page-header a:hover { color: white; }

.badge-tag {
    background: var(--primary);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Universal Containers & Grid */
.container {
    max-width: 1300px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    width: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Modern Cards (Applies to Admin cards and Front-End Sections) */
.card, body > section, .grid > section {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05); /* Softer card shadows */
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Contains the new top border */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.card::before, body > section::before, .grid > section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.9;
}

.card:hover, body > section:hover, .grid > section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -10px rgba(147, 51, 234, 0.2);
}

.card.has-data-view {
    padding-bottom: 20px;
}

/* Image Hover Zoom Utility */
.img-hover-zoom {
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 15px;
    display: block;
}
.img-hover-zoom img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image overlays */
.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}
.image-overlay::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}
.image-overlay-content {
    position: absolute; bottom: 20px; left: 20px; z-index: 10; color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.image-overlay-content h3 { color: white; margin: 0 0 5px 0; border: none; }

/* Split Section for alternating Content/Image layouts */
.split-section {
    display: flex;
    flex-wrap: wrap;
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.06);
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.split-section:hover { transform: translateY(-5px); box-shadow: 0 25px 60px -15px rgba(147, 51, 234, 0.25); }
.split-section > div {
    flex: 1 1 300px;
}
.split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}
.split-content {
    padding: 50px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Front-End Stat Cards */
.front-stat-card {
    background: var(--card-bg);
    padding: 35px 20px;
    border-radius: 16px;
    box-shadow: 0 15px 35px -5px rgba(147, 51, 234, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.front-stat-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px -10px rgba(147, 51, 234, 0.2); }
.front-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--primary);
}

/* Infinite Scrolling Marquee for Partners */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-content {
    display: inline-block;
    animation: marquee 35s linear infinite;
}
.marquee-content:hover {
    animation-play-state: paused;
}
.marquee-content span {
    display: inline-block;
    margin: 0 15px;
    background: white;
    padding: 15px 35px;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    font-weight: 700;
    color: var(--text);
    transition: transform 0.3s, box-shadow 0.3s;
}
.marquee-content span:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(147, 51, 234, 0.2);
    border-color: var(--primary);
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Common Utilities */
.text-center { text-align: center; }
.text-muted { color: #718096; }
.mt-0 { margin-top: 0 !important; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.shadow-sm { box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.rounded-sm { border-radius: 4px; }
.rounded-md { border-radius: 8px; }
.rounded-lg { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }

/* Forms */
.form-group {
    margin-bottom: 20px;
    width: 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4a5568;
}

input[type="text"], input[type="password"], input[type="date"], select, textarea, input[type="file"] { 
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: #f7fafc;
    transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input[type="checkbox"], input[type="radio"] {
    width: auto;
    display: inline-block;
    margin-right: 8px;
    accent-color: var(--primary);
}

.input-group { position: relative; display: flex; align-items: center; }
.input-group i { position: absolute; left: 15px; color: #a0aec0; }
.input-group input { padding-left: 40px; }

/* Smooth Buttons */
.btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    margin-top: auto;
    box-shadow: 0 10px 25px -5px rgba(147, 51, 234, 0.5), 0 8px 10px -6px rgba(236, 72, 153, 0.5);
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px -5px rgba(147, 51, 234, 0.6), 0 10px 15px -5px rgba(236, 72, 153, 0.6);
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
}

.btn:active {
    background: #4338ca;
}

/* Button Variants */
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 8px 25px -8px rgba(147, 51, 234, 0.4);
}
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 35px -5px rgba(147, 51, 234, 0.6); }

.btn-secondary {
    background: linear-gradient(135deg, #4fd1c5, #38b2ac);
    box-shadow: 0 8px 25px -8px rgba(56, 178, 172, 0.6);
}
.btn-secondary:hover { background: linear-gradient(135deg, #38b2ac, #319795); box-shadow: 0 15px 35px -5px rgba(56, 178, 172, 0.7); transform: translateY(-3px) scale(1.02); }

/* Login Details & Alerts */
.login-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 50px 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary);
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.login-container h1 {
    margin-top: 0;
    margin-bottom: 30px;
}

.error {
    color: #c53030;
    background: #fed7d7;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
    border-left: 4px solid #e53e3e;
}

.success-banner {
    background-color: #c6f6d5;
    color: #22543d;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    border-left: 4px solid #38a169;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Dashboard Stats Widget - Moved from inline styles */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    border-left: 4px solid;
}
.stat-card.total-subscribers { border-left-color: var(--primary); }
.stat-card.upcoming-events { border-left-color: #ed8936; } /* Orange */
.stat-card.pending-volunteers { border-left-color: var(--accent); }
.stat-card.total-donations { border-left-color: #48bb78; } /* Green */

.stat-card-label {
    color: #718096;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-card-value {
    margin-top: 10px;
    color: var(--text);
    font-size: 2.2rem;
    font-weight: 700;
}

/* "View / Manage" links */
.view-manage-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.view-manage-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Styles for content display sections within cards */
.current-items-list {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.current-items-list h3 {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 15px;
}
.current-items-list ul, .current-items-list table {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    border-collapse: collapse;
}
.current-items-list ul li {
    background-color: #f7fafc;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #4a5568;
}
.current-items-list table th, .current-items-list table td {
    padding: 10px 15px;
    border: 1px solid var(--border);
    text-align: left;
}
.current-items-list table th {
    background-color: #edf2f7;
    font-weight: 600;
    color: #2d3748;
}
.current-items-list table tr:nth-child(even) {
    background-color: #f7fafc;
}
.current-items-list table tr:hover {
    background-color: #edf2f7;
}

.text-placeholder {
    font-style: italic;
    color: #718096;
    font-size: 0.85rem;
    text-align: center;
    padding: 15px;
    border: 1px dashed var(--border);
    border-radius: 4px;
    margin-top: 15px;
}

/* Modern Footer */
.site-footer {
    background: url('https://www.yginnerchild.org.za/wp-content/uploads/2025/02/bgbg.jpg') center/cover no-repeat;
    position: relative;
    color: #cbd5e0;
    margin-top: 60px;
    border-top: 5px solid var(--primary);
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 32, 44, 0.95); /* Deep dark overlay */
    z-index: 0;
}
.footer-content {
    position: relative;
    z-index: 1;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}
.footer-col h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
    border: none;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.site-footer .footer-logo {
    height: 60px;
    margin-bottom: 20px;
    background: white;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.site-footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.site-footer .footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.site-footer .footer-links a::before {
    content: '\f105'; /* FontAwesome right angle bracket */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary);
    font-size: 0.85rem;
}
.site-footer .footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Newsletter Form inside Footer */
.newsletter-form {
    display: flex;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.15);
    margin-top: 15px;
}
.newsletter-form input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 20px;
    flex: 1;
    outline: none;
    box-shadow: none;
}
.newsletter-form input::placeholder { color: #cbd5e0; font-weight: 400; }
.newsletter-form button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s;
}
.newsletter-form button:hover { transform: scale(1.08); box-shadow: 0 4px 15px rgba(236, 72, 153, 0.5); }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    color: white;
    border-radius: 4px;
    font-size: 1rem;
    text-decoration: none;
}
.social-links a:hover {
    background: var(--primary);
}
.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav {
        position: relative;
        top: 0;
        transform: none;
        left: 0;
        width: 100%;
        padding: 10px 15px;
        border-radius: 0;
        flex-direction: column;
        gap: 10px;
    }
    .nav-links {
        justify-content: center;
        gap: 5px;
    }
    .nav-links a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    .nav-links .nav-btn {
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }
    .container {
        padding: 0 15px;
    }
    h1 {
        font-size: 2.2rem !important;
    }
    h2 {
        font-size: 1.8rem !important;
    }
    .bg-gradient.hero-section, .page-header {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    .glass-panel {
        padding: 30px 20px !important;
    }
    .card, body > section, .grid > section {
        padding: 20px;
    }
    .split-content {
        padding: 30px 20px;
    }
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}

.success-banner {
    background-color: #c6f6d5;
    color: #22543d;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #38a169;
    font-weight: 500;
}

/* App Promo Section */
.app-promo {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    border: 1px solid #334155;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.app-promo h2 { color: white; }
.app-promo p { color: #cbd5e0; font-size: 1.1rem; line-height: 1.7; }
.app-promo .btn { 
    background: white; 
    color: #0f172a; 
    box-shadow: 0 10px 20px rgba(255,255,255,0.1); 
}
.app-promo .btn:hover { 
    background: #f8fafc; 
    color: #0f172a; 
    transform: translateY(-2px); 
    box-shadow: 0 15px 30px rgba(255,255,255,0.15); 
}
.app-promo-features {
    list-style: none; padding: 0; margin: 20px 0;
}
.app-promo-features li {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #e2e8f0;
}
.app-promo-features li i {
    color: #4fd1c5; font-size: 1.2rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Or a fixed height like 700px */
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 60px;
    background: #1e293b; /* Fallback background */
}

.hero-slider .slides {
    width: 100%;
    height: 100%;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slider .slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 0;
}

.hero-slider .slide > .container {
    position: relative;
    z-index: 1;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
    padding: 0 20px;
}

.slider-nav button {
    background: rgba(0,0,0,0.3);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    transition: background 0.3s;
    line-height: 1;
}

.slider-nav button:hover {
    background: rgba(0,0,0,0.6);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    padding: 0;
}

.slider-dots .dot.active {
    background: white;
}