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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff; /* ADA Fix: Changed default text to white for contrast */
    background-color: #222;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    color: #fff;
}

p {
    margin-bottom: 20px;
    color: #fff;
}

a {
    text-decoration: none;
    color: #b8a6db;
}

a:hover {
    color: #6a5acd;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 20px;
    color: #fff;
}

/* Header Styles */
header {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    padding: 20px 0;
    background-color: #000000; /* Match logo background (black) */
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px; /* Add space below logo */
    background-color: #ffffff; /* Match logo background */
}

.logo {
    /* height: auto !important; */ /* Maintain aspect ratio */
    /* width: 320px !important; */ /* Set width */
    /* margin-right: 15px; Removed for stacked layout */
}

.logo-container h1 {
    font-size: 24px;
    margin-bottom: 0;
}

/* Navigation Styles */
.main-nav ul {
    display: flex;
    justify-content: center; /* Center menu items */
    flex-wrap: wrap; /* Allow wrapping on smaller screens if needed */
    list-style: none;
    margin: 0;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li:first-child {
    margin-left: 0;
}

.main-nav ul li a {
    color: #7464d7; /* ADA Fix: Increased contrast */
    font-weight: 600;
    font-size: 18px; /* Increased font size */
    transition: all 0.3s ease;
}

.main-nav ul li a:hover {
    color: #5949b8;
}

/* Main Banner */
.main-banner {
    background-image: url('../images/sunset_banner.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    position: relative; /* Needed for potential absolute positioning of text if required */
}

.banner-content {
    text-align: center;
    padding: 20px;
    /* Removed background-color: rgba(0, 0, 0, 0.5); */
    /* Removed border-radius: 8px; */
    position: relative; /* Ensure text is above background */
    z-index: 2;
}

.banner-content h1 {
    font-size: 3.5em; /* Significantly increased font size */
    margin-bottom: 15px; /* Increased margin */
    color: #fff;
    font-weight: 700; /* Bolder font */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Add text shadow for readability */
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.2em; /* Slightly increased font size */
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* Add text shadow for readability */
    font-weight: 500;
}

/* What is Meditation Section */
.what-is-meditation {
    background-color: #333;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.what-is-meditation h2 {
    color: #b8a6db;
}

/* Pathways Section */
.pathways {
    margin-bottom: 40px;
}

.pathways h2 {
    text-align: center;
    margin-bottom: 30px;
}

.pathway-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.pathway-card {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.pathway-card h3 {
    color: #b8a6db;
}

.explore-button {
    display: inline-block;
    background-color: #6a5acd;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.explore-button:hover {
    background-color: #5949b8;
}

/* Footer Styles */
footer {
    background-color: #333;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    border-radius: 8px;
}

footer p {
    margin-bottom: 10px;
}

.contact-info {
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav {
        margin-top: 20px;
        width: 100%;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .main-banner {
        height: 200px;
    }
    
    .banner-content h1 {
        font-size: 28px;
    }
    
    .pathway-cards {
        grid-template-columns: 1fr;
    }
}

/* Tools Navigation Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #6a5acd;
    color: white;
}

.tool-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Quick Tools Banner */
.quick-tools-banner {
    background-color: #333;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quick-tools-banner h3 {
    color: #b8a6db;
    margin-bottom: 10px;
    text-align: center;
}

.quick-tools-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tool-button {
    display: flex;
    align-items: center;
    background-color: #6a5acd;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tool-button:hover {
    background-color: #5949b8;
    transform: translateY(-2px);
}

.tool-button .tool-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/* Benefits Section Styles */
.benefits-section {
    background-color: #333;
    border-left: 4px solid #6a5acd;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.benefits-section h3, .benefits-section h4 {
    color: #b8a6db;
    margin-bottom: 15px;
}

.benefits-list {
    list-style-type: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #b8a6db;
    font-weight: bold;
}

.benefit-title {
    font-weight: 600;
    color: #b8a6db;
}

/* Merchandise Section Styles */
.featured-banner {
    background: linear-gradient(135deg, #6a5acd 0%, #5949b8 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.featured-slogan {
    font-size: 28px;
    margin-bottom: 15px;
}

.featured-description {
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #6a5acd;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.merchandise-section {
    margin-bottom: 60px;
}

.merchandise-section h2 {
    color: #b8a6db;
    margin-bottom: 30px;
    text-align: center;
}

.merchandise-categories {
    margin-bottom: 30px;
}

.merchandise-categories h3 {
    color: #b8a6db;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #444;
}

.product-details {
    padding: 15px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.product-description {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    font-weight: 600;
    color: #b8a6db;
    margin-bottom: 15px;
}

.product-link {
    display: inline-block;
    background-color: #6a5acd;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-link:hover {
    background-color: #5949b8;
}

/* Chakra Map Styles */
.chakra-map-container {
    margin: 50px 0;
    text-align: center;
}

.chakra-map-title {
    color: #b8a6db;
    margin-bottom: 30px;
    text-align: center;
}

.chakra-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0 auto;
    max-width: 300px;
    height: 700px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.chakra {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255,255,255,0.8);
}

.chakra:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255,255,255,0.9);
}

.chakra-1 {
    bottom: 100px;
    background: linear-gradient(to bottom, #ff0000, #cc0000);
}

.chakra-2 {
    bottom: 200px;
    background: linear-gradient(to bottom, #ff7f00, #cc6600);
}

.chakra-3 {
    bottom: 300px;
    background: linear-gradient(to bottom, #ffff00, #cccc00);
}

.chakra-4 {
    bottom: 400px;
    background: linear-gradient(to bottom, #00ff00, #00cc00);
}

.chakra-5 {
    bottom: 500px;
    background: linear-gradient(to bottom, #00ffff, #00cccc);
}

.chakra-6 {
    bottom: 600px;
    background: linear-gradient(to bottom, #0000ff, #0000cc);
}

.chakra-7 {
    bottom: 650px;
    background: linear-gradient(to bottom, #8b00ff, #6600cc);
}

.chakra-info {
    display: none;
    position: absolute;
    left: 120%;
    width: 250px;
    background-color: #333;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10;
    text-align: left;
}

.chakra-info h4 {
    color: #b8a6db;
    margin-bottom: 10px;
}

.chakra-info p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.chakra-info .chakra-keywords {
    font-style: italic;
    color: #ccc;
}

.chakra.active .chakra-info {
    display: block;
}

/* Profile Styles for About and Contact Pages */
.about-intro, .contact-intro {
    background-color: #333;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.about-profile, .contact-profile {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #6a5acd;
    margin-right: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.profile-info {
    flex: 1;
    min-width: 250px;
}

.profile-info h2 {
    color: #b8a6db;
    margin-bottom: 10px;
}

.profile-title {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 15px;
}

.profile-content {
    flex: 1;
    min-width: 250px;
}

.about-content {
    margin-top: 20px;
}

.about-content h3 {
    color: #b8a6db;
    margin-top: 30px;
    margin-bottom: 15px;
}

.credentials-section, .testimonials-section {
    background-color: #333;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.credentials-section h2, .testimonials-section h2 {
    color: #b8a6db;
    margin-bottom: 20px;
}

.credentials-list {
    list-style-type: none;
    padding: 0;
}

.credentials-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.credentials-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b8a6db;
    font-weight: bold;
}

.credential-title {
    font-weight: 600;
    color: #b8a6db;
}

.testimonial {
    background-color: #444;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    text-align: right;
    color: #ffffff; /* ADA Fix: Increased contrast */
}

/* Responsive Adjustments for Profile Sections */
@media (max-width: 768px) {
    .about-profile, .contact-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-image {
        margin-right: 0;
        margin-bottom: 20px;
        width: 150px;
        height: 150px;
    }
    
    .profile-info, .profile-content {
        width: 100%;
    }
    
    .chakra-map {
        height: 500px;
    }
    
    .chakra {
        width: 40px;
        height: 40px;
    }
    
    .chakra-1 { bottom: 70px; }
    .chakra-2 { bottom: 140px; }
    .chakra-3 { bottom: 210px; }
    .chakra-4 { bottom: 280px; }
    .chakra-5 { bottom: 350px; }
    .chakra-6 { bottom: 420px; }
    .chakra-7 { bottom: 460px; }
    
    .chakra-info {
        left: auto;
        right: -100px;
        width: 200px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}


/* Contact Form Readability Fix */
.contact-form-section .form-group label {
    color: #ccc; /* Lighter color for better readability */
    display: block; /* Ensure label takes full width */
    margin-bottom: 5px; /* Add some space below label */
}



/* Chakra Map Background */
.chakra-map-container {
    background-image: url('../images/chakra_body_silhouette.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3em 1em;
    position: relative;
    color: #ffffff; /* Default text color for the section */
}

.chakra-map-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay */
    z-index: 1;
}

/* Ensure content is above the overlay */
.chakra-map-container > * {
    position: relative;
    z-index: 2;
}

.chakra-map-container h2,
.chakra-map-container p {
    color: #ffffff; /* Ensure headings and paragraphs are white */
}

/* Adjust chakra info box background for readability */
.chakra .chakra-info {
    background-color: rgba(255, 255, 255, 0.8); /* Light semi-transparent background */
    color: #333333; /* Dark text for info box */
    padding: 10px;
    border-radius: 5px;
}

.chakra .chakra-info h4 {
    color: #5a3e8d; /* Keep heading color consistent */
}

.chakra .chakra-info p {
    color: #333333; /* Dark text for info box paragraphs */
}




/* Needs-Based Navigation Font Size */
.needs-nav ul li a {
    font-size: 16px; /* Standardized font size */
}

/* Meditation Section Headers Font Size */
.meditation-for-need h2 {
    font-size: 24px; /* Standardized font size for section headers */
}



/* Footer Social Media Icons */
footer .social-links a img,
footer .social-icons a img,
footer .footer-social a img { /* Added .footer-social */
    width: 24px; /* Standard size */
    height: 24px; /* Standard size */
    margin: 0 8px; /* Add some spacing between icons */
    vertical-align: middle; /* Align icons nicely with text */
}




/* Footer Logo Style */
.footer-logo {
    height: 125px; /* Increased height by 25% from 100px */
    margin-bottom: 10px;
    display: block; /* Center the logo if needed */
    margin-left: auto;
    margin-right: auto;
}


/* Media Page - Book Recommendations Layout */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Adjust minmax as needed */
    gap: 30px;
    margin-top: 25px;
}

.recommendation-card {
    background-color: #333; /* Match reference image background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    /* Consider adding a fixed height or min-height if needed for consistency */
}

.recommendation-card img {
    width: 150px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
    max-height: 225px; /* Limit height to prevent overly tall images */
    object-fit: contain; /* Ensure entire image is visible */
    margin-bottom: 15px;
    align-self: center; /* Center the image horizontally */
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.recommendation-card h3 {
    color: #b8a6db; /* Match reference image title color */
    margin-bottom: 10px;
    font-size: 18px; /* Adjust font size */
}

.recommendation-card p {
    font-size: 14px; /* Adjust font size */
    line-height: 1.5;
    color: #ccc; /* Match reference image text color */
}

.recommendation-card p strong {
    color: #fff; /* Make author name stand out slightly */
}

.recommendation-card a {
    color: #b8a6db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recommendation-card a:hover {
    color: #6a5acd;
    text-decoration: underline;
}

/* Ensure these styles don't conflict with existing ones */



/* Meditations Page - Needs Navigation Buttons */
.needs-nav {
    text-align: center; /* Center the buttons */
    margin: 30px 0;
}

.needs-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block; /* Allow centering */
}

.needs-nav li {
    display: inline-block; /* Display buttons side-by-side */
    margin: 5px;
}

.needs-nav a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #6a5acd; /* Button background color */
    color: #fff; /* Button text color */
    text-decoration: none;
    border-radius: 25px; /* Rounded corners */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.needs-nav a:hover, .needs-nav a:focus {
    background-color: #b8a6db; /* Lighter color on hover/focus */
    color: #333;
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Responsive adjustments for smaller screens if needed */
@media (max-width: 768px) {
    .needs-nav li {
        display: block; /* Stack buttons vertically */
        margin: 10px auto; /* Center stacked buttons */
        width: 80%; /* Adjust width as needed */
        max-width: 300px;
    }
    .needs-nav a {
        width: 100%; /* Make buttons full width */
        box-sizing: border-box; /* Include padding in width */
    }
}



/* Back to Top Button */
.back-to-top-button {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #6a5acd;
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 14px;
    transition: background-color 0.3s ease, opacity 0.5s ease;
    opacity: 0.8;
}

.back-to-top-button:hover {
    background-color: #5949b8;
    opacity: 1;
}



/* Improved Contact Form Styles */
.contact-form-section {
    background-color: #333; /* Slightly lighter background for the section */
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #b8a6db; /* Use the accent color for labels */
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555; /* Slightly lighter border */
    border-radius: 5px;
    background-color: #444; /* Darker input background */
    color: #fff; /* White text */
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #6a5acd; /* Highlight border on focus */
    outline: none;
}

.contact-form select {
    appearance: none; /* Remove default dropdown arrow */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27292.4%27%20height%3D%27292.4%27%3E%3Cpath%20fill%3D%27%23B8A6DB%27%20d%3D%27M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%27%2F%3E%3C%2Fsvg%3E"); /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 30px; /* Make space for arrow */
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 120px;
}

.contact-form label[for="newsletter"] {
    display: flex;
    align-items: center;
    color: #ccc; /* Lighter color for checkbox label */
    font-weight: normal;
}

.contact-form input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #6a5acd; /* Style checkbox color */
}

.contact-form .submit-button {
    display: inline-block;
    background-color: #6a5acd;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form .submit-button:hover {
    background-color: #5949b8;
    transform: translateY(-2px);
}



/* Decorative Line Spacer */
.decorative-spacer {
    border: none; /* Remove default border */
    height: 1px; /* Line thickness */
    background: linear-gradient(to right, transparent, #6a5acd, transparent); /* Gradient color */
    margin: 40px auto; /* Vertical and horizontal margins (auto centers) */
    width: 80%; /* Width of the line */
}



/* Styles for Essence of Meditation Section */

.essence-of-meditation {
    padding: 60px 20px;
    background-color: #2a2a3a; /* Slightly different dark background */
    text-align: center;
}

.essence-of-meditation .container {
    max-width: 1100px;
    margin: 0 auto;
}

.essence-of-meditation h2 {
    font-size: 2.5em;
    color: #b8a6db; /* Existing purple */
    margin-bottom: 10px;
}

.essence-of-meditation .subheadline {
    font-size: 1.2em;
    color: #ccc;
    margin-bottom: 30px;
}

.essence-of-meditation .intro-paragraph {
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.7;
    color: #f0f0f0;
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.teaser-card {
    background-color: #333; /* Existing card background */
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid #444;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Needed for max-height transition */
}

.teaser-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.teaser-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.teaser-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    /* Add filter: invert(1); if using dark icons on dark background */
}

.teaser-card h3 {
    color: #b8a6db;
    font-size: 1.3em;
    margin: 0;
}

.teaser-summary {
    color: #ccc;
    margin-bottom: 20px;
    min-height: 40px; /* Ensure cards have similar height before button */
}

.teaser-button {
    background-color: #7464d7; /* ADA-fixed purple */
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block; /* Make button behave like a block for margin */
    margin-bottom: 15px; /* Space before details open */
}

.teaser-button:hover {
    background-color: #6a5acd; /* Original darker purple */
}

.teaser-details {
    /* Transition, overflow, max-height set by JS */
    background-color: #3f3f4f; /* Slightly lighter detail background */
    border-radius: 5px;
    margin-top: 15px; /* Ensure space when opened */
    color: #f0f0f0;
}

.teaser-details h4 {
    color: #dcdcdc;
    margin-bottom: 10px;
}

.teaser-details ul, .teaser-details ol {
    margin-left: 20px;
    padding-left: 10px;
    text-align: left;
}

.teaser-details li {
    margin-bottom: 8px;
}

.teaser-details a {
    color: #b8a6db;
    text-decoration: underline;
}

.teaser-details a:hover {
    color: #ffffff;
}

.cta-paragraph {
    font-size: 1.1em;
    color: #ccc;
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .essence-of-meditation h2 {
        font-size: 2em;
    }
    .teaser-grid {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
    }
}



/* Essence of Meditation Tabs Section */
.essence-of-meditation-tabs {
    padding: 40px 0;
    background-color: #2a2a2a; /* Slightly lighter dark background for contrast */
}

.essence-of-meditation-tabs .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.essence-of-meditation-tabs h2 {
    color: #b8a6db; /* Existing theme color */
    margin-bottom: 15px;
}

.essence-of-meditation-tabs .subheadline {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 1.1em;
}

.essence-of-meditation-tabs .intro-paragraph {
    color: #eee;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.tabs-container {
    background-color: #333; /* Match existing dark elements */
    border-radius: 8px;
    overflow: hidden; /* Contain floats and rounded corners */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-bottom: 40px;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    background-color: #2a2a2a; /* Darker background for button container */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
}

.tab-button {
    background-color: transparent; /* Make buttons transparent */
    color: #ccc;
    border: none;
    border-bottom: 3px solid transparent; /* Indicator line */
    padding: 18px 25px; /* Increased padding */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-size: 1.1em; /* Increased font size */
    font-weight: 500;
    flex-grow: 1; /* Make buttons fill the space */
    text-align: center;
}

.tab-button:hover {
    background-color: #444; /* Subtle hover background */
    color: #fff;
}

.tab-button.active {
    background-color: #333; /* Match content background */
    color: #b8a6db; /* Highlight active tab text */
    border-bottom: 3px solid #b8a6db; /* Purple indicator */
    font-weight: 600;
}

.tab-content {
    padding: 30px;
    display: none; /* Hide inactive tabs */
    text-align: left;
    color: #eee;
    line-height: 1.7;
    animation: fadeIn 0.5s ease-in-out;
    clear: both; /* Ensure content clears floated image */
}

.tab-content h3 {
    color: #b8a6db;
    margin-top: 0; /* Remove default margin */
    margin-bottom: 20px;
}

.tab-content ul, .tab-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.tab-content li {
    margin-bottom: 10px;
}

.tab-image {
    max-width: 180px; /* Reduced max-width */
    height: auto;
    float: right;
    margin-left: 30px;
    margin-bottom: 15px; /* Reduced bottom margin */
    border-radius: 6px; /* Slightly smaller radius */
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.essence-of-meditation-tabs .cta-paragraph {
    color: #ccc;
    font-style: italic;
}

/* Fade-in animation for tab content */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive adjustments for tabs */
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column; /* Stack buttons vertically */
        border-radius: 8px 0 0 8px; /* Rounded left corners when vertical */
    }
    .tab-button {
        width: 100%;
        border-bottom: none;
        border-left: 4px solid transparent; /* Indicator on the left */
        border-top: 1px solid #444; /* Separator line */
        padding: 15px 20px; /* Adjust padding for vertical */
    }
    .tab-button:first-child {
        border-top: none;
        border-radius: 8px 0 0 0; /* Top-left corner */
    }
    .tab-button:last-child {
         border-radius: 0 0 0 8px; /* Bottom-left corner */
    }
    .tab-button.active {
        background-color: #333;
        border-left: 4px solid #b8a6db; /* Purple indicator on the left */
        border-bottom: none;
    }
    .tab-image {
        float: none;
        display: block;
        max-width: 60%; /* Smaller max-width on mobile */
        margin: 0 auto 25px auto; /* Center image */
    }
    .tab-content {
        padding: 20px;
    }
}

