/* ============================================
   Bootstrap 5 theme overrides (memorial brand)
   ============================================ */
:root {
    --bs-primary: #2c5530!important;
    --bs-primary-rgb: 44, 85, 48!important;
    --primary: #2c5530!important;
    --secondary: #6b8e23!important;
    --accent: #d4af37!important;
    --light: #f8f9fa;
    --dark: #2c3e50!important;
    --gray: #6c757d!important;
    --transition: all 0.3s ease;
}

/* Base */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Brand buttons (Bootstrap extends) */
.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: #1e3a21;
    --bs-btn-hover-border-color: #1e3a21;
}

.btn-outline-primary {
    --bs-btn-color: var(--primary) !important;
    --bs-btn-border-color: var(--primary) !important;
    --bs-btn-hover-bg: var(--primary) !important;
    --bs-btn-hover-color: #fff !important;
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #1a1a1a;
}

.btn-accent:hover {
    background-color: #c19b2a;
    border-color: #c19b2a;
    color: #1a1a1a;
}

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

.bg-primary {
    background-color: var(--primary) !important;
}

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

.btn-secondary {
    background-color: white !important;
    color: var(--primary);
    border: 1px solid var(--primary) !important;
}   

.btn-secondary:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

/* Logo circle (used in navbar) */
.logo-circle {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Navbar toggle icon when collapsed */
.navbar-toggler .fas {
    color: var(--primary);
}

/* Nav search icon with background */
.nav-search-icon {
    width: 36px;
    height: 36px;
    background-color: #f0f0f0;
    border-radius: 50%;
    transition: var(--transition);
}
.nav-search-icon:hover {
    background-color: #e5e5e5;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 85, 48, 0.85), rgba(44, 85, 48, 0.9)), url('https://images.unsplash.com/photo-1518837695005-2083093ee35b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 140px 0 100px;
    margin-top: 6px;
    text-align: center;
}

.hero h1 {
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero .btn-outline-primary {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255,255,255,0.8);
    --bs-btn-hover-bg: rgba(255,255,255,0.2);
    --bs-btn-hover-border-color: #fff;
}

/* Badge for "Most Popular" pricing card */
.bg-accent {
    background-color: var(--accent) !important;
}

/* Features Section */
.features {
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 2px;
    background-color: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(44, 85, 48, 0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center;    
    margin: 0 auto 25px;
    color: var(--primary)!important;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: var(--gray);
}

/* How It Works */
.how-it-works {
    background-color: #f8f9fa;
}

.steps {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary)!important;
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary)!important  ;
    color: white;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: bold;
    border: 5px solid #f8f9fa;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

/* Pricing Section */
.pricing {
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-name {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.pricing-period {
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: var(--gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary);
    margin-right: 10px;
}

/* Testimonials */
.testimonials {
    background-color: #f8f9fa;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-text:before, .testimonial-text:after {
    content: '"';
    font-size: 3rem;
    color: rgba(44, 85, 48, 0.2);
    position: absolute;
}

.testimonial-text:before {
    top: -20px;
    left: -10px;
}

.testimonial-text:after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
    text-align: left;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
    text-align: left;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a21 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

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

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
    bottom: 0;
    left: 0;
}

.footer-column p {
    color: #adb5bd;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}


.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #adb5bd;
    font-size: 0.9rem;
}

.nav-link {color: var(--primary)!important ;}
.nav-tabs .nav-link.active {color: var(--accent)!important;}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .steps:before {
        display: none;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
}

/* FAQ Page */
#faqAccordion .accordion-button {
    font-weight: 600;
    color: var(--primary);
    background-color: #fff;
}

#faqAccordion .accordion-button:not(.collapsed) {
    background-color: rgba(44, 85, 48, 0.06);
    color: var(--primary);
    box-shadow: none;
}

#faqAccordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(44, 85, 48, 0.15);
    border-color: transparent;
}

#faqAccordion .accordion-body ul {
    padding-left: 1.25rem;
}

#faqAccordion .accordion-body ul li {
    margin-bottom: 0.35rem;
}

#faqAccordion .accordion-body a {
    color: var(--primary);
    text-decoration: underline;
}

#faqAccordion .accordion-body a:hover {
    color: #1e3a21;
}

.accordion-button:not(.collapsed) {
    color: var(--light) !important;
    background-color: var(--primary) !important;
}