/* Aditi Yoga - Custom Styles */

:root {
    /* Light Theme - Olive Green Theme */
    --bg-primary: #F5F7F0;
    /* Light olive background */
    --bg-secondary: #FFFFFF;
    /* White for cards and sections */
    --text-primary: #2D2D2D;
    /* Dark gray for main text */
    --text-secondary: #5A5A5A;
    /* Medium gray for secondary text */

    /* Primary Colors - Olive Green */
    --primary-color: #6B8E23;
    /* Olive Green */
    --primary-hover: #556B2F;
    /* Darker olive on hover */
    --primary-dark: #3D5A1F;
    /* Dark olive for accents */

    /* Status Colors */
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;

    /* UI Colors */
    --border-color: #D4DCC2;
    /* Light olive border */
    --card-bg: #FFFFFF;
    /* White for cards */
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    --nav-bg: #6B8E23;
    /* Olive green navigation */
    --footer-bg: #2D2D2D;
    /* Dark footer */

    /* Text Colors */
    --text-on-light: #2D2D2D;
    --text-muted: #7A7A7A;
    --text-on-primary: #FFFFFF;
    /* White text on olive background */

    /* Olive accents */
    --gold-accent: #6B8E23;
    --gold-accent-light: #8FBC4F;
    --gold-accent-dark: #556B2F;
}

/* Modern Dark Theme with Olive Green */
.dark-theme {
    /* Color Scheme */
    --bg-primary: #0A0B0E;
    /* Deep dark blue-black */
    --bg-secondary: #14161D;
    /* Slightly lighter than primary */
    --bg-tertiary: #1E2028;
    /* For cards and elevated elements */

    /* Text Colors */
    --text-primary: #FFFFFF;
    /* Pure white for primary text */
    --text-secondary: #E2E8F0;
    /* Light gray for secondary text */

    /* Accent Colors - Olive Green */
    --primary-color: #8FBC4F;
    /* Light Olive accent */
    --secondary-color: #A8D66F;
    /* Lighter olive for hover states */
    --accent-gradient: linear-gradient(90deg, #8FBC4F 0%, #6B8E23 100%);
    --text-shadow: 0 0 8px rgba(143, 188, 79, 0.5);
    /* Olive glow effect */

    /* Base text styles for all elements */
    color: var(--text-primary);
    text-shadow: var(--text-shadow);

    /* UI Elements */
    --border-color: #2D3748;
    /* Subtle border color */
    --card-bg: #14161D;
    /* Card background */
    --nav-bg: rgba(10, 11, 14, 0.9);
    /* Slightly transparent nav */
    --footer-bg: #0A0B0E;
    /* Same as primary */

    /* Glassmorphism Effect */
    --glass-bg: rgba(20, 22, 29, 0.8);
    --glass-border: rgba(143, 188, 79, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Background with subtle gradient */
    background: radial-gradient(ellipse at top left, #0F172A 0%, #0A0B0E 70%);
    background-attachment: fixed;
    color: var(--text-primary);
}

/* Dark theme overrides */
.dark-theme {
    color: var(--text-primary);
}

.dark-theme p,
.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6,
.dark-theme .text-muted,
.dark-theme .text-body {
    color: var(--text-primary) !important;
}

.dark-theme .text-dark {
    color: var(--text-primary) !important;
}

.dark-theme .text-secondary {
    color: var(--text-secondary) !important;
}

.dark-theme .hero-section {
    background: linear-gradient(135deg, #0c0b08 0%, #1c1a13 100%);
    color: var(--text-primary);
    border-bottom: 1px solid rgba(143, 188, 79, 0.3);
    position: relative;
    overflow: hidden;
}

.dark-theme .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(143, 188, 79, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.dark-theme .hero-section h1 {
    color: #A8D66F;
    text-shadow: 0 0 10px rgba(143, 188, 79, 0.3);
}

.dark-theme .hero-section .lead {
    color: #C8D9B8;
}

.dark-theme .cta-section {
    background: linear-gradient(135deg, #0A0B0E 0%, #1E2028 100%);
    color: #FFFFFF;
    border-top: 1px solid rgba(143, 188, 79, 0.3);
    position: relative;
    overflow: hidden;
}

.dark-theme .cta-section h2,
.dark-theme .cta-section h3,
.dark-theme .cta-section p {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(143, 188, 79, 0.6);
}

.dark-theme .cta-section p.lead {
    color: #E2E8F0;
    text-shadow: 0 0 8px rgba(143, 188, 79, 0.4);
}

/* Section Headings */
.dark-theme .featured-courses h2,
.dark-theme .section-title,
.dark-theme .testimonials h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, #8FBC4F, #6B8E23);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    margin: 0 auto 1.5rem;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.dark-theme .featured-courses h2::after,
.dark-theme .section-title::after,
.dark-theme .testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8FBC4F, #6B8E23);
    border-radius: 3px;
}

/* Section Subtitles */
.dark-theme .section-subtitle,
.dark-theme .featured-courses p.lead,
.dark-theme .testimonials p.lead {
    font-size: 1.7rem;
    color: #FFFFFF;
    max-width: 900px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(143, 188, 79, 0.4);
    letter-spacing: 0.3px;
}

/* No Courses Message */
.dark-theme .no-courses-message {
    font-size: 1.5rem;
    color: #000000;
    text-align: center;
    padding: 2.5rem 3rem;
    background: rgba(40, 44, 58, 0.8);
    border-radius: 16px;
    max-width: 800px;
    margin: 3rem auto;
    line-height: 1.8;
    border: 1px solid rgba(143, 188, 79, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 6px rgba(143, 188, 79, 0.3);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.dark-theme .course-detail-header {
    background: linear-gradient(135deg, #0A0B0E 0%, #1E2028 100%);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(143, 188, 79, 0.3);
    text-shadow: 0 0 10px rgba(143, 188, 79, 0.5);
}

/* Dark theme overrides for Bootstrap classes */
.dark-theme .bg-white,
.dark-theme .bg-light {
    background-color: var(--card-bg) !important;
    color: #000000;
}

.dark-theme .bg-light {
    background-color: var(--bg-secondary) !important;
}

/* Course Cards */
.dark-theme .card {
    background: var(--glass-bg);
    border: 1px solid rgba(143, 188, 79, 0.2);
    transition: all 0.3s ease;
}

.dark-theme .card-title {
    color: #FFFFFF;
    text-shadow: 0 0 8px rgba(143, 188, 79, 0.5);
}

.dark-theme .card-text {
    color: #E2E8F0;
    text-shadow: 0 0 4px rgba(143, 188, 79, 0.3);
}

.dark-theme .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(143, 188, 79, 0.15);
    border-color: rgba(143, 188, 79, 0.4);
}

.dark-theme .text-muted {
    color: var(--text-secondary) !important;
}

.dark-theme .text-dark {
    color: var(--text-primary) !important;
}

.dark-theme .text-primary {
    color: var(--primary-color) !important;
}

.dark-theme .border {
    border-color: var(--border-color) !important;
}

.dark-theme .shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.dark-theme .shadow {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.dark-theme .shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

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


body:not(.dark-theme) h1,
body:not(.dark-theme) h2,
body:not(.dark-theme) h3,
body:not(.dark-theme) h4,
body:not(.dark-theme) h5,
body:not(.dark-theme) h6 {
    color: #1A1A1A;
    font-weight: 700;
}

body:not(.dark-theme) p,
body:not(.dark-theme) .text-muted {
    color: var(--text-muted);
}

/* Cards in light mode */
body:not(.dark-theme) .card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

/* Form elements in light mode */
body:not(.dark-theme) .form-control,
body:not(.dark-theme) .form-select {
    background-color: #FFFFFF;
    border: 1px solid #D1D5DB;
    color: #1F2937;
}

/* Navigation in light mode */
body:not(.dark-theme) .navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body:not(.dark-theme) .nav-link {
    color: #4B5563;
}

body:not(.dark-theme) .nav-link:hover {
    color: var(--accent-color);
}

/* Buttons in light mode */
body:not(.dark-theme) .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #FFF !important;
}

body:not(.dark-theme) .btn-outline-primary {
    color: #6B8E23 !important;
    border: 2px solid #6B8E23 !important;
    margin-left: 1.5rem;
    padding: 0.5rem 1.75rem;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: rgba(107, 142, 35, 0.1) !important;
    text-shadow: 0 0 8px rgba(107, 142, 35, 0.5);
}

body:not(.dark-theme) .btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

body:not(.dark-theme) .btn-outline-primary:hover {
    background-color: rgba(107, 142, 35, 0.2) !important;
    color: #FFF !important;
    border-color: #8FBC4F !important;
    box-shadow: 0 0 25px rgba(107, 142, 35, 0.6);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

body:not(.dark-theme) .btn-outline-primary:hover::before {
    left: 100%;
}

/* Cart Icon */
body:not(.dark-theme) .navbar .nav-link .bi-cart {
    color: #6B8E23;
    font-size: 1.25rem;
    position: relative;
    top: 2px;
}

body:not(.dark-theme) .navbar .nav-link .badge {
    background-color: #6B8E23;
    color: #FFFFFF;
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
    border-radius: 50%;
    position: relative;
    top: -10px;
    right: 8px;
    font-weight: 600;
}

/* Light Theme Text Colors */
body:not(.dark-theme) {
    --text-primary: #1a202c;
    /* Darker gray for better contrast */
    --text-secondary: #4a5568;
    /* Slightly lighter gray for secondary text */
    --text-heading: #1a202c;
    /* Dark color for headings */
    --text-body: #2d3748;
    /* Slightly lighter for body text */
    --text-muted: #718096;
    /* Muted text color */
    color: var(--text-body);
}

/* Text Contrast in Light Mode */
body:not(.dark-theme) h1,
body:not(.dark-theme) h2,
body:not(.dark-theme) h3,
body:not(.dark-theme) h4,
body:not(.dark-theme) h5,
body:not(.dark-theme) h6 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.3;
}

body:not(.dark-theme) .page-header h1 {
    color: #000 !important;
}

body:not(.dark-theme) .filters-sidebar .card-body h5 {
    color: #000 !important;
}

body:not(.dark-theme) .course-description h3,
body:not(.dark-theme) .card-body h3 {
    color: #000 !important;
}

body:not(.dark-theme) p,
body:not(.dark-theme) li,
body:not(.dark-theme) .text-body {
    color: var(--text-body);
    line-height: 1.7;
}

body:not(.dark-theme) .text-muted {
    color: var(--text-muted) !important;
}

/* Ensure contrast in cards and sections */
body:not(.dark-theme) .card,
body:not(.dark-theme) .bg-light,
body:not(.dark-theme) .bg-white {
    color: var(--text-body);
}

/* Fix for featured courses section in light mode */
body:not(.dark-theme) .featured-courses h2,
body:not(.dark-theme) .section-title {
    color: var(--text-heading);
    background: linear-gradient(90deg, #556B2F, #8FBC4F);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body:not(.dark-theme) .featured-courses p.lead,
body:not(.dark-theme) .section-subtitle {
    color: var(--text-body);
    opacity: 0.9;
}

body:not(.dark-theme) .no-courses-message {
    color: var(--text-body);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Text on light backgrounds */
body:not(.dark-theme) .card,
body:not(.dark-theme) .bg-light,
body:not(.dark-theme) .bg-white,
body:not(.dark-theme) .dropdown-menu,
body:not(.dark-theme) .offcanvas,
body:not(.dark-theme) .modal-content {
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
}

/* Ensure all text elements are visible in light theme */
body:not(.dark-theme) h1,
body:not(.dark-theme) h2,
body:not(.dark-theme) h3,
body:not(.dark-theme) h4,
body:not(.dark-theme) h5,
body:not(.dark-theme) h6 {
    color: var(--text-primary);
}

body:not(.dark-theme) p,
body:not(.dark-theme) li,
body:not(.dark-theme) td,
body:not(.dark-theme) th,
body:not(.dark-theme) label,
body:not(.dark-theme) small,
body:not(.dark-theme) .text-muted {
    color: var(--text-secondary) !important;
}

/* Dark Theme Text Colors */
.dark-theme {
    --text-primary: #A8D66F;
    /* Olive green text for better visibility */
    --text-secondary: #8FBC4F;
    /* Slightly darker olive for secondary text */
}

/* Ensure golden text is visible on dark backgrounds */
.dark-theme {
    color: var(--text-primary);
}

.dark-theme .card,
.dark-theme .bg-dark,
.dark-theme .dropdown-menu,
.dark-theme .offcanvas,
.dark-theme .modal-content,
.dark-theme p,
.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6,
.dark-theme li,
.dark-theme td,
.dark-theme th,
.dark-theme label,
.dark-theme small {

    color: var(--text-primary) !important;
}

/* Price text color */
.price .h5 {
    color: #000000 !important;
    background: none !important;
    text-shadow: none !important;
}

/* Dark theme price text */
.dark-theme .price .h5,
.dark-theme .price .h5 span {
    color: #000000 !important;
    background: none !important;
    -webkit-text-fill-color: #000000 !important;
    text-shadow: none !important;
}

/* Ensure price is black in dark mode course cards and details */
.dark-theme .course-card .price .h5,
.dark-theme .course-card .price .h5 span,
.dark-theme .course-sidebar .card-body h2,
.dark-theme .course-sidebar .card-body h2 span {
    color: #000000 !important;
    background: none !important;
    -webkit-text-fill-color: #000000 !important;
    text-shadow: none !important;
}

/* Specific override for course details price and share section */
.dark-theme .course-details .price h2,
.dark-theme .course-sidebar h2.fw-bold,
.dark-theme .course-sidebar h6.fw-bold {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Slightly lighter gold for better readability on hover/focus */
.dark-theme a:not(.btn):hover,
.dark-theme a:not(.btn):focus {
    color: #fff3b0 !important;
    text-decoration: underline;
}

/* Links and interactive elements */
a:not(.btn) {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:not(.btn):hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.dark-theme a:not(.btn) {
    color: var(--gold-accent-light);
}

/* Form elements */
.form-control,
.form-select {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

/* Tables */
.table {
    color: var(--text-primary);
}

.table th {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.table td {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* Text styles with theme-appropriate colors */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

/* Modern Dark Theme Typography */
.dark-theme {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Text with olive glow */
.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    color: #FFFFFF !important;
    text-shadow: 0 0 12px rgba(143, 188, 79, 0.6);
    position: relative;
}

/* Add subtle olive glow to all text */
.dark-theme p,
.dark-theme li,
.dark-theme td,
.dark-theme th,
.dark-theme label,
.dark-theme small,
.dark-theme .text-muted,
.dark-theme .text-body {
    color: #FFFFFF !important;
    text-shadow: 0 0 4px rgba(143, 188, 79, 0.3);
    line-height: 1.7;
}

/* Stronger glow for headings */
.dark-theme h1 {
    text-shadow: 0 0 12px rgba(143, 188, 79, 0.6);
}

.dark-theme h2 {
    text-shadow: 0 0 10px rgba(143, 188, 79, 0.5);
}

.dark-theme h3 {
    text-shadow: 0 0 8px rgba(143, 188, 79, 0.4);
}

/* Special glow for hero text */
.dark-theme .hero-section h1,
.dark-theme .hero-section h2,
.dark-theme .hero-section p {
    text-shadow: 0 0 15px rgba(143, 188, 79, 0.7);
}

/* Navigation text */
.dark-theme .navbar {
    background: rgba(10, 11, 14, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(143, 188, 79, 0.2) !important;
}

.dark-theme .navbar-nav .nav-link {
    color: #FFFFFF !important;
    text-shadow: 0 0 8px rgba(143, 188, 79, 0.8);
    font-weight: 500;
    position: relative;
}

.dark-theme .navbar-nav .nav-link:hover,
.dark-theme .navbar-nav .nav-link:focus,
.dark-theme .navbar-nav .nav-link.active {
    color: #8FBC4F !important;
    text-shadow: 0 0 15px rgba(143, 188, 79, 0.8) !important;
    background: rgba(143, 188, 79, 0.1);
}

.dark-theme .navbar-toggler {
    border-color: rgba(143, 188, 79, 0.5) !important;
}

.dark-theme .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Glassmorphism Cards */
.dark-theme .card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-theme .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* Buttons */
.dark-theme .btn-primary {
    background: var(--accent-gradient);
    border: none;
    color: #0A0B0E;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dark-theme .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(143, 188, 79, 0.3);
}

/* Navigation */
.dark-theme .navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

/* Form Elements */
.dark-theme .form-control,
.dark-theme .form-select {
    background: rgba(20, 22, 29, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.dark-theme .form-control:focus,
.dark-theme .form-select:focus {
    background: rgba(20, 22, 29, 0.8);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(143, 188, 79, 0.2);
}

/* Links */
.dark-theme a:not(.btn) {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dark-theme a:not(.btn):hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Hero Section */
.dark-theme .hero-section {
    background: linear-gradient(135deg, #0A0B0E 0%, #1E2028 100%);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    text-align: center;
}

/* Featured Courses & Testimonials Sections */
.dark-theme .featured-courses,
.dark-theme .testimonials {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0A0B0E 0%, #0F1117 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.dark-theme .featured-courses::before,
.dark-theme .testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.dark-theme .featured-courses .container,
.dark-theme .testimonials .container {
    position: relative;
    z-index: 1;
}

.dark-theme .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

/* Add golden glow to all text in hero */
.dark-theme .hero-section *:not(.btn) {
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    color: #FFFFFF !important;
}

/* Special styling for hero headings */
.dark-theme .hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.dark-theme .hero-section p.lead {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Style form controls */
.dark-theme .form-control {
    background-color: rgba(20, 19, 14, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.dark-theme .form-control:focus {
    background-color: rgba(28, 26, 19, 0.8);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(230, 194, 0, 0.1);
    color: var(--text-primary);
}

/* Style cards */
.dark-theme .card {
    background-color: rgba(20, 19, 14, 0.7);
    border: 1px solid rgba(230, 194, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.dark-theme .card .card-title,
.dark-theme .card .card-text {
    color: var(--text-primary) !important;
}

.dark-theme .form-control,
.dark-theme .form-select,
.dark-theme .form-control:focus,
.dark-theme .form-select:focus {
    background-color: rgba(20, 19, 14, 0.8);
    border-color: rgba(230, 194, 0, 0.3);
    color: var(--text-primary);
}

.dark-theme .table {
    color: var(--text-primary);
}

.dark-theme .table th,
.dark-theme .table td {
    border-color: rgba(230, 194, 0, 0.1);
}

.dark-theme .bg-light,
.dark-theme .bg-white {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary);
}

.dark-theme .dropdown-menu {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(230, 194, 0, 0.1);
}

.dark-theme .dropdown-item {
    color: var(--text-primary);
}

.dark-theme .dropdown-item:hover {
    background-color: rgba(230, 194, 0, 0.1);
    color: var(--gold-accent);
}

.dark-theme .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 194, 0, 0.1);
    border-color: rgba(230, 194, 0, 0.3);
}

/* Typography */
body {
    color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

p,
li,
td,
th,
label,
small,
.text-muted {
    color: var(--text-secondary);
}

/* Ensure form placeholders are visible */
.dark-theme ::placeholder {
    color: #999 !important;
    opacity: 1;
}

/* Login page when accessed from cart */
body[class*="login"]:not(.dark-theme) .auth-section,
body[class*="login"]:not(.dark-theme) .auth-section * {
    color: #000000 !important;
}

/* Specific styles for login form when accessed from cart */
body[class*="login"]:not(.dark-theme) .auth-section .card,
body[class*="login"]:not(.dark-theme) .auth-section .form-control,
body[class*="login"]:not(.dark-theme) .auth-section .form-label,
body[class*="login"]:not(.dark-theme) .auth-section .text-muted {
    color: #000000 !important;
}

/* Ensure links are visible */
body[class*="login"]:not(.dark-theme) .auth-section a {
    color: #0000EE !important;
    text-decoration: underline !important;
}

/* Welcome Back title */
body[class*="login"]:not(.dark-theme) .auth-section h2.fw-bold,
.dark-theme .auth-section h2.fw-bold {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    text-shadow: none !important;
}

.dark-theme :-ms-input-placeholder {
    color: #999 !important;
}

.dark-theme ::-ms-input-placeholder {
    color: #999 !important;
}

a {
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--gold-accent);
    border-color: var(--gold-accent);
    color: #000000;
}

.dark-theme .btn-primary:hover {
    background-color: var(--gold-accent-dark);
    border-color: var(--gold-accent-dark);
    color: #000000;
    box-shadow: 0 0 10px rgba(230, 194, 0, 0.3);
}

/* Cards */
.card {
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: var(--card-bg) !important;
    color: var(--text-primary) !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(rgba(107, 142, 35, 0.7), rgba(85, 107, 47, 0.7)), url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    position: relative;
}

.hero-section h1 {
    color: white;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

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

.min-vh-75 {
    min-height: 75vh;
}

/* Features Section */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h5,
.feature-card p {
    color: #000 !important;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    background: #FFC107 !important;
    /* Slightly darker yellow on hover */
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
}

/* Course Cards */
.course-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-thumbnail {
    height: 200px;
    overflow: hidden;
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-thumbnail img {
    transform: scale(1.1);
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card h4,
.category-card p {
    color: #000 !important;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-card:hover i {
    transform: scale(1.1);
}

.categories-section .section-header h2,
.common-conditions-section h2,
.medical-disclaimer-section .alert h6,
.medical-disclaimer-section .alert p,
.how-it-works-section p,
.how-it-works-section h5 {
    color: #000 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

/* Testimonial Cards */
.testimonial-card {
    border-radius: 12px;
}

/* Testimonial Names in Dark Mode */
.dark-theme .testimonial-card .user-name {
    color: #333333 !important;
    /* Dark gray color */
    background-color: rgba(255, 255, 255, 0.95);
    /* White background with slight transparency */
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-weight: 600;
    margin: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-theme .testimonial-card:hover .user-name {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Ensure text is dark gray in both light and dark themes */
.testimonial-card .user-name {
    color: #333333 !important;
}

.testimonial-card .rating i {
    font-size: 14px;
}

/* Navigation */
.navbar {
    padding: 0.5rem 2rem;
    background-color: var(--nav-bg) !important;
    min-height: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

.navbar-collapse {
    flex-grow: 1;
    display: flex !important;
    justify-content: flex-end;
}

/* Navigation items container */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0;
    width: auto;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.navbar-nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Make sure the navbar doesn't wrap incorrectly */
.navbar {
    padding: 0.5rem 1rem;
}

/* Mobile menu adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 0.5rem;
        gap: 0.4rem;
        justify-content: flex-start;
    }

    .navbar-nav .nav-link {
        margin: 0.15rem !important;
        padding: 0.35rem 0.8rem !important;
        font-size: 0.8rem !important;
        height: 34px;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: var(--text-on-primary) !important;
    background-color: transparent !important;
    font-weight: 500 !important;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.25rem !important;
    border-radius: 25px !important;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    font-size: 0.9rem;
    border: 1px solid transparent !important;
    min-width: auto;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Active/Hover States */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--text-on-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Call-to-action button in nav */
.nav-cta {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-radius: 25px !important;
    padding: 0.5rem 1.5rem !important;
    margin-left: 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #333333 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Make sure all nav items have the same style */
.navbar-nav>li>a,
.navbar-nav .nav-item .nav-link {
    color: #FFFFFF !important;
    background-color: #6B8E23 !important;
    border-radius: 20px !important;
    margin: 0 0.1rem !important;
    padding: 0.4rem 0.9rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    min-width: auto;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8FBC4F;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

/* Hover and Active States */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus {
    background-color: #556B2F !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 142, 35, 0.6);
    text-decoration: none !important;
}

/* Active/Current Page */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[href*='index.php'],
.navbar-nav .nav-link[href*='home'],
.navbar-nav .nav-link[href='/'],
.navbar-nav>li.active>a,
.navbar-nav .nav-item.active .nav-link {
    background-color: #556B2F !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 20px rgba(85, 107, 47, 0.8);
    position: relative;
    transform: translateY(-1px);
}

/* Add a permanent underline for the active/home link */
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link[href*='index.php']::after,
.navbar-nav .nav-link[href*='home']::after,
.navbar-nav .nav-link[href='/']::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60%;
    height: 2px;
    background: #8FBC4F;
    box-shadow: 0 0 15px rgba(143, 188, 79, 0.7);
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
    background: #8FBC4F;
    box-shadow: 0 0 15px rgba(143, 188, 79, 0.7);
}

.navbar {
    border-bottom: 1px solid var(--gold-accent);
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(107, 142, 35, 0.2);
    border-color: var(--gold-accent);
}

.footer {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--gold-accent);
}

a {
    color: var(--gold-accent);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-accent-light);
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: var(--bg-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile header buttons */
.mobile-top-bar .btn-link {
    color: #FFFFFF !important;
    background-color: #6B8E23 !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.mobile-top-bar .btn-link:hover {
    background-color: #556B2F !important;
    transform: scale(1.1);
}

.mobile-top-bar .fa-shopping-cart,
.mobile-top-bar .fa-moon,
.mobile-top-bar .fa-sun,
.mobile-top-bar .fa-bars {
    color: #FFFFFF !important;
    font-size: 1.25rem;
}

/* Cart badge */
#mobile-cart-count {
    font-size: 0.6rem;
    padding: 0.25em 0.5em;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-top: 1px solid var(--border-color);
    background-color: var(--nav-bg) !important;
}

.mobile-bottom-nav .nav-link {
    color: #FFFFFF;
    padding: 0.75rem 0.5rem;
    transition: all 0.3s ease;
}

.mobile-bottom-nav .nav-link:hover,
.mobile-bottom-nav .nav-link.active {
    color: #A8D66F;
}

.mobile-bottom-nav i {
    display: block;
    margin-bottom: 4px;
}

.mobile-bottom-nav small {
    font-size: 0.7rem;
}

/* Main Content Padding for Mobile */
@media (max-width: 991.98px) {
    .main-content {
        padding-top: 70px;
        padding-bottom: 80px;
    }
}

/* Offcanvas Menu */
.offcanvas {
    width: 280px !important;
    background-color: var(--nav-bg) !important;
}

.offcanvas-header .offcanvas-title {
    color: #FFFFFF !important;
}

.offcanvas-body .list-group-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    background-color: var(--nav-bg) !important;
}

.offcanvas-body .list-group-item:hover {
    background-color: var(--bg-secondary) !important;
}

/* Footer */
.footer {
    margin-top: auto;
    background-color: var(--footer-bg) !important;
    color: #000000 !important;
    padding: 3rem 0 1.5rem;
}

/* Light theme footer text */
:root {
    --footer-text-color: #000000;
    --footer-link-hover: #D4AF37;
    --footer-bg: #f8f9fa;
    --footer-border: #e9ecef;
}

/* Dark theme overrides */
.dark-theme {
    --footer-text-color: #ffffff;
    --footer-link-hover: #FFD700;
    --footer-bg: #0A0B0E;
    --footer-border: #2D3748;
}

.footer h5,
.footer h6,
.footer p,
.footer .text-white-50,
.footer .list-unstyled li {
    color: var(--footer-text-color) !important;
}

.footer a:not(.btn) {
    color: var(--footer-text-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:not(.btn):hover {
    color: var(--footer-link-hover) !important;
    padding-left: 5px;
}

/* Social media buttons */
.footer .btn-outline-light {
    color: var(--footer-text-color) !important;
    border-color: var(--footer-text-color) !important;
}

.footer .btn-outline-light:hover {
    background-color: var(--footer-link-hover) !important;
    border-color: var(--footer-link-hover) !important;
    color: #000000 !important;
}

/* Newsletter form */
.footer .form-control {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: #000000;
}

.footer .form-control:focus {
    border-color: var(--footer-link-hover);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

/* Footer border */
.footer {
    border-top: 1px solid var(--footer-border);
}

.social-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Forms */
.form-control,
.form-select {
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Badges */
.badge {
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 6px;
}

/* Theme Toggle */
.theme-toggle {
    border: none;
    background: none;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    color: var(--primary-color) !important;
    transform: scale(1.1);
}

.theme-toggle i {
    font-size: 1.2rem;
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.rounded-3 {
    border-radius: 12px !important;
}

.rounded-4 {
    border-radius: 16px !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Alert Messages */
.alert {
    border-radius: 8px;
    border: none;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.page-link {
    border-radius: 8px;
    margin: 0 4px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 1rem 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    font-size: 1.2rem;
}

/* Modal */
.modal-content {
    border-radius: 16px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

/* Tabs */
.nav-tabs {
    border-bottom: 2px solid var(--border-color);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-color);
    padding: 1rem 1.5rem;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    font-weight: 600;
}

/* Progress Bar */
.progress {
    height: 8px;
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
    background-color: var(--primary-color);
}

/* Avatar */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-lg {
    width: 80px;
    height: 80px;
}

/* Course Detail Page */
.course-detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

/* Dashboard Cards */
.dashboard-card {
    border-radius: 12px;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.dashboard-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Video Player */
.video-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-player iframe,
.video-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .course-card {
        margin-bottom: 1rem;
    }

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

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .course-card {
        margin-bottom: 1.5rem;
    }
}

/* Desktop View */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .mobile-nav,
    .footer,
    .btn {
        display: none !important;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

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

/* Error State */
.error-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--danger-color);
}