html,
body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;

    /* Background image */
    background-image: url("../images/frontend/shri-kutch-kadva-patidar-samaj-indore-community-halls-61pr9nnxe7.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* so it stays when scrolling */
    color: #000; /* optional, depending on your text */
    min-height: 100vh;
    margin: 0;
    height: 100%;
}

/* The overlay */
body::before {
    content: "";
    position: fixed; /* fixed to cover viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(
        255,
        255,
        255,
        0.5
    ); /* white overlay with 50% opacity */
    pointer-events: none; /* so clicks pass through */
    z-index: -1; /* behind everything */
}

main {
    flex: 1;
}

.navbar {
    background-color: transparent;
}

.navbar-brand img {
    height: 95px;
}

.navbar-nav .nav-link {
    color: #d9271c !important;
    font-weight: 700;
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 0;
}

.navbar-nav .nav-link:hover {
    background-color: #d9271c;
    color: white !important;
}

.navbar-nav .nav-link.active {
    background-color: #d9271c;
    color: white !important;
}

.navbar-toggler {
    border-color: #d9271c;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
    background-color: #d9271c;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='red' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.logo {
    height: 161px;
}

.bg-primary,
.btn-primary {
    background-color: #d9271c !important;
}

.border-none {
    border: none;
}

.required_field::after {
    content: " *";
    color: red;
}

h2 {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

.sponsors-footer {
    background-color: #f9f9f9;
    padding: 40px 0;
}
.sponsors-footer h2 {
    text-align: center;
    margin-bottom: 30px;
}
.sponsor-logos .slide {
    margin: 0 15px;
}
.sponsor-logos .slide img {
    max-height: 60px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.sponsor-logos .slide img:hover {
    opacity: 1;
}

figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: #636e72;
}

.same-size-img {
    width: 365px;
    border-radius: 25px;
    object-fit: contain;
}

.same-size-samiti-img {
    /* width: 255px;
    border-radius: 25px; */
    object-fit: fill;
    height: 255px;
}

.h-80 {
    height: 80px;
}

.slick-carousel .slide {
    background-size: cover;
    background-position: center;
}

.slick-carousel,
.slick-carousel .slide {
    height: 100vh;
}

.slick-carousel .slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.slick-carousel .slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-in-out;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.slide-content a {
    display: inline-block;
    padding: 12px 28px;
    background: #ff9800;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.slide-content a:hover {
    background: #e68900;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slick-prev:before,
.slick-next:before {
    font-size: 35px;
    color: #fff;
}

.slick-dots li button:before {
    font-size: 14px;
    color: #fff;
    opacity: 0.7;
}
.slick-dots li.slick-active button:before {
    color: #ff9800;
    opacity: 1;
}

.sponsor-carousel img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    padding: 8px;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}
