a.fw-medium {
    color: black;
    text-decoration: none;
    font-weight: 500;
}

a.fw-medium.active-link {
    color: #c71031;
    font-weight: bold;
    text-decoration: underline;
}

html,
body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    /* Removes horizontal scroll */
    margin: 0;
    padding: 0;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

.form-card {
    background-color: #fff5e9;
}

h2 {
    font-weight: 600;
    color: #d62828;
}
.request-btn {
    background: linear-gradient(to right, #FFCC46, #FF906F, #FFB070);
    border: none;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border-radius: 999px; /* rounded-pill */
    text-align: center;
    display: inline-block;
    transition: background 0.3s ease;
    text-decoration: none;
}

.donate-btn{
    background: linear-gradient(to right, #ffa94d, #ff6b6b); 
    border-radius: 20px; 
    padding: 8px 20px;
}

.donation-bg{
    background-color: #fff7f0; 
    border-radius: 15px;
}

.form-field{
    color: red;
}

.footer-bg{
    background-color: #ee3160; 
    color: white;
}

.bottom-bar{
    border-top: 1px solid rgba(255,255,255,0.2);
}

.section-bg-color{
    background-color: #faf5ec; 
    font-family: 'Segoe UI', sans-serif;
}

.welcome-bg-color{
    background-color: #e4580d; 
    font-family: 'Segoe UI', sans-serif;
}
.underline{
    width: 100px; 
    margin: 0 auto; 
    border-top: 3px solid orange;
    margin-bottom: .5rem !important;
}
/* Submit & Cancel Buttons */
.submit-btn {
    background: linear-gradient(to right, #ffa94d, #ff6b6b);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 30px;
    transition: 0.3s ease-in-out;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cancel-btn {
    background: linear-gradient(to right, #ccc, #666);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 30px;
    transition: 0.3s ease-in-out;
    text-decoration: none;
}

.cancel-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom {
    background-color: white;
    width: 100%;
    padding-top: 1rem;  
    padding-bottom: 1rem;
    margin: 0;
}
.temple-info-title{
    color: #c71031;
}

.temple-info-subtitle{
    font-size: 0.95rem;
}

/*Home & About-us */
.welcome-section {
    min-height: 500px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end; 
    justify-content: center; 
}

.form-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.form-floating > input[type="file"] {
    height: auto;
    padding: 1rem 0.75rem;
}

/* .form-floating > label {
    transform: scale(0.85) translateY(-1.5rem);
} */

.home-img-size{
    max-height: 500px;
}

.news-panel-bg{
    background-color: rgba(79, 75, 75, 0.5);
}

.about-us-bg{
    background-color: #fff8ec;
}

.about-us-img{
    height: 400px; 
    width: 100%; 
    max-width: 550px;
}

.about-us-text{
    color: #494646;
    font-size: 1rem; 
    line-height: 1.6; 
    text-align: justify;
}

.about-us-readmore-bg{
    background-color: #fff8ec; 
    height: 100%; 
    max-height: 500px; 
    overflow-y: auto;
}

.contact-us-container{
    max-width: 1100px; 
    margin: auto;
}

.map-size{
    height: 100%;
}

.contact-us-message{
    height: 120px
}

#goTopBtn {
    width: 45px;
    height: 45px;
    font-size: 18px;
    text-align: center;
    padding: 10px 0;
}

.goTopBtn-position{
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 1050; 
    display: none;
}

@media (max-width: 576px) {
    #goTopBtn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Upcoming Events */
/* Section Styling */
.event-sec-bg {
    background-color: #f6d8db;
    font-family: 'Segoe UI', sans-serif;
}

/* Badge Style */
.custom-badge-background {
    background-color: #e1cf06;
    color: #000;
}

/* Scroll Container */
#eventScroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
    scroll-snap-type: x mandatory;
    gap: 1rem;
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

/* Hide Scrollbar */
#eventScroll::-webkit-scrollbar {
    display: none;
}

/* Individual Event Card */
.event-card {
    flex: 0 0 90%;
    scroll-snap-align: start;
}
    
/* Card Inner Style */
.event-card-style {
    background-color: #f8f5f5;
    height: 100%;
}

/* Tablet View: 2 Cards */
@media (min-width: 600px) {
    .event-card {
        flex: 0 0 48%;
    }
}

/* Desktop View: 3 Cards */
@media (min-width: 992px) {
    .event-card {
        flex: 0 0 24%;
    }
}

.big-event{
    max-width: 900px; 
    width: 100%; 
    height: auto;
}

.event-arrow{
    z-index: 3;
    margin: 0 10px;
}

 /*priest-service&rituals */

.priest-icons{
    color: teal;
    font-size: 3em;
}

/*temple etiquette */

/* .etiquette-bg{
    background-color: #f5dcf1; 
    font-family: 'Segoe UI', sans-serif;
} */

.etiquette-icons{
    color: teal;
    font-size: 2em;
}

.card-bg-light {
    background-color: #f8f8f9;
}

/* Wisdom & Tradition */
.card-bg-color {
    background-color: #f5ecdd;
}

.img-size{
    width: 120px; 
    height: auto;
}

.read-more-text{
    font-size: 1rem; 
    line-height: 1.6;
}

/* calendar view */
.fc-toolbar.fc-header-toolbar {
    margin-bottom: 1rem;
    }
    .fc-button {
    margin: 0 5px;
}

/* Day names & date */
.visually-hidden {
    display: none !important;
}

.fc-col-header-cell-cushion {
color: black !important;
font-weight: 600;
text-decoration: none !important;
}

.fc-daygrid-day-number {
color: black !important;
font-weight: 500;
text-decoration: none !important;
}

/* Sunday header and date in red */
.fc-col-header-cell.fc-day-sun a,
.fc-day-sun .fc-daygrid-day-number,
/* Saturday header and date in red */
.fc-col-header-cell.fc-day-sat a,
.fc-day-sat .fc-daygrid-day-number {
    color: red !important;
    text-decoration: none !important;
}
.fc-col-header-cell a {
    text-decoration: none !important;
}

/* --- FullCalendar header: mobile tweaks --- */
@media (max-width: 576px) {
  /* allow wrapping and center things */
    .fc .fc-header-toolbar {
        flex-wrap: wrap;
        gap: .25rem .5rem;
    }

    /* smaller title & keep it centered */
    .fc .fc-toolbar-title {
        font-size: 1.15rem;
        line-height: 1.2;
    }

    /* shrink prev/next buttons (arrows) */
    .fc .fc-prev-button, 
    .fc .fc-next-button {
        padding: .25rem .4rem;
    }
    .fc .fc-prev-button .fc-icon, 
    .fc .fc-next-button .fc-icon {
        font-size: .9em;  /* smaller chevrons */
    }

    /* stack Month / Week / Day vertically, full width */
    .fc .fc-header-toolbar .fc-toolbar-chunk:last-child {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: .4rem;
    }
    .fc .fc-header-toolbar .fc-toolbar-chunk:last-child .fc-button {
        width: 100%;
    }
}
.scrolling-text-container {
    width: 100%;
    overflow: hidden;
    /* background: #f0f0f0; */
    white-space: nowrap;
    box-sizing: border-box;
    color: teal;
    /* border: 1px solid #ccc; */
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}