
/*@import url('https://fonts.googleapis.com/css2?family=Montserrat+Display&display=swap');*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html, body {
  font-family: "Montserrat", sans-serif;
  color: #444444;
  overflow-x: hidden;
  height: 100%;
}

a {
  color: #009cea;
  text-decoration: none;
}
#vm
{
  text-decoration: none;
  color: white;
}
a:hover {
  color: #1eb4ff;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: rgb(22, 139, 248);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: rgb(22, 139, 248);
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 72px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  background: #fff;
}
#header.header-scrolled {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}
#header .logo h1 {
  font-size: 28px;
  margin: 0;
  line-height: 0;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: "Open Sans", sans-serif;
}
#header .logo h1 a, #header .logo h1 a:hover {
  color: #576971;
  text-decoration: none;
}
#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}
/*-------------------------
# Scroll-bar
----------------------------*
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background-color:rgb(0, 0, 0);
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: linear-gradient(rgb(161, 125, 245), rgb(127, 237, 251),rgb(138, 95, 238));
  border-radius: 10px;
}
/*--------------------------------------------------------------
# Header Social Links
--------------------------------------------------------------*/
.header-social-links {
  margin: 0 0 0 30px;
}
@media (max-width: 768px) {
  .header-social-links {
    margin: 0 15px 0 0;
  }
}
.header-social-links a {
  color: #7b909a;
  display: inline-block;
  line-height: 0px;
  transition: 0.3s;
  padding-left: 10px;
}
.header-social-links a:hover {
  color: #009cea;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}
.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar li {
  position: relative;
}
.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  color: #7b909a;
  white-space: nowrap;
  transition: 0.3s;
}
.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: rgb(22, 139, 248);
}
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}
.navbar .dropdown ul li {
  min-width: 200px;
}
.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  color: #003651;
}
.navbar .dropdown ul a i {
  font-size: 12px;
}
.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: rgb(22, 139, 248);
}
.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}
.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}
.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}
@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #364146;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}
.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}
.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(32, 38, 41, 0.9);
  transition: 0.3s;
  z-index: 999;
}
.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}
.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}
.navbar-mobile a, .navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #364146;
}
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: rgb(22, 139, 248);
}
.navbar-mobile .getstarted, .navbar-mobile .getstarted:focus {
  margin: 15px;
}
.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}
.navbar-mobile .dropdown ul li {
  min-width: 200px;
}
.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}
.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}
.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: rgb(22, 139, 248);
}
.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
#events {
  width: 100%;
  height: 100vh;
  background-image: url("../img/OFBJP_banner.jpg");
  background-repeat: no-repeat;
  background-position:center;
  margin-top: 70px;
  overflow-x: hidden;
  padding: 60px 0;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 991px) {
  #events {
    background-size: contain; /* Ensures the whole image is visible */
    background-position: center center; /* Centers the image */
    height: 50vh; /* Increase height on mobile to show more of the image */
    display: flex;
    justify-content: center;
    align-items: start;
    margin-top: 70px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f7f8f9;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 20px;
  padding-bottom: 0;
  font-family: "Poppins", sans-serif;
  color: #627680;
}
.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  padding: 0;
  margin-top: 40px;
}
.about .container {
  background-color: #f7f8f9;
  padding: 60px 50px;
}
@media (max-width: 992px) {
  .about .container {
    padding: 30px;
  }
}
.about .content h3 {
  font-weight: 400;
  font-size: 32px;
  color: #364146;
  font-family: "Poppins", sans-serif;
}
.about .content ul {
  list-style: none;
  padding: 0;
}
.about .content ul li {
  padding-bottom: 10px;
}
.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #28a745;
}
.about .content p:last-child {
  margin-bottom: 0;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #364146;
  padding: 0 0 30px 0;
  color: #f7f8f9;
  font-size: 14px;
  justify-content: center;
  text-align: center;
}
#footer .footer-top {
  background: #364146;
  padding: 60px 0 30px 0;
  
}
#footer .footer-top .footer-info {
  margin-bottom: 30px;
}
#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}
#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #333030;
}
#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #364146;
  color: #8a9ca5;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  padding-bottom: 12px;
}
#footer .footer-top .footer-links {
  margin-bottom: 30px;
}
#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  
  font-size: 18px;
  line-height: 1;
  margin-left: 100px;
  align-items: right;
}
#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: right;
}
#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}
#footer .footer-top .footer-links ul a {
  color: #ffffff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
  text-align: right;
}



#footer .copyright {
  text-align: center;
  padding-top: 30px;
}
#footer .credits {
  padding-top: 8px;
  text-align: center;
  font-size: 13px;
  color: #364146;
}

.button-color1 {
  background-color: #2228d1;
  color: #ffffff;
  margin: 4px auto;
  padding: 4px 10px;
  border-radius: 4px;
  transform: skewX(-10deg);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: 16px;
}

.button-color1:hover {
  color: white;
}

.button-color2 {
  background-color: #ec08a4;
  color: #ffffff;
  margin: 4px auto;
  padding: 4px 10px;
  border-radius: 4px;
  transform: skewX(-10deg);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  position: relative;
  font-size: 16px;
}

.button-color2:hover {
  color: white;
}

.container-page {
  position: relative;
  background-color: white;
  width: 80%;
  border-width: 2px;
  border-style: dashed;
  border-radius: 0px;
  border-color: rgba(60, 5, 5, 0.975);
  padding: 16px;
}

.container-page1 {
  position: relative;
  background-color: white;
  width: 50%;
  border-width: 2px;
  border-style: dashed;
  border-radius: 0px;
  border-color: rgba(60, 5, 5, 0.975);
  padding: 16px;
}

.active {
  display: none;
}

@media (max-width: 991px) {
  .container-page1 {
    width: 70%;
  }

  .container-page {
    width: 70%;
  }
}

.container-page.active {
  display: block;
}

.upload-login-container {
  background-color: rgb(22, 139, 248);
  background-size: cover;
  background-position: center;
  margin-top: 70px;
  padding: 60px;
  width: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  background-color: rgb(251, 250, 250);
  padding: 32px;
  border-radius: 12px;
  width: 35%;
}

@media (max-width: 991px) {
  .upload-login-container {
    align-items: start;
  }

  .form-container {
    width: 70%;
  }
}

.button-add-recent-events {
  background-color: #d206fb;
  color: #ffffff;
  margin: 4px auto;
  padding: 4px 10px;
  border-radius: 4px;
  transform: skewX(-10deg);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: 16px;
  border-width: 0px;
}

.button-add-upcoming-events {
  background-color: #05ccf8;
  color: #ffffff;
  margin: 4px auto;
  padding: 4px 10px;
  border-radius: 4px;
  transform: skewX(-10deg);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: 16px;
  border-width: 0px;
}

/*for constant of footer*/
.wrapper {
  display: flex;
  flex-direction: column; /* Stack content vertically */
  min-height: 100vh; /* Ensure wrapper spans the full viewport height */
}

/* 2nd method css */

/* Main image styling 
.main-image-container {
  text-align: center;
  margin-bottom: 10px;
}

.main-image-container img {
  max-width: 100%;
  max-height: 400px;
  cursor: pointer;
}

// Carousel styling 
.carousel {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
}

.carousel-image {
  width: 100px;
  height: 100px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.carousel-image:hover {
  border: 2px solid #007bff;
}

// Modal for fullscreen 
.fullscreen-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen-modal img {
  max-width: 90%;
  max-height: 90%;
}
*/

/* 3rd method css */

/*
// Main image container 
.main-image-container {
  position: relative; 
  text-align: center;
  margin-bottom: 10px;
}

.main-image-container img {
  max-width: 100%;
  max-height: 400px;
  cursor: pointer;
}

// Navigation buttons 
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #007bff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.carousel-button:hover {
  color: #007bff;
}

.carousel-button:focus {
  outline: none;
}

 Left button 
.carousel-button.left {
  left: 10px;
}

// Right button 
.carousel-button.right {
  right: 10px;
}

// Modal for fullscreen 
.fullscreen-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen-modal img {
  max-width: 90%;
  max-height: 90%;
}*/


/* 4th method method css */

/* Main image container */
.main-image-container {
  position: relative;
  text-align: center;
  margin-bottom: 10px;
}

.main-image-container video,
.main-image-container img {
  max-width: 100%;
  cursor: pointer;
}

.media-styling {
  width: 50vw;
  height: 40vh; 
  object-fit: contain;
}

.full-media-styling {
  width: 100%;
  height: 100vh; 
  object-fit: contain;
}

@media (max-width: 991px) {
  .media-styling {
    width: 80%;
    height: auto; 
  }
  
  .full-media-styling {
    width: 100%;
    height: auto;
  }
}

/* Navigation buttons */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #007bff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.carousel-button:hover {
  color: #007bff;
}

.carousel-button:focus {
  outline: none;
}

/* Left button */
.carousel-button.left {
  left: 10px;
}

/* Right button */
.carousel-button.right {
  right: 10px;
}

/* Fullscreen modal */
.fullscreen-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen-modal video,
.fullscreen-modal img {
  max-width: 90%;
  max-height: 90%;
  justify-content: center;
  align-items: center;
}

.fullscreen-modal .carousel-button {
  color: #007bff;
  font-size: 32px;
  background: none;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.fullscreen-modal .carousel-button.left {
  left: 20px;
}

.fullscreen-modal .carousel-button.right {
  right: 20px;
}


/* 2nd method of events page*/

.events-page1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 60%;
  padding: 16px;
}

.recent-events-page {
  background-color: #dbdcff;
  border-radius: 8px;
  border-width: 1px;
  border-style: dashed;
  padding: 16px;
  margin: 10px;
}

.recent-events-page h2 {
  padding-top: 20px;
  padding-bottom: 10px;
}

.recent-events-page h2 span {
  font-size: 24px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: 24px;
  margin-bottom: 12px;
}

.recent-events-page h2 p {
  font-size: 16px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.recent-events-page h2 a {
  background-color: #2228d1;
  color: #ffffff;
  margin: 4px auto;
  padding: 4px 10px;
  border-radius: 4px;
  transform: skewX(-10deg);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  position: relative;
  font-size: 16px;
}

.upcoming-events-page {
  background-color: #d0bacc;
  border-radius: 8px;
  border-width: 1px;
  border-style: dashed;
  padding: 16px;
  margin: 10px;
}

.upcoming-events-page h2 {
  padding-top: 20px;
  padding-bottom: 10px;
}

.upcoming-events-page h2 span {
  font-size: 24px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 12px;
}

.upcoming-events-page h2 p {
  font-size: 16px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.upcoming-events-page h2 a {
  background-color: #ec08a4;
  color: #ffffff;
  margin: 4px auto;
  padding: 4px 10px;
  border-radius: 4px;
  transform: skewX(-10deg);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  position: relative;
  font-size: 16px;
}

@media (max-width: 991px) {
  .events-page1 {
    width: 75%;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Center align them */
  }

  .recent-events-page1,
  .upcoming-events-page1 {
    width: 100%;
    margin-bottom: 10px;
  }

  .recent-events-page h2 a,
  .upcoming-events-page h2 a {
    width: 60%;
  }
}

@keyframes scrollText {
  from {
      /* transform: translateX(-100%); */
      opacity: 0;
  }
  to {
      /* transform: translateX(100%); */
      opacity: 1;
  }
}

.samooha-heading {
  font-style: italic;
  font-family: 'Times New Roman', Times, serif;
  color: #28a745;
  /* white-space: nowrap;
  animation: scrollText 5s linear infinite; */
}

/* Hide part of the text on small screens */
@media (max-width: 768px) {
  .samooha-heading::after {
    content: "SAMOOHA";
    display: inline;
  }
  
  .samooha-heading {
    font-size: inherit; /* Keep the size same */
    visibility: hidden;
    position: relative;
  }

  .samooha-heading::after {
    visibility: visible;
    position: absolute;
    left: 0;
  }
}