@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Gujarati:wght@400;600;700&display=swap");

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-image: url("../images/frontend/samaj_image.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #000;
    min-height: 100vh;
    margin: 0;
    height: 100%; */
    font-family: "Noto Sans Gujarati", sans-serif;
    background: linear-gradient(to bottom, #fff8e1, #ffffff);
}

/* 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;
}

/* MOBILE RESPONSIVE FOR IMAGES */
@media (max-width: 576px) {
    .same-size-samiti-img {
        height: 420px;
    }
}

.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;
    filter: grayscale(100%);
    transition: 0.3s;
}

.sponsor-carousel img:hover {
    filter: grayscale(0);
    transform: scale(1.1);
}

.hero {
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #dc3545;
    bottom: 0;
    left: 0;
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.vision-section {
    background: linear-gradient(180deg, #f8f9fa, #ffffff);
    /* padding-top: 80px; */
    padding-bottom: 80px;
}

.section-title {
    font-weight: 800;
    font-size: 32px;
    text-transform: uppercase;
    color: #0d6efd;
    display: inline-block;
}

.title-line {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    margin: 12px auto 0;
    border-radius: 5px;
}

.vision-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 60px 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.vision-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
}

.vision-img-wrapper {
    width: 240px;
    height: 240px;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #f1f3f5;
    /* transition: 0.4s ease; */
}

.vision-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-card:hover .vision-img-wrapper {
    border-color: #0d6efd;
    transform: scale(1.07);
}

.vision-card h4 {
    min-height: 70px; /* adjust if needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ===== NAVBAR BASE ===== */
.custom-navbar {
    background: transparent;
    padding: 18px 0;
    transition: all 0.4s ease;
    z-index: 999;
}

/* Logo size */
.navbar-brand img {
    height: 55px;
}

/* Nav links */
.custom-navbar .nav-link {
    color: #ffffff;
    font-weight: 500;
    margin-left: 15px;
    position: relative;
    transition: 0.3s;
}

/* Hover effect */
.custom-navbar .nav-link:hover {
    color: #ffd700;
}

/* Active link */
.custom-navbar .nav-link.active {
    color: #ffd700;
    font-weight: 600;
}

/* Scroll effect */
.custom-navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.custom-navbar.scrolled .nav-link {
    color: #000;
}

.custom-navbar.scrolled .nav-link.active {
    color: #0d6efd;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1);
}

.custom-navbar.scrolled .navbar-toggler-icon {
    filter: invert(0);
}

/* Login Pill Button */
.login-btn {
    background: #d4af37;
    color: #000 !important;
    padding: 7px 22px !important;
    border-radius: 30px;
    font-weight: 600;
    border-radius: 10%;
    transition: 0.3s;
}

.login-btn:hover {
    background: #ffffff;
    color: #000 !important;
}

/* History Section */

.timeline-section {
    background: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #ffd700, #ffb700);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-content h4 {
    font-weight: 700;
    color: #d4af37;
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    right: -9px;
    background: #ffd700;
    border: 4px solid #fff;
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::before {
    left: -9px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item::before {
        left: 11px;
    }
}

.mt-10 {
    margin-top: 10rem;
}

.slick-carousel .slide {
    position: relative;
    height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.slide {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps full cover */
    transform: translate(-50%, -50%) scale(1); /* very small zoom */
    animation: zoomVideo 30s ease-in-out infinite alternate;
}

@keyframes zoomVideo {
    0% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.fs-15 {
    font-size: 15px;
}

.fs-13-9 {
    font-size: 13.9px;
}

.desktop-video {
    display: block;
}

.mobile-video {
    display: none;
}

/* Mobile + Tablet */
@media (max-width: 991.98px) {
    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
    }
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    padding: 15px;
}

.table-wrapper table {
    width: 100%;
    min-width: 1000px; /* mobile scroll allow */
    border-collapse: collapse;
    font-size: 14px;
}

.table-wrapper thead {
    background: #2c5aa0;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-wrapper th,
.table-wrapper td {
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    text-align: left;
    vertical-align: top;
}

.table-wrapper tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.table-wrapper tbody tr:hover {
    background: #eef4ff;
    transition: 0.3s;
}
