/* --- Modern & Exciting Color Palette --- */
:root {
    --primary-dark: #2c3e50;
    --secondary-blue: #3498db;
    --accent-green: #2ecc71;
    --accent-yellow: #f1c40f;
    --accent-gold: #ffd700;
    /* New Gold Color */
    --background-light: #ecf0f1;
    --surface-white: #ffffff;
    --text-light: #bdc3c7;
}

/* --- Modern Typography --- */
body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--background-light);
    color: var(--primary-dark);
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
}

/* --- Modern Button Styles --- */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

.btn-primary {
    background-color: var(--accent-green);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--accent-green);
    box-shadow: 0 7px 20px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary-blue);
    color: var(--secondary-blue);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--secondary-blue);
    color: white;
}

/* --- Navbar Styling --- */
/* Always show subtle border & shadow when at top */
.navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease,
        border-bottom 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* subtle light border */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* light shadow */
}

/* When scrolled, stronger background and shadow */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    border-bottom: none; /* remove border when scrolled */
}

.navbar-brand {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-dark) !important;
}

.nav-link {
    color: var(--primary-dark) !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-green) !important;
}

.nav-link.active {
    color: var(--accent-green) !important;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(45deg, #2c3e50, #46637f);
    color: white;
    padding: 120px 0;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-section .lead {
    color: var(--text-light);
    max-width: 550px;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    border-radius: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

/* --- Section Styling --- */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 4rem;
}

/* --- Philosophy Section --- */
.philosophy-section {
    background-color: var(--surface-white);
}

.philosophy-image {
    border-radius: 0;
    object-fit: cover;
    height: 100%;
}

.icon-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.icon-list-item i {
    color: var(--accent-green);
    margin-right: 1rem;
    margin-top: 5px;
}

#path {
    position: relative;
    background: url("regen/images/regen-bg-2.png") no-repeat center center /
        cover;
    color: var(--primary-dark);
    z-index: 0;
    overflow: hidden;
    height: 700px;
}

#path::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(236, 240, 241, 0.9);
    /* Light semi-transparent overlay matching background-light */
    z-index: -1;
}

#path .container {
    position: relative;
    z-index: 1;
}

/* --- "The Path" Section --- */
.path-item {
    text-align: center;
    position: relative;
}

.path-icon {
    width: 80px;
    height: 80px;
    background-color: var(--surface-white);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    color: var(--accent-green);
}

.path-item h3 {
    font-size: 1.3rem;
}

.path-connector {
    display: none;
    /* Hide on mobile */
}

/* --- Course Spotlight Section --- */
.course-spotlight {
    background-color: var(--surface-white);
}

.course-card {
    background-color: var(--surface-white);
    border: 1px solid #e0e0e0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

/* --- Video Playlist Section --- */
.video-card {
    background-color: var(--surface-white);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 0;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.video-card .card-img-container {
    position: relative;
}

.playlist-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    border-radius: 0;
}

.playlist-badge.free {
    background-color: var(--accent-green);
}

.playlist-badge.premium {
    background-color: var(--secondary-blue);
}

.star-rating svg {
    color: var(--accent-gold);
}

#carouselPhilosophy {
    width: 100%;
    height: auto; /* Let the height adjust based on the image */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* Allow full image display if it overflows */
}

.carousel-inner {
    width: 100%;
}
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 0;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background-color: var(--primary-dark);
}

/* --- eBook Section --- */
.ebook-card {
    background-color: var(--surface-white);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.ebook-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.ebook-card .card-body {
    flex-grow: 1;
}

/* --- Blog Section --- */
.blog-card {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.blog-card .card-body {
    background-color: var(--surface-white);
}

.blog-card .card-footer {
    background-color: var(--surface-white);
    border-top: 1px solid var(--background-light);
}

/* --- Blog List Section Styles --- */
.blog-section {
    background-color: var(--surface-white);
    padding: 80px 0;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background-color: var(--surface-white);
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.blog-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.blog-body {
    flex-grow: 1;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    text-decoration: none;
}

.blog-categories {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 0.75rem;
}

.blog-category {
    margin-right: 0.5rem;
    text-transform: uppercase;
}

.blog-excerpt {
    flex-grow: 1;
    font-size: 0.95rem;
    color: #7f8c8d;
}

/* --- Testimonials Section --- */
.testimonial-card {
    background-color: var(--primary-dark);
    color: var(--background-light);
    padding: 40px;
    border-radius: 0;
}

.testimonial-quote {
    font-family: "Poppins", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.6;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 0;
    object-fit: cover;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(
        45deg,
        var(--secondary-blue),
        var(--accent-green)
    );
    color: white;
    border-radius: 0;
}

/* --- Modal Styling --- */
.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

/* --- Scroll Animation Styling --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer --- */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding-top: 60px;
    padding-bottom: 20px;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-green);
}

.footer-title {
    font-family: "Poppins", sans-serif;
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
}

/* --- Desktop-specific styles --- */
@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 4.5rem;
    }

    .path-item {
        margin-top: 2rem;
    }

    .path-item:nth-child(2) {
        margin-top: 0;
    }

    .path-item:nth-child(3) {
        margin-top: 4rem;
    }

    .path-connector {
        display: block;
        position: absolute;
        top: 40px;
        width: 100%;
        height: 2px;
        border-top: 2px dashed var(--secondary-blue);
        opacity: 0.5;
    }

    .path-item:first-child .path-connector {
        left: 50%;
    }

    .path-item:last-child .path-connector {
        right: 50%;
    }
}
.error-container {
    width: 100%;
    height: 100vh;
    padding: 2rem;
    background: var(--surface-white, white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

/* --- New Registration Form Styles (Regen-Apple) --- */
/* --- Registration Form Wrapper --- */
.registration-section {
    background-color: var(--surface-white);
    padding: 120px 0;
}

/* Center the form card */
.registration-container {
    max-width: 480px;
    margin: 0 auto;
}

/* Card styling combining Bootstrap and custom shadows */
.registration-card {
    background-color: var(--surface-white);
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
}

/* Title styling, using Poppins font to match your theme */
.registration-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 2rem;
}

/* Override Bootstrap invalid styles with brand colors */
.form-control.is-invalid {
    border-color: var(--accent-green);
    box-shadow: 0 0 5px var(--accent-green);
}

/* Customizing invalid feedback color & font */
.invalid-feedback {
    color: var(--accent-green);
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}

/* Primary button with your accent-green color and hover effect */
.btn-register {
    background-color: var(--accent-green);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 0;
    width: 100%;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-register:hover,
.btn-register:focus {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(46, 204, 113, 0.4);
    color: white;
    outline: none;
    background-color: var(--accent-green);
}

/* API error styled as Bootstrap alert in your custom green */
.api-error-alert {
    color: white;
    background-color: var(--accent-green);
    border: none;
    font-weight: 600;
}

/* Footer link with consistent text styling */
.registration-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.registration-footer a {
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
}

.registration-footer a:hover {
    text-decoration: underline;
}

/* --- Login Form Wrapper --- */
.login-section {
    background-color: var(--surface-white);
    padding: 120px 0;
}

/* Center the form card */
.login-container {
    max-width: 480px;
    margin: 0 auto;
}

/* Card styling combining Bootstrap and custom shadows */
.login-card {
    background-color: var(--surface-white);
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
}

/* Title styling matching your theme */
.login-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 2rem;
}

/* Override Bootstrap invalid styles with brand colors */
.form-control.is-invalid {
    border-color: var(--accent-green);
    box-shadow: 0 0 5px var(--accent-green);
}

/* Customizing invalid feedback color & font */
.invalid-feedback {
    color: var(--accent-green);
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}

/* Primary button with your accent-green color and hover effect */
.btn-login {
    background-color: var(--accent-green);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 0;
    width: 100%;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-login:hover,
.btn-login:focus {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(46, 204, 113, 0.4);
    color: white;
    outline: none;
    background-color: var(--accent-green);
}

/* API error styled as Bootstrap alert in your custom green */
.api-error-alert {
    color: white;
    background-color: var(--accent-green);
    border: none;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Footer link with consistent text styling */
.login-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.login-footer a {
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}
/* --- Courses List Page Styles --- */
.courses-section {
    background-color: var(--surface-white);
    padding: 80px 0;
}

.courses-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.course-card {
    background-color: var(--surface-white);
    border: 1px solid #e0e0e0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.course-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.course-body {
    flex-grow: 1;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.course-description {
    flex-grow: 1;
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 10px 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.rating-stars {
    color: var(--accent-gold);
}

.price {
    color: var(--accent-green);
    font-weight: 700;
}
/* --- Redesigned Single Blog Section --- */
.single-blog-page {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 60px auto 100px;
    gap: 40px;
    font-family: "Montserrat", sans-serif;
    color: var(--primary-dark);
    padding: 120px 15px;
}

/* Main content area */
.single-blog-main {
    flex: 1 1 65%;
    min-width: 320px;
}

.single-blog-thumbnail {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.single-blog-title {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.1;
    color: var(--primary-dark);
}

.single-blog-meta {
    font-size: 0.95rem;
    color: #7f8c8d;
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.single-blog-categories span {
    background: var(--accent-green);
    color: white;
    padding: 5px 12px;
    margin-right: 12px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    user-select: none;
    transition: background-color 0.3s ease;
}

.single-blog-categories span:hover {
    background: var(--accent-green);
}

.single-blog-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--primary-dark);
    font-family: "Montserrat", sans-serif;
    margin-bottom: 40px;
    white-space: pre-line;
}

.single-blog-author {
    border-top: 1px solid #e1e8ed;
    padding-top: 20px;
    font-size: 0.95rem;
    color: #6b7280;
    font-style: italic;
}

/* Sidebar area */
.single-blog-sidebar {
    flex: 1 1 30%;
    min-width: 280px;
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 25px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 6px;
}

/* Example sidebar item */
.sidebar-item {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 15px;
}

.sidebar-item a {
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
}

.sidebar-item a:hover {
    text-decoration: underline;
}
/* --- Single Course Page Styles --- */
.single-course-page {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 60px auto 100px;
    gap: 40px;
    font-family: "Montserrat", sans-serif;
    color: var(--primary-dark);
    padding: 120px 15px;
}

.course-player-container {
    max-width: 1100px;
    margin: 0 auto;
}

.video-player-wrapper {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.vimeo-player {
    width: 100%;
    height: 450px;
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}
.course-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.course-card-link:hover {
    text-decoration: none;
}

.course-description {
    font-size: 1.1rem;
    color: #5a6a70;
    margin-bottom: 30px;
}

.playlist-wrapper {
    background-color: var(--surface-white);
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    max-height: 520px;
    overflow-y: auto;
}

.playlist-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 8px;
}

.playlist-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.playlist-item {
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.playlist-item:hover,
.playlist-item.active {
    background-color: var(--accent-green);
    color: #fff;
}

.video-title {
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 991px) {
    .video-player-wrapper,
    .playlist-wrapper {
        margin-bottom: 30px;
    }
}
/* FAQ Accordion Styling */
.accordion-button {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--primary-dark);
    background-color: var(--surface-white);
    border: 1px solid var(--background-light);
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-green);
    color: white;
    box-shadow: 0 7px 20px rgba(46, 204, 113, 0.4);
}

.accordion-button:hover {
    background-color: var(--accent-green);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.5);
    outline: none;
}

.accordion-body {
    font-family: "Montserrat", sans-serif;
    color: var(--primary-dark);
    font-size: 1rem;
    line-height: 1.6;
    padding: 1.25rem 2rem;
    background-color: var(--background-light);
    border-left: 3px solid var(--accent-green);
    border-radius: 0 0 0.25rem 0.25rem;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.03);
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    overflow: hidden;
    background-color: var(--surface-white);
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.2);
}

/* Section Title and Subtitle for FAQ page */
.section-title {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 2.8rem;
}

.section-subtitle {
    font-weight: 500;
    color: #7f8c8d;
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
}

/* Container tweaks */
main.container {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .accordion-button {
        font-size: 1rem;
        padding: 1rem 1rem;
    }

    .accordion-body {
        padding: 1rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}
/* Privacy Policy Page Specific Styles */

.privacy-container {
    max-width: 900px;
    margin: 50px auto 40px auto;
    font-family: "Montserrat", sans-serif;
    color: var(--primary-dark);
    padding: 3rem 1.5rem;
}

.privacy-container h1,
.privacy-container h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.privacy-container p,
.privacy-container ul {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.privacy-container ul {
    padding-left: 1.5rem;
}

.privacy-container a {
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-container a:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .privacy-container {
        padding: 2rem 1rem;
    }
}
/* Additional page-specific styling */
.philosophy-section {
    padding: 80px 0;
    background-color: var(--surface-white);
}
.section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.carousel-item img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.testimonial-card {
    background-color: var(--primary-dark);
    color: var(--background-light);
    padding: 30px 20px;
    border-radius: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}
.testimonial-quote {
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 15px;
}
.testimonial-author {
    font-style: italic;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    color: var(--accent-green);
}

/** Community Section **/
.community-section {
    padding: 80px 0;
    max-width: 1100px;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
    color: var(--primary-dark);
}
.section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.gallery img:hover {
    transform: scale(1.05);
}
.testimonial-card {
    background-color: var(--primary-dark);
    color: var(--background-light);
    padding: 30px 25px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-top: 40px;
    font-family: "Poppins", sans-serif;
}
.testimonial-quote {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 15px;
}
.testimonial-author {
    font-weight: 700;
    font-style: italic;
    color: var(--accent-green);
}
.stats {
    display: flex;
    justify-content: space-around;
    margin: 3rem 0;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
}
.stat-item {
    text-align: center;
    flex: 1;
    padding: 0 15px;
    border-right: 1px solid #ddd;
}
.stat-item:last-child {
    border-right: none;
}
.stat-value {
    font-size: 2rem;
    color: var(--accent-green);
    display: block;
    margin-bottom: 0.5rem;
}
.community-info {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    text-align: center;
    color: #505050;
}
@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    .stat-item {
        border-right: none;
        padding: 0;
    }
}

/**Contact Us **/
.contact-section {
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
    color: var(--primary-dark);
}
.section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 2rem;
}
.contact-info {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.social-links a {
    font-size: 1.5rem;
    margin-right: 20px;
    color: var(--accent-green);
    transition: color 0.3s ease;
    text-decoration: none;
}
.social-links a:hover {
    color: var(--secondary-blue);
}
iframe {
    border: none;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.video-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    height: 100%;
}

.video-card-link .card {
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Lightened shadow */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Keep card body flexible and fill available space */
.video-card-link .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* On hover, subtly lighten and lift */
.video-card-link:hover,
.video-card-link:focus {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); /* Lightened hover shadow */
    text-decoration: none;
    outline: none;
}

/* Optional: limit title height for uniformity */
.video-card-link .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
