:root {
    --brand-color: #675F30; /* Defining brand color */
    --primary-color: #8E4D2F; /* Set primary color */
    --blue-color: #204289;
    --dark-brown:#360F00;
    --primary-subtle:#FFF8F6;
    --light-color:#FFEDE7;
    --tertiary-color:#F5DED5;
    --font-color:#53443D;
    --head-color:#231A16;
    --i-color:#8d8553;
    

}
.carousel-control-prev-icon,
.carousel-control-next-icon {   
    background-color: var(--brand-color); /* Using brand color */
    border-radius: 50%; /* Rounded background */
    width: 40px; /* Smaller arrow size */
    height: 40px; /* Smaller arrow size */
    background-size: 50% 50%; /* Adjust icon size */
}
body {
    font-family: 'Poppins', sans-serif;
    text-transform: capitalize;
} 



.bg-primary{
    background:var(--primary-color) !important;
}
.bg-secondary{
    background: var(--brand-color) !important;
}

.icon_btn {
    padding: 10px 15px !important; /* Adjust as needed */
}

.bg-tertiary{
    background:var(--tertiary-color) !important;
}
.bg-primary-subtle{
    background:var(--primary-subtle) !important;
}

.text-primary{
    color: var(--blue-color) !important;
}
.text-secondary{
    color: var(--primary-color) !important;
}

.text-brown{
    color:var(--dark-brown);
}
.text-color{
    color:var(--font-color);
}
.head-color{
    color:var(--head-color);
}
.fs-6{
    font-size: 120% !important;
}

.fs-10{
    font-size: 10px;
}
.fs-12{
    font-size: 12px;
}
.fs-15{
    font-size: 15px;
}

.fs-20{
    font-size: 20px;
}

.fs-30{
    font-size: 30px;
}

.fw-7{
    font-weight: 700;
}
.fw-8{
    font-weight: 700;
}

.rounded-20{
    border-radius: 20px;
}
.rounded-right-20{
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}
.rounded-left-20{
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}
.rounded-6{
    border-radius: 20px !important;
}
.rounded-top-6{
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}
.rounded-30{
    border-radius: 30px;
}
.rounded-10{
    border-radius: 10px;
}

.nav-link.active{
    border-radius: 20px;
    background: var(--primary-color);
    color:white !important;
    padding-left: 30px;
    padding-right: 30px;
}

.list-group-item.active{
    background: var(--primary-color) !important;

}
.list-group{
    border-radius:0px !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}
.btn-primary{
    background: var(--primary-color) !important;
    border: var(--primary-color) !important;

}
/* Hover effect */
.btn-primary:hover {
    background: var(--tertiary-color) !important;
    border: var(--tertiary-color) !important;
    color: var(--primary-color) !important;
}
.btn-outline-primary{
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}
.submit_btn:disabled {
    background-color: grey !important;
    border-color: grey !important;
    cursor: not-allowed;
    opacity: 0.6; /* Optional: Make it slightly transparent */
}


.btn-outline-primary:hover{
    background: var(--primary-color) !important;
    color: white !important;
}

#servicesScroll::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Edge */
}
div::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Edge */
}
.active-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(0deg) brightness(116%) contrast(101%);

}
.default-icon {
    fill: #8E4D2F !important; /* Explicitly set the color to white */

}
.progress_bar{
    top:0;
}

/* Add fade-in animation */
.fade-in {
    animation: fadeIn 0.9s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.bg-light{
    background:var(--light-color) !important;
}

.text-justify{
    text-align: justify;
}

.cursor-pointer{
    cursor: pointer;
}

/* donation page */
.progress-circle {
    transform: rotate(0deg);
}

.progress-background {
    stroke: #FFDBCD;
}

.progress-bar {
    stroke: var(--primary-color) !important;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s;
    transform: scaleX(-1); /* Flip the progress bar horizontally */
    transform-origin: center;
}

.progress-text {
    font-weight: bold;
    font-size: 16px;
    
}

.card-img-top {
    width: 100%; /* Ensures the image fills the card width */
    height: 150px; /* Sets a fixed height for the image */
    object-fit: cover; /* Ensures the image maintains aspect ratio and fills the container */
}


.title{
    font-size: 15px;  
}

.bg-secondary:hover {
    background: var(--i-color) !important; 
    color: var(--brand-color);

}
.icon-hover:hover{
    background: var(--primary-color) !important;

}
.calender-hover:hover {
    background: var(--primary-color) !important;
    color: var(--tertiary-color) !important;
}

.calender-hover:hover .text-muted {
    color: var(--tertiary-color) !important;  /* Changes the text-muted color on hover */
}
.contact{
    outline: none !important; 
    box-shadow: 0 0 2px #8E4D2F !important;
    border-color:transparent !important;
}
.calender_font{
    font-size: 17px;
}

@media (min-width: 992px) { /* Apply only for desktops */
    .mobile_dropdown {
        min-width: 550px;
    }
    .mobile_dropdown1 {
        min-width: 550px;
    }
    .nav_btn{
        width: 100% !important;
    }
    .custom-hover:hover {
        background: var(--tertiary-color) !important;
        color: var(--primary-color) !important;
    }
    
}

@media (max-width: 991px) { /* For tablets & mobile */
    .mobile_dropdown {
        position: absolute;
        top: 65% !important; /* Positions the menu below the navbar */
        left: -4% !important;
        width: 146% !important;      
        
    }
    .mobile_dropdown1 {
        position: absolute;
        top: 65% !important; /* Positions the menu below the navbar */
        left: -4% !important;
        width: 142% !important;      
        
    }
    .rounded-left-20{
        border-top-left-radius: 20px !important;
        border-top-right-radius: 20px !important;
        border-bottom-left-radius: 0px !important;
    }
    .rounded-right-20{
        border-bottom-left-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
        border-top-right-radius: 0px !important;
    }
    .navbar-toggler{
        color: #F5DED5 !important;
    }
    .navbar-collapse {
        position: absolute;
        top: 90%; /* Positions the menu below the navbar */
        left: -220%;
        right:10%;
        width: auto !important;
        background: white; /* Ensure background visibility */
        z-index: 1050; /* Higher than other elements */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional shadow effect */
        border-radius: 12px;
    }
    .calender_font{
        font-size: 15px;
    }
   
    .w-sm-30{
        width: 30% !important;
    }
    .fs-30{
        font-size: 20px;
    }
    .fs-15{
        font-size: 7px;
    }
    .fs-12{
        font-size: 10px;
    }
    .fs-20{
        font-size: 80%;
    }
    .fs-6{
        font-size: 95% !important;
    }
    .title{
        font-size: 18px;  
    }
    .carousel-caption {
        left: 16px;
        top: 10px;
        width: auto;
    }
    .watch_darshan
    {
        font-size: 10px !important;

    }
    .top-0 {
        top: 5% !important;
    }
    .end-0 {
        right: 5% !important;
        
    }
    .left_scroll{
        left: -5% !important;

    }
    .right_scroll{
        right: -5% !important;
    }

    .left{
        left: -8% !important;
    }
    .right{
        right: -8% !important;
    }
    .desc{
        bottom: 18px !important;
    }
    .dropdown_name{
        font-size: 75% !important;
    }
    .ganesh-img{
        top: 45% !important;
    }
    .carousel-indicators{
        top: 93%;
    }
    .calendar-btn{
        top: 30%;
    }
    .donation-container {
        display: flex;
        flex-direction: column-reverse; /* Swap order: Button below, Target above */
        align-items: center;
    }
    

    .nav_btn {
        position: relative; /* Ensures navbar remains in position */
        z-index: 1100; /* Higher than the dropdown */
        width: auto !important;
    }
    
    
    .submit_btn{
        border-radius: 40px;
    }
    
    
    .font{
        font-size: 12px !important;
    }
    .custom-position {
        position: absolute;
        top: 0%; /* Adjust as needed */
        left: 60%; /* Push it to the top-right */
        z-index: 1000; /* Ensures it stays above other elements */
        flex-direction: row-reverse !important;
        transform: translateY(-90%);
    }
    .nav-link.active{
        
        padding-left: 18px;
        padding-right: 18px;
    }
    .position {
        display: flex;
        flex-direction: column-reverse;
    }
    .cursor-pointer{
        font-size: 100% !important;
    }
    #calendar{
        font-size: 10px;
    }
    .progress-circle{
        height: 45%;
        width: 48%;
    }

    #navbar-toggler:hover,
    #navbar-toggler:focus {
    
    box-shadow: none !important;
} 
  
}
