/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
/*@import "navbar";*/
/*@import "hero";*/
/*@import "projects";*/
@import "hamburger_menu.css";
/*
 *= require font-awesome
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Helvetica', sans-serif;
    color: #462850;
    line-height: 1.6;
}

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

a:hover {
    text-decoration: underline;
}

header {
    background-color: white;
    padding: 20px 2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    max-height: 7rem;
}

.logo {
    max-width: 7rem;
    height: auto;
}

.hero .logo {
    max-width: 12rem;
}

.logo-link {
    position: absolute;
    top: 50px;
    left: 50px;
    display: inline-block;
}

.menu-button {
    padding: 8px 20px;
    border: 1px solid #333;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
}

.projects {
    padding: 30px 8%;
    background-color: #fff;
    /* soft beige tone */
}

.hero {
    padding: 80px 10%;
    background-color: #d0cdd4;
    /* same color as projects */
    color: rgb(17, 17, 112);
    text-align: center;
    font-size: 30px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #462850;
    font-family: 'Playfair Display', serif;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: #462850;
}

.research-content {
    font-size: 18px;
    margin: 0 auto;
    color: #0b34ad;
}

.events {
    padding: 60px 5%;
    background-color: #d0cdd4;
    margin-top: 60px;
}

.events h2 {
    font-size: 54px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #462850;
    font-family: 'Playfair Display', serif;
}

.event-card {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.event-details {
    padding: 40px;
    flex: 1;
}

.event-card2 {
    display: flex;
    align-items: center;
    /* Center align items horizontally */
    justify-content: center;
    /* Center align items vertically */
    text-align: center;
    /* Optional: For text to be centered */
    gap: 50px;
}


.event-details2 {
    max-width: 600px;
    /* height: 500px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-details2 h3 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.event-details2 p {
    margin-bottom: 20px;
    color: #462850;
}

.event-image2 {
    height: 500px;
    /* Fixed height for image container */
    overflow: hidden;
    /* Hide overflow if image is larger */
    width: auto;
}

.event-image2 img {
    height: 100%;
    /* Make the image fill the height */
    width: auto;
    /* Keep aspect ratio */
}


.event-details h3 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.event-details p {
    margin-bottom: 20px;
    color: #462850;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #606060;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    border-radius: 4px;
}

/* Styling for section heading */
.section-heading {
    font-size: 3em;
    color: #462850;
    /* A dark academic color */
    text-align: center;
    margin-bottom: 50px;
}

/* Title style */
.research-title {
    font-size: 1.4em;
    color: #462850;
    /* Darker grey-blue for professional tone */
    margin-bottom: 20px;
}

/* Description text style */
.research-description {
    font-size: 1.1em;
    color: #462850;
    /* Lighter gray for body text */
    margin-bottom: 20px;
    text-align: justify;
    /* Justify text for a more formal look */
}

/* Conclusion text style */
.research-conclusion {
    font-size: 1.1em;
    color: #462850;
    /* Dark grey-blue */
    text-align: justify;
}

/* Styling for the list */
.research-list {
    font-size: 1.2rem;
    padding-left: 20px;
    line-height: 1.6;
    margin-top: 30px;
    color: #462850;
}

.research-list li {
    margin-bottom: 10px;
}


.vision {
    padding: 80px 10%;
    background-color: #f3f0c0;
    text-align: left;
}

.vision h2 {
    font-size: 54px;
    font-weight: 300;
    margin-bottom: 30px;
    color: #462850;
    font-family: 'Playfair Display', serif;
}

.vision p {
    font-size: 18px;
    max-width: 800px;
    margin-bottom: 30px;
}

.vision .btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
}

.family-image {
    width: 100%;
    margin: 40px 0;
    border-radius: 4px;
}

.projects h2 {
    font-size: 54px;
    font-weight: 300;
    margin-bottom: 30px;
    color: #462850;
    font-family: 'Playfair Display', serif;
}

.projects p {
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-bottom: 40px;
}

.project-list {
    border-top: 1px solid #ccc;
    margin-top: 40px;
}

.project-item {
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid #ccc;
}

.project-title {
    flex: 1;
    font-size: 18px;
    font-weight: 400;
}

.project-description {
    flex: 2;
}

.project-description h4 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 400;
}

.project-description p {
    font-size: 16px;
    margin: 0;
}

.join-button {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #462850;
    color: #462850;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 10px;
}

.wix-banner {
    background-color: #f0f0f0;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

.wix-banner button {
    background-color: #7366ff;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    margin-left: 10px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .event-card {
        flex-direction: column;
    }



    .project-item {
        flex-direction: column;
    }

    .project-title {
        margin-bottom: 15px;
    }

    .modal input[type=text],
    .modal input[type=email] {
        width: 100%;
        padding: 12px 20px;
        margin: 8px 0;
        display: inline-block;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }


}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #345c9d;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    height: 60px;
}

.menu>li>a {
    text-decoration: none;
    color: #462850;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.menu>li>a::after {
    content: "";
    display: block;
    height: 2px;
    background-color: #f7e7d4;
    width: 0%;
    transition: width 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 0;
}

.menu>li>a:hover {
    color: #d0cdd4;
    background-color: rgba(232, 176, 0, 0.1);
}

.menu>li>a:hover::after {
    width: 100%;
}

.language-switcher select {
    padding: 6px 10px;
    border-radius: 9px;
    border: 1px solid #ccc;
    font-weight: 600;
    font-size: 13px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.language-switcher select:hover {
    border-color: #e8b000;
}

/* Dropdown (optional) */
.dropdown {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border-radius: 6px;
    min-width: 160px;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: #462850;
    text-decoration: none;
}

.dropdown a:hover {
    color: #e8b000;
}

.menu li:hover .dropdown {
    display: block;
}

container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    background-color: #462850;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin: 50px auto 0 auto;
    /* margin-top: 50px */
    background-color: #f9f9f9;
    /* same as body */
    border: 2px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.block {
    flex: 1;
    padding: 30px;
    text-align: center;
    position: relative;
}

.block+.block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background-color: #ccc;
}

.block h3 {
    margin-bottom: 10px;
    color: #333;
}

.block p {
    color: #666;
}

.carousel-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    max-width: 100%;
    justify-content: center;
}

.carousel-container div {
    flex: 1 1 50%;
    max-width: 50%;
}

.carousel-container img {
    width: 100%;
    height: auto;
    /* Maintain image aspect ratio */
    border-radius: 10px;
    object-fit: contain;
    display: block;
}

@media (max-width: 800px) {
    .carousel-container div {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.contact-block {
    padding: 30px 20px 20px 50px;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 100%;
    margin: 2rem auto;
    /*padding: 2rem;*/
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-side {
    flex: 1;
}

.contact-label {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #462850;
}

.contact-name {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.contact-item {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.whatsapp-link {
    color: #0b7d64;
    text-decoration: none;
    padding: 10px;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 50px;
}

.form-container {
    background-color: #ebe5a8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 600px;
    /* Wider form width */
    max-width: 90%;
    margin: 0 auto;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #A5C3D7;
    color: #462850;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #f7e7d4;
}

.btn-light-button {
    width: 10%;
    padding: 10px;
    background-color: #A5C3D7;
    color: #462850;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 40px;
}

@media (max-width: 480px) {
    .btn-light-button {
        width: 50%;
        /* full width on mobile */
        padding: 12px;
        /* slightly larger tap area */
        font-size: 1rem;
        /* readable size */
        margin-top: 20px;
        /* tighter spacing */
    }
}

.form-footer {
    text-align: center;
    margin-top: 10px;
}

.group-meditation {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.group-meditation h4 {
    color: #007bff;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.group-meditation p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #462850;
}

.group-meditation strong {
    color: #d0cdd4;
}

/* Modal styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

.modal-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/*.modal-content {*/
/*    position: relative;*/
/*    max-width: 600px;*/
/*    margin: 10% auto;*/
/*    padding: 15px;*/
/*    background: #fff;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);*/
/*    z-index: 1001;*/
/*    animation: fadeIn 0.3s ease;*/
/*}*/

.modal-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    /* ensures responsiveness on smaller screens */
    max-height: 100vh;
    /* restricts height to 80% of viewport */
    margin: 5% auto;
    /* centers vertically */
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    /* enables vertical scrolling if content is too tall */
}

.modal-close-btn {
    position: absolute;
    /* stays at the corner of the modal */
    top: 8px;
    right: 8px;
    font-size: 16px;
    /* smaller size */
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #333;
    cursor: pointer;
    line-height: 1;
    text-align: center;
    padding: 0;
}

.modal-close-btn:hover {
    color: #f7e7d4;
}

.modal-body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    text-align: justify;
}

/* Simple fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form input styles */
form div {
    margin-bottom: 20px;
}

form label {
    display: block;
}

form input,
form select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

form input:focus {
    border-color: #dadaaf;
    outline: none;
}

form .join-button {
    background-color: #A5C3D7;
    color: #462850;
    padding: 10px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

form .join-button:hover {
    background-color: #f7e7d4;
}

/* Button Style */
.open-modal-btn,
.close-modal-btn {
    padding: 1.0rem 1.9rem;
    /* reduced padding */
    font-size: 1.2rem;
    /* optional: slightly smaller text */
    width: auto;
    /* allows it to size to content */
    background-color: #A5C3D7;
    color: #462850;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

@media (max-width: 480px) {

    .open-modal-btn,
    .close-modal-btn {
        padding: 0.6rem 1.5rem;
        /* smaller padding */
        font-size: 1.2rem;
        /* smaller text */
        border-radius: 20px;
        /* slightly smaller corners */
    }
}

.open-modal-btn:hover {
    background-color: #A5C3D7;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    /* Distance from the top of the modal */
    right: 10px;
    /* Distance from the right of the modal */
    background: none;
    /* No background */
    border: none;
    /* Remove default button border */
    font-size: 24px;
    color: #462850;
    cursor: pointer;
    font-weight: bold;
    z-index: 1002;
    /* Ensure it's on top of the content */
}

/* Remove background on hover and just change color */
.modal-close-btn:hover {
    background: none;
    /* Ensure no background color */
}

.maharishi-effect-container {
    display: flex;
    justify-content: center;
    padding: 30px 8%;
    background-color: #d0cdd4;
}

/* Card */
.maharishi-effect-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
}

@media (min-width: 768px) {
    .maharishi-effect-card {
        flex-direction: row;
    }
}

.maharishi-heading {
    font-size: 45px;
    margin-bottom: 60px;
    margin-top: 60px;
    color: #462850;
    text-align: center;
}

/*.maharishi-effect-container {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    padding: 2rem;*/
/*}*/

/* Card with flexbox for side-by-side layout */
.maharishi-effect-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    /* Restrict max width for larger screens */
    background: #fff;
    /* Assuming a white background for the card */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Optional: subtle shadow for card effect */
    border-radius: 8px;
    /* Optional: rounded corners */
    overflow: hidden;
    /* Ensure content stays within rounded corners */
}

/* Image Section */
.maharishi-effect-image {
    gap: 1.5rem;
    flex: 0 0 40%;
    /* Takes 40% of the card's width */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center content horizontally */
    text-align: center;
    /* Center text */
}

/* SVG Image Styling */
.maharishi-effect-image img {
    /*max-width: 90%; !* Ensure image doesn't exceed container width *!*/
    max-height: 17.5rem;
    /* Limit height to prevent excessive growth */
    width: auto;
    /* Allow SVG to scale proportionally */
    height: auto;
    /* Maintain aspect ratio */
    object-fit: contain;
    /* Ensure SVG scales without distortion */
}

/* Content Section */
.maharishi-effect-content {
    flex: 0 0 60%;
    /* Takes 60% of the card's width */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.maharishi-effect-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.maharishi-effect-content p {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Carousel skroll start */
.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 10px;
    position: relative;
    box-sizing: border-box;
}

.carousel-image {
    width: 260px;
    height: auto;
    transition: transform 0.4s ease;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    display: block;
}

.tm-followup-info {
    padding: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #462850;
    max-width: 100%;
    margin: 2rem auto;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.icon-link svg {
    transition: transform 0.2s ease;
}

.icon-link:hover svg {
    transform: scale(1.1);
    fill: #0b7d64;
}

.dropdown-content {
    display: none;
    margin-top: 10px;
}

#how_to_learn:hover+.dropdown-content {
    display: block;
}

#how_to_learn {
    cursor: pointer;
}

.blog {
    padding: 40px 0;
}

.section-heading {
    text-align: center;
    font-size: 50px;
    margin-bottom: 30px;
}

.blog-cards,
.research-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    width: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.research-card {
    width: 250px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #fff;
    display: flex;
    /*justify-content: center;*/
    flex-direction: column;
    margin-top: 40px;
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.card-content p {
    font-size: 14px;
    color: #555;
}

.card-content a {
    display: inline-block;
    margin-top: 10px;
    color: #0066cc;
    text-decoration: none;
}

.card-content a:hover {
    text-decoration: underline;
}

.blog-section {
    padding: 30px 8%;
    background-color: #fff;
    margin-top: 80px;
}

.blog-title {
    font-size: 65px;
    /* Increase size */
    color: #462850;
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 10px;
}

.blog-subtitle {
    font-size: 45px;
    text-align: center;
    margin-bottom: 50px;
}

.special-rates {
    width: 100%;
    background: #f7e7d4;
    padding: 40px 10%;
    text-align: center;
    margin-top: 20px;
}

.special-rates-title {
    font-size: 50px;
    color: #462850;
    margin-bottom: 20px;
}

.special-rates-list {
    font-size: 20px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.special-rates-list li {
    margin-bottom: 15px;
}

.success-message {
    text-align: center;
    font-size: 16px;
    padding: 20px;
}

.success-message h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.success-close-btn {
    font-size: 12px;
    padding: 6px 12px;
    border: none;
    background-color: #444;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.success-close-btn:hover {
    background-color: #222;
}

/* Form container */
.contact-form {
    max-width: 480px;
    margin: 0 auto;
    padding: 1rem;
    font-family: "Segoe UI", sans-serif;
}

/* Form group spacing */
.form-group {
    margin-bottom: 0.7rem;
}

/* Labels */
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #333;
}

/* Inputs */
.form-input {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #444;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

/* Time slot container */
.slots-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Slot buttons */
.btn-slot {
    display: inline-block;
    padding: 1rem 0.5rem;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #fff;
    color: #444;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.btn-slot:hover {
    background-color: #A5C3D7;
    color: #444;
}

/* Selected slot */
input[type="radio"]:checked+.btn-slot {
    background-color: #A5C3D7;
    color: #fff;
    border-color: #A5C3D7;
}

/* Submit button */
.join-button {
    width: 50%;
    background-color: #444;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.join-button:hover {
    background-color: #462850;
}

.footer-text {
    text-align: center;
    font-size: 0.875rem;
    /* equivalent to small text */
    color: #6B7280;
    /* gray-500 equivalent */
    margin-top: 1.5rem;
    /* optional spacing from above content */
}

/* Card container */
.tm-card {
    background-color: #D0CDD4;
    /* rich brown tone */
    color: #462850;
    border-radius: 16px;
    padding: 50px 30px;
    margin: 60px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Steps layout */
.tm-steps {
    text-align: center;
    font-family: "Georgia", serif;
}

/* Each step */
.tm-step {
    margin-bottom: 30px;
}

/* Number circle */
.circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #462850;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* Headings and text */
.tm-step h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.tm-step p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* Dotted separator */
.separator {
    width: 80%;
    height: 1px;
    border-bottom: 1px dotted #462850;
    margin: 0 auto 30px;
    opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .tm-card {
        padding: 30px 10px;
    }

    .circle {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .tm-step h3 {
        font-size: 1.2rem;
    }
}

/* Fees Section Styles */
.fees-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 1200px;
    margin: 60px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
}

.fees-image {
    flex: 1;
    min-width: 300px;
    padding: 10px;
}

@media (max-width: 480px) {
    .fees-image {
        min-width: 0;
        padding: 5px;
    }
}

.fees-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.fees-details {
    flex: 2;
    padding: 30px;
}

.fees-description {
    text-align: center;
    color: #462850;
    font-weight: normal;
    font-size: 17px;
    margin-bottom: 20px;
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    font-size: 18px;
}

.fees-table thead {
    background-color: #A5C3D7;
}

.fees-table th,
.fees-table td {
    border: 1px solid #ccc;
    padding: 12px;
}

.fees-table .row-highlight {
    background-color: #f9f9f9;
}

@media (max-width: 768px) {

    /* Header & Navigation */
    header {
        flex-direction: column;
        padding: 10px;
        gap: 15px;
        max-height: none;
    }

    .logo-link {
        position: static;
        margin-bottom: 10px;
    }

    .menu {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }

    /* Hero Section */
    .hero {
        padding: 40px 5%;
        font-size: 18px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    /* Projects & Events */
    .projects {
        padding: 30px 5%;
    }

    .projects h2,
    .events h2,
    .vision h2 {
        font-size: 36px;
    }

    .event-card2 {
        flex-direction: column;
        gap: 30px;
    }

    .event-details2 {
        max-width: 100%;
        padding: 0;
        text-align: center;
    }

    .event-image2 {
        height: auto;
        width: 100%;
        max-height: 300px;
    }

    .event-image2 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Research Cards */
    .research-cards,
    .blog-cards {
        justify-content: center;
    }

    .research-card,
    .card {
        width: 100%;
        max-width: 350px;
    }

    /* Container / Blocks */
    .container {
        flex-direction: column;
        margin-top: 30px;
    }

    .block {
        padding: 20px;
        border-bottom: 1px solid #ccc;
    }

    .block:last-child {
        border-bottom: none;
    }

    .block+.block::before {
        display: none;
    }

    /* Blog Section */
    .blog-title {
        font-size: 40px;
    }

    .blog-subtitle {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* Special Rates */
    .special-rates-title {
        font-size: 32px;
    }

    /* Tables */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Maharishi Effect */
    .maharishi-heading {
        font-size: 32px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .maharishi-effect-card {
        flex-direction: column;
        /* Stack image and content vertically */
        height: auto;
        overflow: visible;
    }

    .maharishi-effect-image,
    .maharishi-effect-content {
        flex: 1 1 auto;
        /* Allow to grow/shrink */
        width: 100%;
        /* Full width on small screens */
        padding: 20px;
    }

    /* Contact Form */
    .form-container {
        width: 100%;
        padding: 15px;
    }

    .contact-block {
        flex-direction: column;
        padding: 20px;
    }

    .maharishi-effect-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
    }

    /* Fees Section */
    .event-details {
        padding: 15px;
    }

    .fees-card {
        flex-direction: column;
        padding: 10px;
    }

    .fees-image {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
        flex: none;
        height: auto;
    }

    .fees-image img {
        width: 100%;
        height: auto;
        object-fit: unset;
        display: block;
    }

    .fees-details {
        width: 100%;
        padding: 0;
    }

    .fees-table {
        display: block;
        overflow-x: auto;
        white-space: normal;
        font-size: 14px;
        width: 100%;
    }

    .fees-table th,
    .fees-table td {
        padding: 8px 5px;
        word-wrap: break-word;
    }
}