/*
Theme Name: Kaivalya Theme
Author: Sree Kaivalya Satsang
Version: 1.0
Description: Custom theme
*/
@import url("css/style.css");

/* Slide background */
.my-slider .swiper-slide {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Background image */
.my-slider .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Overlay gradient */
.my-slider .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: 2;
}

/* Slide content */
.my-slider .slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

.my-slider .slide-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.my-slider .slide-content p {
    font-size: 1.2rem;
}

/* Responsive text */
@media (max-width: 768px) {
    .my-slider .slide-content h2 { font-size: 2rem; }
    .my-slider .slide-content p { font-size: 1rem; }
    
    
}

:root {
    --cnvs-primary-font: "Lexend", sans-serif;
}


.menu-item a{color:black;
    text-transform:uppercase;
    font-weight:500;
    font-size:14px;
      transition: 0.9s;
    }
    .menu-item a:hover{color:#fd7e14;
    
    
}
    .menu-item{display:block;padding: 15px;}

/* ashram page css */
/* ===== Ashram Page Styles ===== */

.ashram-hero {
    background: #f5efe3;
    padding: 100px 20px;
    text-align: center;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: #c89b3c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}



/* ashram page*/
.ashram-banner {
    position: relative;
    width: 100%;
    height: 300px;
   background: url('images/ashram.png') center/cover no-repeat;
}

.ashram-banner-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ashram-banner-title {
    color: #fff;
    font-size: 48px;
    text-align: center;
}

.ashram-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.program-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
    align-items: center;
}

.program-section.reverse {
    flex-direction: row-reverse;
}

.program-image {
    flex: 1 1 400px;
}

.program-image {
    display: flex;
    justify-content: center;
}

.program-image img {
    width: 100%;           /* responsive width */
    max-width: 450px;      /* limits image size on large screens */
    height: 300px;         /* fixed height */
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    object-fit: cover;     /* crops image to fit fixed height without distortion */
}
.program-content {
    flex: 2 1 600px;
}

.ashram-intro p {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .program-section,
    .program-section.reverse {
        flex-direction: column !important;
    }
    .program-image,
    .program-content {
        flex: 1 1 100% !important;
        max-width: 100%;
    }
    .ashram-banner {
        height: 200px;
    }
    .ashram-banner-title {
        font-size: 32px;
    }
    
    .program-single-container {
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
    line-height:1.8;
}

.program-title {
    text-align:center;
    font-size:32px;
    margin-bottom:20px;
}

.program-description {
    font-size:16px;
    color:#555;
    margin-bottom:30px;
}

.program-description .no-description {
    color:#777;
}

.program-slider {
    margin-top:20px;
}

.program-slider .swiper-slide img {
    width:100%;
    max-width:450px;
    height:300px;
    object-fit:cover;
    border-radius:8px;
    box-shadow:0 3px 8px rgba(0,0,0,0.1);
}

.announcement-warning,
.no-gallery {
    text-align:center;
    color:#777;
    margin:40px;
}

@media screen and (max-width:768px){
    .program-slider .swiper-slide img{
        height:200px;
    }
}
}









.contact-form input,
.contact-form textarea {
    width:100%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:5px;
}

.contact-form button {
    background:#333;
    color:#fff;
    padding:10px 20px;
    border:none;
    border-radius:5px;
    cursor:pointer;
}

.contact-form button:hover {
    background:#555;
}




.contact-form {
    max-width:500px;
    margin:auto;
}

.contact-form input,
.contact-form textarea {
    width:100%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:5px;
}

.contact-form button {
    background:#2c3e50;
    color:#fff;
    padding:10px 20px;
    border:none;
    border-radius:5px;
    cursor:pointer;
}

.contact-form button:hover {
    background:#1a252f;
}

.custom-pre {
  font-family: "Georgia", serif;
  font-size: clamp(14px, 2.5vw, 20px);
  line-height: 1.6;
  color: rgb(253, 158, 50);

  white-space: pre-wrap;   /* ✅ allows wrapping */
  word-break: break-word;  /* ✅ breaks long lines if needed */
  overflow-x: hidden;      /* ✅ removes horizontal scroll */

  margin: 10px 0;
  padding: 0;
  border: none;
  background: transparent;
}



