
/*@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
--------------------------------------------------------------*/
/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  color: white;
  padding: 10px 20px;
  font-size: 14px;
}

.top-bar a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
}

.top-bar a i {
  font-size: 18px;
  color: white;
  margin-right: 10px;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: white;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.logo img {
  height: 50px;
}

.nav {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav img {
  width: 50px;
  height: auto;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  border: 2px solid #333;
  padding: 5px 10px;
  border-radius: 4px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li {
  position: relative;
}

.nav.active {
  display: block;
  position: fixed;
  right: 0;
  top: 0;
  width: 250px;
  background: #fff;
  height: 100%;
  z-index: 999;
}
  
  body.loaded .nav {
    visibility: visible;
  }
  
.navbar ul {
  display: flex;
  gap: 20px;
  list-style-type: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

 .navbar a,
 .navbar button,
 .dropbtn,
 .dropdown-content a {
   font-family: Arial, sans-serif; 
   font-size: 16px;
   font-weight: bold;
   color: black;
   text-decoration: none;
   display: inline-block;
   padding: 10px 15px;
   background: none;
   border: none;
   cursor: pointer;
   transition: color 0.3s;
 }

 .navbar a:hover,
 .navbar button:hover,
 .dropbtn:hover,
 .dropdown-content a:hover {
   text-decoration: underline;
   color: #007BFF;
 }

 .dropdown {
  position: relative;
  margin: 0;
  padding: 0; 
}

.dropdown-content {
  position:absolute;
  display: none;
  flex-direction: column; 
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 0;
  margin: 0; 
  visibility: hidden;
  opacity: 1;
  transition: opacity 0.3s ease;
}

    /* Icon inside dropdown */
.dropdown-icon {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* Rotate when open */
.dropdown.open .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown.open .dropdown-content {
  display: flex; 
  visibility: visible;
  flex-direction: column;
  opacity: 1;
}

.dropdown-content li {
  margin: 0;
  padding: 0;
  width: 100%;
  padding: 0px;
}

.dropdown-content li a {
  display: block; 
  width: 100%;
  padding: 5px 10px;
  color: black;
  text-decoration: none;
  font-weight: normal;
}

.dropdown-content li a:hover {
  background-color: #f1f1f1;
}

/* Hamburger and Close Icons */
.menu-icon {
  display: none;
}

.close-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

.dropbtn {
  margin: 0;
  padding: 12px 15px;
  width: 100%; 
  text-align: center;
}
ul.menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

ul.menu li {
  position: relative;
}

ul.menu li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  display: flex;
  align-items: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
  /* Hide top bar in mobile view */
  .top-bar {
    display: none;
  }

  .dropdown .dropbtn-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;           
    width: 100%;                   
    padding: 15px 20px;            
  }

  .dropdown .dropbtn {
    flex: 1;                       
    display: flex;
    align-items: center;
    padding: 0;                     
    margin: 0;                     
  }

  .dropdown .dropdown-icon-link {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .dropdown-icon {
    font-size: 14px;
  }

  /* Show menu toggle button */
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    border: 2px solid #333;
    border-radius: 4px;
  }

  /* Navigation menu styles */
  .nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    background: #fff;
    width: 250px;
    height: 100%;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding-top: 60px;
  }

  /* Show navigation menu when active */
  .nav.active {
    display: flex;
  }

  /* Close icon styles */
  .close-icon {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    z-index: 1001;
  }

  /* Navbar styles */
  .navbar ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .navbar ul li {
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee; /* Separator between items */
  }

  .navbar ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
  }

  /* Dropdown button styles */
  .dropbtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: black;
    text-align: left;
  }
  

  /* Dropdown content styles */
  .dropdown-content {
    display: none;
    background-color: #f8f9fa;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  /* Show dropdown content when open */
  .dropdown.open .dropdown-content {
    display: block;
  }

  /* Dropdown link styles */
  .dropdown-content li a {
    display: block;
    padding: 10px 20px;
    color: black;
    text-decoration: none;
    font-weight: normal;
  }

  .dropdown-content li a:hover {
    background-color: #eaeaea; /* Hover effect */
  }

  /* Remove border from dropdown parent */
  .navbar li.dropdown {
    border-bottom: none;
  }
}
/*header close*/

/*--------------------------------------------------------------
# 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;
  }
}