/* css/style.css - DARK THEME VERSION */

/* Base Styles - Dark Theme */
:root {
    --primary: #00CCFF;
    --primary-dark: #00a8d6;
    --primary-light: rgba(0, 204, 255, 0.1);
    --dark: #0a0a0a;
    --darker: #050505;
    --dark-light: #1a1a1a;
    --light: #f0f0f0;
    --light-dark: #b0b0b0;
    --gray: #8a8a8a;
    --gray-dark: #555555;
    --glass-bg: rgba(25, 25, 25, 0.7);
    --glass-bg-light: rgba(35, 35, 35, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--light);
    background-color: var(--darker);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--light);
}

p {
    color: var(--light-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

/* Section Common Styles */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Buttons - Dark Theme */
.btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 204, 255, 0.4);
    color: var(--dark);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid var(--light);
    color: var(--light);
}

.btn-outline-light:hover {
    background-color: var(--light);
    border-color: var(--light);
    color: var(--dark);
}

/* Section Titles - Dark Theme */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Glassmorphism Effect - Dark Theme */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--light-dark);
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: var(--glass-bg-light);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Navigation - Dark Theme */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    background: rgba(5, 5, 5, 0.98);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    display: flex;
    align-items: center;
}

a.navbar-brand img{
    width: 200px;
    height:auto;
    
}

.navbar-brand .brand-text {
    background: linear-gradient(90deg, var(--primary), #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--light) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(0, 204, 255, 0.25);
}

.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.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Offcanvas Mobile Nav - Dark Theme */
.offcanvas {
    background-color: var(--darker);
    color: var(--light);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
}

.offcanvas-title {
    color: var(--light);
    font-weight: 600;
}

.offcanvas-body {
    background: var(--dark);
    padding: 2rem 1.5rem;
}

.offcanvas-header .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    filter: brightness(0.8);
    opacity: 0.8;
}

/* Hero Section - Dark Theme */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(5, 5, 5, 0.85), rgba(10, 10, 10, 0.9)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 204, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--light-dark);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    max-width: 600px;
}

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
}

/* About Section - Dark Theme */
.about-section {
    background-color: var(--dark);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 204, 255, 0.05) 0%, transparent 50%);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.parallax-img {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.parallax-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    top:0 !important;
}

.parallax-img:hover img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 204, 255, 0.1), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

/* How It Works - Dark Theme */
.works-section {
    background-color: var(--dark-light);
    position: relative;
    overflow: hidden;
}

.works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 204, 255, 0.08) 0%, transparent 70%);
}

.step-card {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.05), rgba(0, 0, 0, 0.1));
    z-index: -1;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 204, 255, 0.3);
    z-index: 2;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 204, 255, 0.3));
}

/* Services Section - Dark Theme */
.services-section {
    background-color: var(--dark);
    position: relative;
}

.service-card {
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.service-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--light-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Fundraising Section - Dark Theme */
.fundraising-section {
    background-color: var(--darker);
    position: relative;
}

.fundraising-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 204, 255, 0.05) 0%, transparent 60%);
}

/* Accordion - Dark Theme */
.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: rgba(255, 255, 255, 0.1);
    --bs-accordion-btn-color: var(--light);
    --bs-accordion-btn-bg: rgba(255, 255, 255, 0.05);
    --bs-accordion-active-color: var(--primary);
    --bs-accordion-active-bg: rgba(0, 204, 255, 0.1);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(0, 204, 255, 0.25);
    --bs-accordion-btn-focus-border-color: var(--primary);
}

.accordion-button {
    background-color: transparent;
    font-weight: 500;
    border-radius: 10px !important;
    margin-bottom: 5px;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 204, 255, 0.1);
    color: var(--primary);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.accordion-button:focus {
    box-shadow: var(--bs-accordion-btn-focus-box-shadow);
    border-color: var(--bs-accordion-btn-focus-border-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300CCFF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    color: var(--light-dark);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 10px 10px;
    padding: 1rem 1.25rem;
}

/* Financial Programs - Dark Theme */
.financial-section {
    background-color: var(--dark);
}

.program-card {
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 204, 255, 0.3);
}

.program-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(0, 204, 255, 0.3));
}

/* Why Choose Section - Dark Theme */
.why-section {
    background-color: var(--darker);
    color: var(--light);
    position: relative;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 204, 255, 0.08) 0%, transparent 60%);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.stat-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.stat-card h3 {
    font-size: 2.2rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
    margin-bottom: 0.5rem;
}

/* Success Stories - Dark Theme */
.success-section {
    background-color: var(--dark);
}

.story-card {
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.story-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 204, 255, 0.2);
}

.story-img {
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.story-card:hover .story-img img {
    transform: scale(1.05);
}

.story-footer {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Vision & Mission - Dark Theme */
.vision-section {
    background-color: var(--darker);
    color: var(--light);
    position: relative;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 204, 255, 0.1) 0%, transparent 50%);
}

.vision-card, .mission-card {
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vision-icon, .mission-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 12px rgba(0, 204, 255, 0.3));
}

/* Call to Action - Dark Theme */
.cta-section {
    background: linear-gradient(135deg, var(--darker) 0%, #0a1529 100%);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 204, 255, 0.15) 0%, transparent 70%);
}

/* FAQ Section - Dark Theme */
.faq-section {
    background-color: var(--dark);
}

/* Newsletter - Dark Theme */
.newsletter-section {
    background-color: var(--dark-light);
    position: relative;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 204, 255, 0.1) 0%, transparent 60%);
}

.newsletter-form .form-control {
    border-radius: 50px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    height: auto;
}

.newsletter-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 204, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form .form-control::placeholder {
    color: var(--gray);
}

.newsletter-form .btn {
    border-radius: 50px;
    padding: 15px 30px;
    white-space: nowrap;
}

.newsletter-form .form-text {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Contact Section - Dark Theme */
.contact-section {
    background-color: var(--dark);
}

.contact-info .fas {
    font-size: 1.2rem;
    color: var(--primary);
    width: 24px;
    text-align: center;
}

.contact-info h6 {
    color: var(--light);
    margin-bottom: 0.25rem;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 10px;
    padding: 12px 15px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 204, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form .form-control::placeholder {
    color: var(--gray);
}

/* Footer - Dark Theme */
.footer {
    background-color: var(--darker);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-brand img{
    width: 200px;
    height: auto;
}

.footer .brand-text {
    background: linear-gradient(90deg, var(--primary), #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer h5 {
    color: var(--light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: inline-block;
}

.footer ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 204, 255, 0.3);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.05);
    margin: 3rem 0;
}

/* Form Validation - Dark Theme */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

/* Responsive Styles - Dark Theme */
@media (max-width: 768px) {
    .glass-card {
        padding: 20px !important;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* Custom Scrollbar - Dark Theme */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection Color - Dark Theme */
::selection {
    background-color: var(--primary);
    color: var(--dark);
}

/* Form Input Placeholder - Dark Theme */
input::placeholder,
textarea::placeholder {
    color: var(--gray) !important;
    opacity: 0.8;
}

/* Focus States - Dark Theme */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Utility Classes */
.text-primary {
    color: var(--primary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.bg-darker {
    background-color: var(--darker) !important;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Counter Animation */
.counter {
    display: inline-block;
}


/* Add to css/style.css */

/* Prevent offcanvas auto-close on mobile */
@media (max-width: 991.98px) {
    .offcanvas {
        transition: transform 0.3s ease-in-out !important;
    }
    
    /* Keep offcanvas open when clicking menu items */
    .offcanvas-body .nav-link,
    .offcanvas-body .dropdown-item {
        cursor: pointer;
    }
    
    /* Only close button should close the menu */
    .offcanvas-header .btn-close {
        cursor: pointer;
        z-index: 1001;
    }
    
    /* Make sure menu stays open */
    .offcanvas.show {
        visibility: visible !important;
    }
}