/*for global responsive*/
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

@media (min-width: 1280px) {
    .container {
        max-width: 90%;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1300px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}






.gap1 {
    padding: 60px 0;
    position: relative;
}
@media (max-width: 480px) {
     h2 {
        font-family: 'Lora', serif;
    }
}
html, body {
  overflow-x: hidden;
}
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .offending-element {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

             h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    color: #333;
    font-style: italic;
    line-height: 1.25em;
    font-weight: normal;
}
     /*for Counseling Facilities*/
/*     background-color: #FBAB7E;*/
/*background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);*/

.counseling-box {
    background: linear-gradient(0deg, #a9a9a9 0%, #ffd77e 33%, #ffffff 66%, #f1cc5d 100%);
    background-size: 400% 400%;
    animation: gradientMove 2s ease infinite;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    margin-bottom: 40px;
    transition: all 0.3s ease-in-out;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.counseling-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/*for weekly schedule*/
.weekly-schedule {
    padding: 50px 0;
    background: #f9f9f9;
}
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.schedule-table th, .schedule-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.schedule-table th {
    background: #b1712a;
    color: white;
}
.schedule-table tr:nth-child(even) {
    background: #f1f1f1;
}

/*prayer and testimonials form*/
.contact-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
/* Inputs & Select */
.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
}
.prayer-testimonials {
    padding: 10px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef); /* Subtle animated background */
}
/*ongoing events*/
/* Container */
/*.container {*/
/*    max-width: 1100px;*/
/*    margin: auto;*/
/*}*/

/* Heading */
/*.text-center {*/
/*    font-size: 2rem;*/
/*    font-weight: bold;*/
/*    margin-bottom: 30px;*/
/*}*/

/* Text Content */
.text-content p {
        margin-bottom: 10px;
    margin-top: 15px;
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    padding: 10px;
    background: white;
    border-left: 4px solid #1f57c3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.parallax1.pattren {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    opacity: 0.02; /* Optional, for effect */
}
/*timeline of ongoing events*/
   .timeline {
    position: relative;
    max-width: 700px;
    margin: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
}

.timeline-event {
    position: relative;
    width: 45%;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
}

.timeline-event.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-event.left {
    left: 0;
    text-align: right;
}

.timeline-event.right {
    left: 55%;
    text-align: left;
}

.timeline-event h6 {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.timeline-event h4 {
    font-size: 14px;
    margin: 5px 0;
    color: #222;
}

.timeline-event p {
    font-size: 12px;
    color: #555;
    margin: 0;
}

.timeline-dot {
    position: absolute;
    top: 14px;
    left: 5%;
    width: 12px;
    height: 12px;
    background: #b1712a;
    border-radius: 50%;
    border: 2px solid #fff;
    transform: translateX(-50%);
    z-index: 2;
}

/* Responsive */
@media (max-width: 600px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-event {
        margin-bottom: 5px;
        width: 90%;
        left: 0 !important;
        text-align: left !important;
        margin-left: 30px;
    }

    .timeline-dot {
        left: 20px;
    }
}

