body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #f3eff5;
}

/* Make navbar sticky */
.navbar {
    background-color: #3da35d;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030; /* Ensure navbar stays on top of other content */
    transition: all 0.3s ease;
}

/* Optional: Add a slight background change when scrolling for better visual feedback */
.navbar.scrolled {
    background-color: rgba(61, 163, 93, 0.95); /* Slightly transparent when scrolled */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Navbar positioning styles */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand-container {
    flex: 1; /* Takes up space but allows center to be truly centered */
}

.navbar-collapse {
    display: flex;
    justify-content: center;
    flex: 2; /* Takes more space to ensure centering works */
}

.navbar-nav.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.navbar-login-container {
    flex: 1; /* Takes up equal space as brand container */
    display: flex;
    justify-content: flex-end; /* Aligns login to the right */
}

/* Modify the existing mobile media query */
@media (max-width: 991.98px) {
    .navbar .container {
        flex-wrap: wrap;
        position: relative; /* Add this to establish positioning context */
    }
    
    .navbar-brand-container {
        flex: 1; /* Allow brand to take available space */
    }
    
    .navbar-login-container {
        position: absolute; /* Position absolutely */
        top: 10px; /* Adjust as needed */
        right: 70px; /* Space for the toggler button */
        z-index: 1031; /* Higher than default Bootstrap navbar z-index */
    }
    
    .navbar-collapse {
        flex: 0 0 100%; /* Menu takes full width when expanded */
        order: 3; /* Appears at bottom when expanded */
    }
    
    /* Center nav items on mobile too */
    .navbar-nav {
        text-align: center;
    }

    /* Adjust space for navbar-toggler */
    .navbar-toggler {
        margin-right: 0;
    }
    
    /* Make login button smaller on mobile */
    .btn-login {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
    }
}

.navbar-brand {
    font-weight: 600;
    font-size: 0.8rem;
}

.nav-link {
    color: white !important;
    font-weight: 500;
}

.btn-login {
    background-color: white;
    color: #3da35d;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Hero section redesign */
.hero {
    background: url('../../images/4-845x650-1370181210.jpg') no-repeat center center;
    background-size: cover;
    padding: 12rem 0;
    position: relative;
    color: white;
    height: 650px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1  {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    /* margin-bottom: 2rem; */
}

.hero h2 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
    /* margin-bottom: 2rem; */
}
.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary {
    background-color: #3da35d;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #2e8246;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
}

/* Add animation to hero buttons */
.hero .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.features {
    padding: 5rem 0;
    background-color: white;
}

.section-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
    text-align: center;
    font-size: 2.6rem;
    animation: fadeInDown 0.8s ease-out;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.feature-box:nth-child(1) { animation-delay: 0.1s; }
.feature-box:nth-child(2) { animation-delay: 0.2s; }
.feature-box:nth-child(3) { animation-delay: 0.3s; }
.feature-box:nth-child(4) { animation-delay: 0.4s; }

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #3da35d;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-box p {
    color: #666;
    font-size: 0.95rem;
}

.how-it-works {
    padding: 5rem 0;
    background-color: #f8f8f4;
}

.step-box {
    display: flex;
    margin-bottom: 2rem;
    animation: fadeInRight 0.8s ease-out;
}

.step-box:nth-child(1) { animation-delay: 0.1s; }
.step-box:nth-child(2) { animation-delay: 0.3s; }
.step-box:nth-child(3) { animation-delay: 0.5s; }

.step-number {
    background-color: #3da35d;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.testimonials {
    padding: 5rem 0;
    background-color: white;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    position: relative;
    animation: scaleIn 0.8s ease-out;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: #f0f0f0;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    color: #888;
    font-size: 0.85rem;
}

.cta {
    padding: 5rem 0;
    background-color: #10720B;
    color: white;
    text-align: center;
}

.cta h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer {
    background-color: #333;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    background-color: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #3da35d;
    transform: translateY(-3px);
}

/* Carousel styling */
.carousel-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

#libraryCarousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.carousel-inner {
    height: 600px; /* Set a fixed height for the carousel */
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background-color: rgba(0,0,0,0.5);
    border-radius: 5px;
    padding: 15px;
    bottom: 20px;
}

.carousel-caption h5 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.carousel-control-prev, 
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-indicators {
    margin-bottom: 10px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .carousel-inner {
        height: 350px; /* Smaller height on mobile */
    }
    
    .carousel-caption {
        padding: 10px;
        bottom: 10px;
    }
    
    .carousel-caption h5 {
        font-size: 1.1rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .feature-box {
        margin-bottom: 2rem;
    }
    
    .step-box {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
}

/* Collection Stats Section */
.collection-stats {
    padding: 4rem 0;
    background-color: #f3eff5;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stats-header {
    margin-bottom: 3rem;
}

.stats-subtitle {
    font-size: 1.5rem;
    color: #666;
    max-width: 1000px;
    margin: 0 auto;
    font-style: italic;

}

.stats-row {
    margin-bottom: 2rem;
}

.stat-box {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    animation: scaleIn 0.6s ease-out;
}

.stat-box:nth-child(1) { animation-delay: 0.1s; }
.stat-box:nth-child(2) { animation-delay: 0.2s; }
.stat-box:nth-child(3) { animation-delay: 0.3s; }
.stat-box:nth-child(4) { animation-delay: 0.4s; }

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-right: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border-radius: 50%;
}

.stat-icon i {
    opacity: 0.8;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    color: #333;
}

.stat-label {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.collection-stats .btn-primary {
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    background-color: #e6b84c;
    border-color: #e6b84c;
    color: #333;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(230, 184, 76, 0.3);
}

.collection-stats .btn-primary:hover {
    background-color: #d9aa3e;
    border-color: #d9aa3e;
    transform: translateY(-2px);
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .stat-box {
        padding: 1rem;
    }
    
    .stat-icon {
        font-size: 1.8rem;
        width: 45px;
        height: 45px;
        margin-right: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stats-subtitle {
        font-size: 1rem;
    }
}

/* Section header styling */
.section-header {
    padding: 2rem 0 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-top: 1.5rem;
}

.section-header .section-title {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .section-header {
        padding: 1.5rem 0 0.5rem;
    }
    
    .section-header .section-title {
        font-size: 2rem;
    }
}

/* Vision, Mission, and Objectives Section */
.vision-mission-section {
    padding: 5rem 0;
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.section-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.vm-card {
    height: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out;
}

.vm-card:nth-child(1) { animation-delay: 0.1s; }
.vm-card:nth-child(2) { animation-delay: 0.3s; }
.vm-card:nth-child(3) { animation-delay: 0.5s; }

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.vm-header {
    background-color: #3da35d;
    color: white;
    padding: 1.5rem;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.vm-header h3 {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.vm-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.vm-content {
    padding: 2rem;
}

.vm-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: justify;
}

.objectives-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.objectives-list li {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.objectives-list li:last-child {
    margin-bottom: 0;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .vision-mission-section {
        padding: 3rem 0;
    }
    
    .vm-header {
        padding: 1.2rem;
    }
    
    .vm-content {
        padding: 1.5rem;
    }
    
    .vm-icon {
        font-size: 1.7rem;
        margin-bottom: 0.5rem;
    }
    
    .vm-header h3 {
        font-size: 1.3rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.accordion-item {
    margin-bottom: 1rem;
    border: none;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    animation: fadeInLeft 0.6s ease-out;
}

.accordion-item:nth-child(1) { animation-delay: 0.1s; }
.accordion-item:nth-child(2) { animation-delay: 0.2s; }
.accordion-item:nth-child(3) { animation-delay: 0.3s; }
.accordion-item:nth-child(4) { animation-delay: 0.4s; }
.accordion-item:nth-child(5) { animation-delay: 0.5s; }

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    color: #333;
    background-color: white;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: #3da35d;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}

.accordion-button::after {
    background-size: 1.2rem;
    transition: all 0.3s;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
}

.accordion-body p {
    color: #555;
    line-height: 1.7;
}

.accordion-body ul, 
.accordion-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #555;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .accordion-body {
        padding: 1.25rem;
    }
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #f5f5f5;
    padding-top: 4rem;
}

.footer h4 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #3da35d;
}

.footer h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #e6b84c;
}

.footer-about p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #e6b84c;
    padding-left: 5px;
}

.footer-contact ul {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    color: #bbb;
    font-size: 0.95rem;
    display: flex;
}

.footer-contact li i {
    color: #3da35d;
    margin-right: 10px;
    margin-top: 5px;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    background-color: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    text-decoration: none !important;
}

.social-links a:hover {
    background-color: #3da35d;
    transform: translateY(-3px);
}

.footer-bottom {
    /* margin-top: 3rem;
    padding-top: 1.5rem; */
    padding-bottom: 1.5rem;
    /* border-top: 1px solid rgba(255,255,255,0.1); */
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 0.9rem;
    width: 100%; /* Ensure it takes full width */
}

.copyright p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .footer {
        padding-top: 3rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation helper classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for common patterns */
.stagger-1 { animation-delay: 0.1s; animation-fill-mode: both; }
.stagger-2 { animation-delay: 0.2s; animation-fill-mode: both; }
.stagger-3 { animation-delay: 0.3s; animation-fill-mode: both; }
.stagger-4 { animation-delay: 0.4s; animation-fill-mode: both; }
.stagger-5 { animation-delay: 0.5s; animation-fill-mode: both; }