
:root {
  --color-primary: #fcbf49ff;
  --color-warning: #f77f00ff;
  --color-danger:  #d62828ff;
  --color-dark:    #003049ff;
  --color-info:    #eae2b7ff;
}
/* Dropdown CSS Start*/
.custom-dropdown{
  width: 300px;
}
@media screen and (min-width:776px) {
  .custom-dropdown{
    width: 350px;
  } 
}
/* Dropdown CSS End*/
/* Erro CSS Start */
label.error {
  color: red;
  font-size: 0.875rem; /* optional for better readability */
  margin-top: 5px;
  display: block;
}
/* Erro CSS End */
.switches-container {
    width: 16rem;
    position: relative;
    display: flex;
    padding: 0;
    position: relative;
    background: #ffffff;
    border: 1px solid var(--color-dark);
    line-height: 3rem;
    border-radius: 3rem;
    margin-left: auto;
    margin-right: auto;
}

/* input (radio) for toggling. hidden - use labels for clicking on */
.switches-container input {
    visibility: hidden;
    position: absolute;
    top: 0;
}

/* labels for the input (radio) boxes - something to click on */
.switches-container label {
    width: 50%;
    padding: 0;
    margin: 0;
    text-align: center;
    cursor: pointer;
    color: var(--color-dark);
    font-weight: 700;
    text-transform: uppercase;
}

/* switch highlighters wrapper (sliding left / right) 
    - need wrapper to enable the even margins around the highlight box
*/
.switch-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    padding: 0.15rem;
    z-index: 3;
    transition: transform .5s cubic-bezier(.77, 0, .175, 1);
    
    /* transition: transform 1s; */
}

/* switch box highlighter */
.switch {
    border-radius: 3rem;
    background: var(--color-dark);
    height: 100%;
}

/* switch box labels
    - default setup
    - toggle afterwards based on radio:checked status 
*/
.switch div {
    width: 100%;
    text-align: center;
    opacity: 0;
    display: block;
    color: #fff ;
    transition: opacity .2s cubic-bezier(.77, 0, .175, 1) .125s;
    will-change: opacity;
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 700;
    text-transform: uppercase;
}

/* slide the switch box from right to left */
.switches-container input:nth-of-type(1):checked~.switch-wrapper {
    transform: translateX(0%);
}

/* slide the switch box from left to right */
.switches-container input:nth-of-type(2):checked~.switch-wrapper {
    transform: translateX(100%);
}

/* toggle the switch box labels - first checkbox:checked - show first switch div */
.switches-container input:nth-of-type(1):checked~.switch-wrapper .switch div:nth-of-type(1) {
    opacity: 1;
}

/* toggle the switch box labels - second checkbox:checked - show second switch div */
.switches-container input:nth-of-type(2):checked~.switch-wrapper .switch div:nth-of-type(2) {
    opacity: 1;
}
/* Switch CSS End */

.about-image{
  object-fit: cover;
  width: 100%;
  aspect-ratio: 16/9;
}
.about-dev-image{
    object-fit: cover;
     width: 100%;
    height: 100%;
}
.ts-team-wrapper .ts-team-content{
    backdrop-filter: blur(10px) !important;
    background-color: #004468ab !important;
}
@media screen and (max-width:768px) {
    .switch-box{
       flex: 0 0 100% !important;
    }
}
.team-img-wrapper {
  aspect-ratio: 4 / 4; /* Change this to 1/1 or 16/9 as needed */
  overflow: hidden;
  position: relative;
}

.team-img-wrapper img {
  object-fit: fill;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
/* Event card css start */
.card-slider {
border:none;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.card-slider img {
  transition: transform 0.3s ease-in-out;
  object-fit: cover;
  height: 250px;
  width: 100%;
}

.card-slider:hover img {
  transform: scale(1.1);
}
.card-title{
    transition: transform 0.3s ease-in-out;
}
.card-slider:hover .card-title{
    transition: transform 0.3s ease-in-out;
    color: var(--color-primary) !important;
}
.gradient-overlay {
  background: linear-gradient(to top, rgba(0, 20, 44, 0.79), rgba(1, 37, 81, 0));
}
.swiper-button-prev,.swiper-button-next{
    background-color: white;
    height: 36px !important;
    width: 36px !important;
}
.swiper-button-next:after, .swiper-button-prev:after {
    color: black;
    font-size: 16px !important;
    font-weight: bold;
}
/* Event card css End */

/* My Family Page - Cards CSS Start */
.my_family_card{
    max-width: 308px;
    width: 100%;
}
/* My Family Page - Cards CSS End */

/* Bio Data Form - Image Preview - Start */
.profile-upload-btn{
    width: 16rem;
}
.remove-profile-btn{
    width: 32px;
    height: 32px;
    z-index: 10;
    /* border-radius: 50%; */
} 
/* Bio Data Form - Image Preview - End */

/* SANDESH CSS START */
/* Shandesh Card Css start */

.custom-card-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
  /* Remove height: 100% */
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit title to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1rem;
}

.card-description {
  font-size: 0.95rem;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Max 5 lines for description */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.card_shandesh {
  transition: box-shadow 0.3s ease-in-out;
  border-radius: 0;
}

.card_shandesh:hover {
  box-shadow: 0px 0px 20px #1d003a38;
}



/* Shandesh Card Css End */

.banner-text{
    max-width: 100%;
    padding: 0px 20px;
}

/* shandesh banner css start */
 .section-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}
.section-bg:before{
    content: "";
    position: absolute;
    background: linear-gradient(102.13deg, rgba(0, 0, 0, 0.5) 9.09%, rgba(0, 37, 69, 0.5) 111.9%);  
    height: 100%;
    width: 100%;
    aspect-ratio: 16/9;

}
.form-container {
    background: white;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    color: black;
}
.error {
    color: red;
    font-size: 0.9em;
}
/* shandesh banner css End */
/* SANDESH CSS END */

/* Login CSS Start */
  /* Background image only for tablet and desktop */
   

    .full-container {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('images/banner/banner2.jpg');
    background-repeat: no-repeat;
    background-size: cover;         /* fills the screen */
    background-position: center;    /* centers the image */
}

/* Optional: dark overlay or blur for better contrast */
.full-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);  /* subtle overlay for readability */
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2; /* ensures form is above overlay */
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form {
    background: white;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

.note-text {
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}

.note-text a {
    text-decoration: none;
    color: #007bff;
}

/* Login CSS EMd */

/* Community HTML Dual Range CSS Start */

.slider-wrapper {
  position: relative;
  width: 80%;
  background-color: #ffffff;
  /* padding: 50px 40px 20px 40px; */
  border-radius: 10px;
}
.slider-container {
  position: relative;
  width: 100%;
  /* height: 100px; */
  /* margin-top: 30px; */
}
input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  outline: none;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  background-color: transparent;
  pointer-events: none;
}
.slider-track {
  width: 100%;
  height: 5px;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  border-radius: 5px;
  background-color: #ccc;
}
input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 5px;
}
input[type="range"]::-moz-range-track {
  -moz-appearance: none;
  height: 5px;
}
input[type="range"]::-ms-track {
  appearance: none;
  height: 5px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 1em;
  width: 1em;
  background-color: #ffffff;
  cursor: pointer;
  margin-top: -5px;
  border:4px solid #3264fe;
  pointer-events: auto;
  border-radius: 50%;
}
input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  height: 1em;
  width: 1em;
  cursor: pointer;
  border-radius: 50%;
  background-color: #3264fe;
  pointer-events: auto;
  border: none;
}
input[type="range"]::-ms-thumb {
  appearance: none;
  height: 1em;
  width: 1em;
  cursor: pointer;
  border-radius: 50%;
  background-color: #3264fe;
  pointer-events: auto;
}
input[type="range"]:active::-webkit-slider-thumb {
  background-color: #ffffff;
  border: 1px solid #3264fe;
}

/* Community HTML Dual Range CSS End */
/* Community Result Start */
.results-tab{
  color: var(--color-dark) !important;
  font-weight: 600;
}
.results-tab.active{
  background: var(--color-primary) !important;
}
/* Community Result End */
/* User Profile Start*/
.profile-card {
  border: 1px solid #dee2e6;
  border-radius: 10px;
  margin-bottom: 20px;
  background-color: white;
}
.card-title {
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: #f77f00ff;
  font-size: 20px !important;
}
.profile-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
}
.detail-label {
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 5px;
}
.detail-value {
  margin-bottom: 15px;
  color: #212529;
}
.badge-qualification {
  font-size: 0.8rem;
  vertical-align: middle;
  margin-left: 8px;
}
.square-img-container {
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background-color: #f1f1f1;
}

.square-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* User Profile End*/

/* Video gallary css start */
.video-card {
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  border-radius: 0.5rem;
}
.video-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.video-title {
  padding-top: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: start;
  padding: 12px;
}
/* Video gallary css End */