body {
  scroll-behavior: smooth;
  background-color: white;
  font-family: "Poppins", sans-serif;
}

.btn-outline-success:hover {
  background-color: #8BC34A;
  color: #fff;
}

.custom-navbar {
  position: fixed;
  z-index: 1;
  top: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: #000000;
  font-weight: medium;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  margin-top: 10px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  margin-right: 30px;
}

.nav-link:hover {
  color: #66023C;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  /* Adjust thickness of the underline */
  text-underline-offset: 5px;
  /* Adjust gap between text and underline */
}

.navbar-nav.nav-link.active,
.navbar-nav.nav-link.show {
  color: #000000 !important;
}

.contact-us-nav {
  white-space: nowrap;
}

.raclogo {
  width: 160px;
  height: 60px;
  margin-left: 5%;
}

.dropdown-menu {
  display: none;
  opacity: 90%;
  margin-top: 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  color: #000000;
  font-weight: medium;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
}

.dropdown-item:hover {
  background-color: #66023C;
  color: #fff;
}

.section-home {
  width: 100%;
  max-height: 1080px;
  background-image: url('images/home-bg.webp');
  background-image: width(100%) height(auto);
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0;
}

.row {
  height: 720px;
  margin-right: 0;
}

.home-content {
  margin-top: 13%;
  float: right;
  width: 50%;
  margin-right: 5%;
  align-content: center;
  margin-bottom: 0;
  max-height: 1080px;
}

.tag1 {
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 60px;
  font-weight: bold;
  text-align: center;
}

.tag2 {
  color: #FFDE59;
  font-family: "Oswald", sans-serif;
  font-size: 65px;
  font-weight: bold;
  text-align: center;
  margin-top: 1%;
}

.intro {
  color: #fff;
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: medium;
  text-align: center;
  margin-top: 4%;
  width: 100%;
}

.custom-btn {
  margin-top: 3%;
  margin-left: 40%;
  color: #fff;
  border: 2px solid #FFDE59;
  padding: 10px 20px;
  cursor: pointer;
}

.custom-btn:hover {
  background-color: #FFDE59;
  color: #000;
}

@keyframes slideshow {
  0% {
    background-image: url('images/rotafiesta\ exco.webp');
  }

  25% {
    background-image: url('images/rotafiesta\ 1.webp');
  }

  50% {
    background-image: url('images/timeless.webp');
  }

  75% {
    background-image: url('images/trans.webp');
  }

  100% {
    background-image: url('images/rcl2025.webp');
  }
}

.section-intro {
  float: inline-start;
  width: 100%;
  align-content: center;
  height: auto;
  background-size: cover;
  background-repeat: no-repeat;
  animation: slideshow 30s infinite;
  text-shadow: 2px 2px 4px #000000;
  margin-top: 0%;
}

.content-intro {
  width: 50%;
  height: 45%;
  margin-top: 18%;
  margin-left: 10%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
}

.intro-heading {
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  float: left;
  margin-top: 5%;
  margin-left: 5%;
  margin-right: 5%;
}

.intro-para {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: medium;
  text-align: justify;
  margin-top: 15%;
  margin-bottom: 5%;
  margin-left: 5%;
  margin-right: 5%;
}

.section-avenues {
  width: 100%;
  align-content: center;
  height: auto;
  max-height: 1080px;
}

.content-avenues {
  width: 100%;
  height: 100%;
  padding-left: 5%;
  padding-right: 5%;
  justify-items: center;
  align-items: center;
}

.avenues-heading {
  color: #66023C;
  font-family: "Oswald", sans-serif;
  font-size: 70px;
  font-weight: bold;
  text-align: center;
  margin-top: 5%;
}

.avenues-para {
  color: #000000;
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  font-weight: medium;
  text-align: center;
  margin-top: 2%;
}

.avenues-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 12px;
  margin-top: 5%;
  margin-left: 5%;
  margin-right: 5%;
  position: relative;
}

.avenues-list img {
  width: 70%;
  z-index: 0;
}

.avenues-list a {
  transition: 0.3s;
  width: 100%;
  font-size: 20px;
  text-align: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: #000000;
  position: relative;
  display: inline-block;
  margin-top: 10%;
}

.avenues-list p {
  margin-top: 5%;
}

.avenues-list span {
  margin-top: 0;
  text-align: center;
}

/* Apply a blur effect to all <a> tags within .avenues-list when the parent is hovered */
.avenues-list:hover a {
  transition: 0.3s;
  filter: blur(2px);
}

.avenues-list:hover {
  filter: blur(0);
}

/* Remove the blur effect from the <a> tag being hovered */
.avenues-list a:hover {
  filter: blur(0);
  opacity: 1;
  z-index: 10;
  height: 100%;
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.avenues-list p {
  font-weight: bold;
  margin-bottom: 4px;
}

.dropdown-description {
  font-size: 14px;
  position: absolute;
  left: 0;
  top: 100%;
  /* Adjust as needed to position the dropdown below the link */
  opacity: 0;
  width: 100%;
  height: 0;
  /* Or adjust to fit your design */

  /* background-color: rgba(255, 255, 255, 1); */
  /* Dropdown background */
  color: #333;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 16px;

  /* Dropdown text color */
  text-align: justify;
  /* padding: 4px 0px; */
  border-radius: 4px;
  /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); */
  /* Optional: Adds a shadow for better visibility */
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1;
  /* Ensure dropdown is above other content */
  /* margin-top: 0; */
  font-weight: medium;
}

.avenues-list a:hover .dropdown-description {
  height: auto;
  opacity: 1;
  /* Adjust if necessary to position correctly */
}



.avenues-list a:hover .dropdown-description p {
  font-size: 16px;
  font-weight: medium;
  text-align: justify;
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: 5%;
  margin-right: 5%;
}

.section-carousel {
  position: relative;
  width: 95%;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 40px;
  margin-top: 25%;
  margin-left: 2%;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  flex-direction: row;
  overflow: hidden;
}

.carousel-indicators {
  z-index: 0;
}

.carousel-item img {
  width: 35%;
  height: auto;
  margin: 1%;
  margin-left: 8%;
  border-radius: 50px;
}

.carousel-item:active {
  display: flex;
}

.carousel-item a {
  text-decoration: none;
}

.carousel-text {
  font-family: "Poppins", sans-serif;
  float: right;
  margin-top: 12%;
  width: 40%;
  margin-right: 10%;
  justify-content: center;
  align-items: center;
  text-align: justify;
  color: #000;
}

.carousel-text h4 {
  font-size: 40px;
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  color: #843161;
}

.carousel-text p {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.7);
}

.carousel-text h1 {
  text-align: left;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.5);
  border: 5px;
  color: black;
  padding: 10px;
  cursor: pointer;
  border-radius: 3px;
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}

button:hover {
  color: white;
  background-color: black;
}

#event_section {
  margin-top: 10%;
  display: block;
}

.events-header {
  align-self: stretch;
  height: 83px;
  padding-left: 90px;
  padding-right: 90px;
  flex-direction: column;
  gap: 15px;
  display: flex;
}

.events-title {
  color: #66023C;
  font-size: 60px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-align: center;
}

.line {
  width: 100%;
  height: 0px;
  border: 1px #66023C solid;
}

.event-slider {
  margin-top: 2%;
  padding: 5%;
  overflow-x: auto;
  display: flex;

  /* Hide scrollbar for WebKit browsers */
  ::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for Firefox */
  scrollbar-width: none;
  justify-content: center;
}

.event-wrapper {
  display: flex;
  gap: 20px;
  margin-left: 33%;
}

.card {
  flex: 0 0 auto;
  width: calc(100% / 2);
  /* Adjust the number of visible cards */
  min-width: 200px;
  max-width: 300px;
  transition: 0.4s;
}

.card:hover {
  transform: scale(1.08);
  transition: 0.4s;
}

.card-title {
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  font-size: 25px;
}

.card-body {
  text-align: center;
  color: #000000;
}

.card a {
  text-decoration: none;
}


.contactUs {
  background-color: #000000;
  color: white;
  margin-top: 15%;
  margin-left: 1%;
  height: 400px;
  width: 98%;
  border-radius: 20px 20px 0 0;
}

.title {
  width: 95%;
  display: flex;
  align-items: center;
  margin-left: 5%;
  padding-top: 2%;
}

.title img {
  width: 20%;
  float: left;
}

.title p {
  font-size: 14px;
  font-weight: medium;
  margin-left: 1%;
  margin-right: 5%;
  text-align: justify;
  font-family: "Poppins", sans-serif;
  float: right;
  margin-top: 1%;
}

.contact-details {
  width: 100%;
  text-align: center;
  margin-top: 6%;
  font-size: 24px;
  font-family: "Poppins", sans-serif;
}

.lineh1 {
  width: 12%;
  height: 0px;
  border: 2px #DB3864 solid;
  transform: rotate(90deg);
  margin-top: 0%;
}

.contact-details p {
  font-weight: medium;
}

.social-icons {
  display: flex;
  margin-left: 40%;
  width: 20%;

}

.social-icons img {
  width: 100%;
}

.copyright {
  font-size: 14px;
  color: white;
  text-align: center;
  margin-top: 1%;
}

.copyright span {
  color: #DB3864;
}


/* font-family: "Noto Serif Sinhala", serif; */

@media screen and (min-width: 1920px) {

  body {
    scroll-behavior: smooth;
    background-color: white;
  }

  .btn-outline-success:hover {
    background-color: #8BC34A;
    color: #fff;
  }

  .custom-navbar {
    position: fixed;
    z-index: 1;
    top: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .nav-link {
    color: #000000;
    font-weight: medium;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    margin-top: 10px;
  }

  .nav-link:hover {
    color: #66023C;
  }

  .navbar-nav.nav-link.active,
  .navbar-nav.nav-link.show {
    color: #000000 !important;
  }

  .custom-ul {
    margin-left: 10%;
  }

  .contact-us-nav {
    white-space: nowrap;
  }

  .raclogo {
    width: 160px;
    height: 60px;
    margin-left: 2%;
  }

  .dropdown-menu {
    display: none;
    opacity: 90%;
    margin-top: 0%;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0%;
  }

  .dropdown-item {
    color: #000000;
    font-weight: medium;
    font-size: 15px;
    font-family: "Poppins", sans-serif;
  }

  .section-home {
    width: 100%;
    max-height: 1080px;
    background-image: url('images/home-bg.webp');
    background-image: width(100%) height(auto);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
  }

  .row {
    height: 1080px;
  }

  .home-content {
    margin-top: 13%;
    float: right;
    width: 50%;
    margin-right: 5%;
    align-content: center;
    margin-bottom: 0;
    max-height: 1080px;
  }

  .tag1 {
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 60px;
    font-weight: bold;
    text-align: center;
  }

  .tag2 {
    color: #FFDE59;
    font-family: "Oswald", sans-serif;
    font-size: 65px;
    font-weight: bold;
    text-align: center;
    margin-top: 1%;
  }

  .intro {
    color: #fff;
    font-size: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: medium;
    text-align: center;
    margin-top: 4%;
    width: 100%;
  }

  .custom-btn {
    margin-top: 3%;
    margin-left: 40%;
    color: #fff;
    border: 2px solid #FFDE59;
    padding: 10px 20px;
    cursor: pointer;
  }

  .content-intro {
    width: 50%;
    height: 40%;
    margin-top: 20%;
    margin-left: 10%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
  }

  .carousel-text {
    font-family: "Poppins", sans-serif;
    float: right;
    margin-top: 15%;
    width: 40%;
    margin-right: 10%;
    text-align: justify;
    color: #000;
  }

  .carousel-text h4 {
    font-size: 32px;
    font-weight: bold;
    color: #843161;
  }

  .carousel-text h1 {
    font-size: 41px;
  }

  .carousel-text p {
    font-size: 24px;
  }

  .contactUs {
    background-color: #000000;
    color: white;
    margin-top: 15%;
    margin-left: 1%;
    height: 450px;
    width: 98%;
    border-radius: 20px 20px 0 0;
  }
}

@media (max-width: 768px) {
  .custom-ul {
    margin-left: 0;
  }

  .nav-link {
    font-size: 16px;
  }

  .section-home {
    background-image: url('./images/home-bg-mobile.webp');
    background-image: width(100%) height(auto);
    background-size: cover;
    background-repeat: no-repeat;
  }

  .section-home,
  .content-intro {
    width: 100%;
  }

  .home-content {
    margin-top: 30%;
  }

  .home-content {
    width: 80%;
    text-align: center;
    float: none;
    margin-left: 10%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    /* Adding shadow with some transparency */
  }

  .tag1 {
    font-size: 40px;

  }

  .tag2 {
    font-size: 45px;
  }

  .intro {
    font-size: 16px;
  }

  .custom-btn {
    margin-left: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    /* Adding shadow with some transparency */
  }

  .section-intro {
    float: none;
    width: 100%;
    align-content: center;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    animation: slideshow 30s infinite;
    text-shadow: 2px 2px 4px #000000;
  }

  .content-intro {
    width: 80%;
    height: 35%;
    margin-top: 20%;
    margin-left: 10%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
  }

  .intro-heading {
    font-size: 28px;
    margin-top: 5%;
  }

  .intro-para {
    font-size: 16px;
    margin-top: 15%;
    width: 90%;
  }

  .row {
    height: 768px;
  }

  .content-avenues {
    align-content: center;
    text-align: center;
  }


  .content-avenues {

    padding-left: 0%;
    padding-right: 0%;
  }

  .avenues-list img {
    width: 100%;
  }

  .avenues-heading {
    font-size: 60px;
    margin-top: 0;
  }

  .avenues-para {
    font-size: 20px;
    width: 100%;
    align-items: center;

  }

  .avenues-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 80%;
    font-size: 20px;
    font-weight: medium;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: #000000;
    margin-left: 10%;

  }

  .avenues-list:hover a {
    filter: blur(0);
  }

  .section-carousel {
    margin-left: 10%;
    align-items: center;
    width: 80%;
    margin-top: 180%;
  }

  .carousel-item img {
    width: 70%;
    margin-left: 15%;
  }

  .carousel-text {
    width: 100%;
    margin: 5% 0;
    text-align: center;
    float: none;
    padding: 5%;
  }

  .carousel-text h4 {
    font-size: 18px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .carousel-text h1 {
    font-size: 25px;
  }

  .carousel-text p {
    font-size: 14px;
    width: 80%;
    margin-left: 10%;
  }

  button.prev,
  button.next {
    padding: 5px;
    font-size: 14px;
  }

  .event-wrapper {
    padding-left: 15%;
    padding-right: 5%;
  }

  .title {
    width: 95%;
    display: flex;
    align-items: center;
    padding-top: 2%;
    flex-direction: column;
  }

  .lineh1 {
    width: 100%;
    height: 0px;
    border: 2px #DB3864 solid;
    transform: rotate(0deg);
    margin-top: 0%;
  }

  .title img {
    width: 40%;
    align-items: center;
  }

  .title p {
    font-size: 12px;
  }

  .social-icons {
    display: flex;
    margin-left: 30%;
    width: 40%;
  }

  .copyright {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .nav-link {
    font-size: 14px;
  }

  .custom-btn {
    padding: 5px 10px;
    margin-left: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
  }

  .home-content {
    width: 80%;
    margin: 50% auto 0 auto;
    max-height: 1080px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    align-content: center;
  }

  .tag1 {
    font-size: 30px;
  }

  .tag2 {
    font-size: 35px;
  }

  .intro {
    font-size: 14px;
  }

  .section-home {
    width: 100%;
    max-height: 1080px;
    background-image: url('./images/home-bg-mobile.webp');
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
  }

  .section-intro {
    float: none;
    width: 100%;
    align-content: center;
    height: 300px;
    background-size: contain;
    background-repeat: no-repeat;
    animation: slideshow 30s infinite;
    text-shadow: 2px 2px 4px #000000;
  }

  .content-intro {
    width: 80%;
    height: 30%;
    margin: 10% 10% 0 10%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
  }

  .intro-heading {
    font-size: 20px;
    margin-top: 1%;
  }

  .intro-para {
    font-size: 10px;
    margin: 18% 0 1% 0;
  }

  .row {
    height: 576px;
  }

  .section-avenues {
    padding-top: 0;
    margin-top: 0;
  }

  .content-avenues {

    padding-left: 0%;
    padding-right: 0%;
  }


  .avenues-heading {
    font-size: 40px;
    margin-top: 0;
  }

  .avenues-para {
    font-size: 16px;
  }

  .avenues-list:hover a {
    filter: blur(0);
  }

  .section-carousel {
    margin-left: 10%;
    align-items: center;
    width: 80%;
    margin-top: 250%;
  }

  .carousel-item img {
    width: 90%;
    margin-left: 5%;
  }

  .carousel-text {
    margin: 2% 0;
    padding: 5%;
  }

  .carousel-text h4 {
    font-size: 18px;
    padding: 0 10px;

  }

  .carousel-text h1 {
    text-align: center;
    font-size: 24px;
  }

  .carousel-text p {
    font-size: 12px;
  }

  button.prev,
  button.next {
    padding: 3px;
    font-size: 12px;
  }

  .events-title {
    font-size: 40px;
  }

  .event-wrapper {
    margin-left: 12%;
  }

  .title {
    width: 95%;
    display: flex;
    align-items: center;
    padding-top: 2%;
    flex-direction: column;
  }

  .lineh1 {
    width: 100%;
    height: 0px;
    border: 2px #DB3864 solid;
    transform: rotate(0deg);
    margin-top: 0%;
  }

  .title img {
    width: 50%;
    align-items: center;
  }

  .title p {
    font-size: 12px;
  }

  .social-icons {
    display: flex;
    margin-left: 25%;
    width: 50%;
  }

  .copyright {
    font-size: 12px;
  }
}

@media (max-width: 375px) {
  .nav-link {
    font-size: 14px;
  }

  .custom-btn {
    padding: 5px 10px;
    margin-left: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
  }

  .home-content {
    width: 80%;
    margin: 50% auto 0 auto;
    max-height: 1080px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    align-content: center;
  }

  .tag1 {
    font-size: 30px;
  }

  .tag2 {
    font-size: 35px;
  }

  .intro {
    font-size: 14px;
  }

  .section-home {
    width: 100%;
    max-height: 1080px;
    background-image: url('./images/home-bg-mobile.webp');
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
  }

  .section-intro {
    float: none;
    width: 100%;
    align-content: center;
    height: 300px;
    background-size: contain;
    background-repeat: no-repeat;
    animation: slideshow 30s infinite;
    text-shadow: 2px 2px 4px #000000;
  }

  .content-intro {
    width: 80%;
    height: 30%;
    margin: 10% 10% 0 10%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
  }

  .intro-heading {
    font-size: 20px;
    margin-top: 1%;
  }

  .intro-para {
    font-size: 10px;
    margin: 18% 0 1% 0;
  }

  .row {
    height: 576px;
  }

  .content-avenues {

    padding-left: 0%;
    padding-right: 0%;
  }

  .section-avenues {
    padding-top: 0;
    margin-top: 0;
  }

  .avenues-heading {
    font-size: 40px;
    margin-top: 0;
  }

  .avenues-para {
    font-size: 16px;
  }

  .avenues-list {
    margin-left: 0;
  }

  .avenues-list:hover a {
    filter: blur(0);
  }

  .section-carousel {
    margin-left: 10%;
    align-items: center;
    width: 80%;
    margin-top: 250%;
  }

  .carousel-item img {
    width: 90%;
    margin-left: 5%;
  }

  .carousel-text {
    margin: 2% 0;
  }

  .carousel-text h4 {
    font-size: 18px;
    padding: 0 10px;
  }

  .carousel-text p {
    font-size: 12px;
  }

  button.prev,
  button.next {
    padding: 3px;
    font-size: 12px;
  }

  .events-title {
    font-size: 40px;
  }

  .event-wrapper {
    margin-left: 10%;
  }

  .title {
    width: 95%;
    display: flex;
    align-items: center;
    padding-top: 2%;
    flex-direction: column;
  }

  .lineh1 {
    width: 100%;
    height: 0px;
    border: 2px #DB3864 solid;
    transform: rotate(0deg);
    margin-top: 0%;
  }

  .title img {
    width: 50%;
    align-items: center;
  }

  .title p {
    font-size: 12px;
  }

  .social-icons {
    display: flex;
    margin-left: 25%;
    width: 50%;
  }

  .copyright {
    font-size: 12px;
  }
}