@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: black;
}

body {
    width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
}

.theme-text {
    color: #C4261C;
}

p {
    font-size: 18px;
}

.virasat-banner {
    height: 100vh;
    min-height: 600px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    /* position: relative; */
    z-index: 2;

    .know-more-button {
        background-color: #FFAA5A;
        box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.25);
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);

        &:hover {
            background-color: #ffa25a;
        }
    }
    .event-photos-button {
        background-color: #FFAA5A;
        box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.25);
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);

        &:hover {
            background-color: #ffa25a;
        }   
}
}

.hero-section {
    position: relative;
}

#hero-section-container h3{
    top: 50%;
    left: 20%;
}

.circle-svg {
    position: absolute;
    top: 0%;
    /* Center vertically */
    left: 0;
    /* Align to the left end */
    /* transform: translate(-50%, 0); */
    /* Adjust position */
    z-index: 1;
    width: 200px;
    /* Set desired size */
    /* height: 30px; */
    /* height: 50%; */
    /* overflow: hidden; */
    /* Hides the clipped portion */
}

.circle-svg2 {
    position: absolute;
    bottom: 0%;
    /* Center vertically */
    right: 0;
    /* Align to the left end */
    /* transform: translate(-50%, 0); */
    /* Adjust position */
    z-index: 1;
    width: 200px;
    /* Set desired size */
    /* height: 30px; */
    /* height: 50%; */
    /* overflow: hidden; */
    /* Hides the clipped portion */
}

.circle-svg3 {
    position: absolute;
    top: 0%;
    /* Center vertically */
    right: 0;
    /* Align to the left end */
    /* transform: translate(-50%, 0); */
    /* Adjust position */
    z-index: 1;
    width: 100px;
    /* Set desired size */
    /* height: 30px; */
    /* height: 50%; */
    /* overflow: hidden; */
    /* Hides the clipped portion */
}

.home-nav {
    background-color: #FFECDB;

    .nav-link {
        color: #1A1A1A;
    }

@media (max-width: 320px) {
  .virasat2026-button {
    width: 50%;
    text-align: center;
  }

  .virasat-button {
    width: 50%;
    text-align: center;
  }
}

    .virasat-button {
        background-color: #FFAA5A;
        box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.25);
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);

        &:hover {
            background-color: #ffa25a;
        }
    }

    .virasat2026-button {
        background-color: #FFAA5A;
        box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.25);
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);

        &:hover {
            background-color: #ffa25a;
        }

    }
}

.box-shadow {
    box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.25);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}

.hero-section {
    background-color: #FFF7EF;
    font-family: "Nunito Sans", serif;
}

.bg-theme {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 2;
    background: linear-gradient(to right, rgba(255, 242, 0, 0.9), rgba(196, 38, 28, 0.9));
}

/* .fixed-position for fixed navbar  */
.fixed-position {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgba(255, 242, 0, 0.9), rgba(196, 38, 28, 0.9));
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

footer {
    background: linear-gradient(to right, rgba(255, 242, 0, 0.9), rgba(196, 38, 28, 0.9));
    box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.25);
    z-index: 1;
    position: relative;
}

main {
    position: relative;
    z-index: 1;
    /* Necessary for pseudo-element positioning */
    background-color: #f5f5f5;
    /* Fallback color if the image doesn't load */
    overflow: hidden;
    /* Prevent pseudo-element from overflowing */
}

main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../public/background-image.png");
    background-size: cover;
    background-position: center;
    /* Ensure the image covers the full area */
    opacity: 0.4;
    /* Reduce the opacity of the image */
    z-index: -1;
    /* Place behind the content */
}


.parallax-image {
    height: 100vh;
    position: relative;

}

/* Parallax section with background image */
.parallax-section {
    position: relative;
    /* Needed for overlay positioning */
    min-height: 700px;
    height: 100vh;
    /* Full viewport height */
    background-image: url('../public/parallax-bg.jpeg');
    /* Replace with your image URL */
    background-attachment: fixed;
    /* Fix the image in place */
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    /* Prevent tiling */
    background-size: cover;
    /* Scale the image to cover the section */
    color: white;
    /* White text for readability */
    text-align: center;
}

/* Add a black overlay to darken the background image */
.parallax-section::before {
    content: '';
    /* Necessary for the pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* Black overlay with 55% opacity */
    z-index: 1;
    /* Place overlay above the image but below the text */
}

.parallax-section * {
    position: relative;
    z-index: 2;
}

.slider {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 80vh;          /* relative to screen */
  max-height: 550px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .slide img {
    height: 50vh;
  }
}

@media (max-width: 500px) {
  .slide img {
    height: 45vh;
  }
}

@media (max-width: 400px) {
  .slide img {
    height: 25vh;
  }
}



.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  color: white;
}

.overlay a{
    margin-bottom: 10px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: white;
  font-size: 40px;
  padding: 8px 14px;
  cursor: pointer;
}

.nav.prev { left: 40px; }
.nav.next { right: 50px; }


.carousel-inner {
    position: relative;
    /* z-index: 2; */

    &::before {
        content: '';
        overflow: hidden;
        /* Necessary for the pseudo-element */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        /* Black overlay with 55% opacity */
        z-index: 1;
        /* Place overlay above the image but below the text */
    }

    img {
        min-height: 500px;
        max-height: 600px;
        object-fit: cover;
        /* Ensures the image maintains aspect ratio and crops itself */
    }
}

.carousel-inner .carousel-item .carousel-caption {
    z-index: 2;
}

.team-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;

    img {
        grid-area: 1 / 2 / 3 / 3;
        z-index: 1;
    }

    .team-card-body {
        grid-area: 2 / 1 / 5 / 4;
        background-color: white;
    }

    .content {
        grid-area: 3 / 1 / 6 / 4;
    }
}

.supporter {
    max-width: 100%;
    max-height: 150px;
    max-width: 200px;
    /* Adjust the max-height as needed */
    object-fit: contain;
}

.modal-backdrop {
    --bs-backdrop-zindex: 0;
}
/* 1. Style the Container to hold everything together */
.dropdown {
  position: relative;
  display: inline-block;
}

/* 2. Style the Main 'Virasat' Button */
.dropbtn {
  background-color: #F4A460; /* Matches the orange in your image */
  color: black;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 4px; /* Slight rounding like your current buttons */
  cursor: pointer;
}

/* 3. Style the Hidden Menu (The dropdown part) */
.dropdown-content {
  display: none; /* Hidden by default */
  position: absolute;
  background-color: #ffffff;
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of links when you hover over them */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* 4. The Magic: Show the menu when hovering over the container */
.dropdown:hover .dropdown-content {
  display: block;
}