/*
 * 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";*/
/*
 *= require font-awesome
 */

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

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

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;
}

.menu-button {
    padding: 8px 20px;
    border: 1px solid #333;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
}
.projects {
    padding: 40px 10%;
    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;
    max-width: 800px;
    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 */
}

.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: 20px;
}

.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;
    }
    .modal button {
        background-color: #4CAF50;
        color: white;
        padding: 14px 20px;
        margin: 8px 0;
        border: none;
        cursor: pointer;
        width: 100%;
    }
    .modal button:hover {
        opacity: 0.8;
    }
}
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: 1rem;
    margin-bottom: 0.75rem;
}

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

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

.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: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

.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;
}

.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: 30px;
    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-close {
    position: absolute;
    top: 10px;
    left: 10px; /* Change this from right to left */
    background: none;
    border: none;
    font-size: 24px;
    color: #888;
    cursor: pointer;
}

.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: #ece9c0;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

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

/* 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;
}

.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: 3rem 1rem;
    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: 80px;
    margin-top: 80px;
    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;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .maharishi-effect-card {
        flex-direction: column; /* Stack image and content vertically */
    }
    .maharishi-effect-image,
    .maharishi-effect-content {
        flex: 0 0 100%; /* Full width on small screens */
    }
}

/* 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;
  justify-content: center;
  gap: 24px;
}

.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: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

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

.card-content {
  padding: 20px;
}

.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: 40px 20px;
  background-color: #fff;
  margin-top: 170px;
}

.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;
}