/****Home page***/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
}

header {
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 80px;
  transition: 0.5s ease;
  background-color: white;
  font-size: 12px;
  font-weight: bold;
}

header img {
  margin-top: 10px;
  height: 30px;
}

header .brand {
  color: #000;
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

header .navigation {
  position: relative;
}

header .navigation .navigation-item a {
  position: relative;
  color: #000;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  margin-left: 30px;
  transition: 0.3s ease;
}

header .navigation .navigation-item a:before {
  content: '';
  position: absolute;
  background: #9effa0;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  transition: 0.3s ease;
}

header .navigation .navigation-item a:hover:before {
  width: 100%;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  padding: 10px;
  border: 1px solid #ddd;
}

.dropdown-toggle:hover+.dropdown-menu {
  display: block;
}

section {
  padding: 100px 200px;
}

.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: #679d67;
}

.home::before {
  z-index: 777;
  content: '';
  position: absolute;
  background: rgba(18, 239, 6, 0.3);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.home .content {
  z-index: 888;
  color: #fff;
  width: 70%;
  margin-top: 50px;
  display: none;
}

.home .content.active {
  display: block;
}

.home .content h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 5px;
  line-height: 45px;
  margin-bottom: 15px;
}

.home .content h1 span {
  font-size: 1.2em;
}

.home .content p {
  margin-bottom: 65px;
}

.home .content a {
  background: #fff;
  padding: 15px 35px;
  color: #56CD58;
  font-size: 1.1em;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
}

.home .media-icons {
  z-index: 888;
  position: absolute;
  right: 30px;
  display: flex;
  flex-direction: column;
  transition: 0.5s ease;
}

.home .media-icons a {
  color: #fff;
  font-size: 1.6em;
  transition: 0.3s ease;
}

.home .media-icons a:not(:last-child) {
  margin-bottom: 20px;
}

.home .media-icons a:hover {
  transform: scale(1.3);
}

.home video {
  z-index: 000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-navigation {
  z-index: 888;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(80px);
  margin-bottom: 12px;
}

.slider-navigation .nav-btn {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
  transition: 0.3s ease;
}

.slider-navigation .nav-btn.active {
  background: #56CD58;
}

.slider-navigation .nav-btn:not(:last-child) {
  margin-right: 20px;
}

.slider-navigation .nav-btn:hover {
  transform: scale(1.2);
}

.video-slide {
  position: absolute;
  width: 100%;
  clip-path: circle(0% at 0 50%);
}

.video-slide.active {
  clip-path: circle(150% at 0 50%);
  transform: 2s ease;
  transition-property: clip-path;
}

@media (max-width: 1040px) {
  header {
    padding: 12px 20px;
  }

  section {
    padding: 100px 20px;
  }

  .home .media-icons {
    right: 15px;
  }

  header .navigation {
    display: none;
  }

  header .navigation.active {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(1, 1, 1, 0.5);
  }

  header .navigation .navigation-item a {
    color: #222;
    font-size: 1.2em;
    margin: 20px;
  }

  header .navigation .navigation-item a::before {
    background: #56CD58;
    height: 5px;
  }

  header .navigation.active .navigation-item {
    background: #fff;
    width: 600px;
    max-width: 600px;
    margin: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
  }

  header .navigation {
    display: none;
    /* Hidden by default */
  }

  header .navigation.active {
    display: flex;
    /* Shown when 'active' class is added */
  }

  .menu-btn {
    background: url(../assets/menu.png)no-repeat;
    background-size: 30px;
    background-position: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: 0.3s ease;
    display: block;
  }

  .menu-btn.active {
    z-index: 999;
    background: url(../assets/close.png)no-repeat;
    background-size: 25px;
    background-position: center;
    transition: 0.3s ease;
    display: block;
  }
}




/******dropdown css****/
/* Dropdown Menu Styles */
/* General Navigation Styling */
.navigation-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

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

/* Show Dropdown Menu on Hover */
.dropdown:hover .dropdown-menu {
  display: block;
}


.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
  vertical-align: middle;
  font-size: 16px;
  margin-left: 5px;
}

/*******home page end here****/

/* For Peer-to-Peer Support Page */
.peer-support {
  padding: 100px 200px;
  background-color: #f5f5f5;
  color: #333;
}

.peer-support h1 {
  font-size: 3em;
  color: #2696E9;
  margin-bottom: 20px;
}

.peer-support p {
  font-size: 1.2em;
  line-height: 1.6em;
}

.forums,
.chat-rooms,
.private-messaging {
  margin-bottom: 40px;
}

.forums h2,
.chat-rooms h2,
.private-messaging h2 {
  font-size: 2em;
  color: #4d79ff;
  margin-bottom: 15px;
}

.forum,
.chat-room {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.forum h3,
.chat-room h3 {
  font-size: 1.5em;
  margin: 0 0 10px 0;
}

@media screen and (max-width: 768px) {
  .peer-support {
    padding: 50px 20px;
  }

  .peer-support h1 {
    font-size: 2.5em;
  }

  .peer-support p {
    font-size: 1em;
  }

  .forum,
  .chat-room {
    padding: 15px;
  }

  .forum h3,
  .chat-room h3 {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 480px) {
  .peer-support h1 {
    font-size: 2em;
  }

  .peer-support p {
    font-size: 0.9em;
  }

  .forum,
  .chat-room {
    padding: 10px;
  }

  .forum h3,
  .chat-room h3 {
    font-size: 1em;
  }
}


/* For Interactive Workshops Page */
/* Main Container */
.workshops-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-section {
  text-align: center;
  margin-bottom: 30px;
}

.filter-section h2 {
  font-size: 1.8em;
  color: #2c3e50;
}

.filter-section p {
  font-size: 1.1em;
  color: #7f8c8d;
}

.filter-buttons {
  margin-top: 20px;
}

.filter-btn {
  background-color: #27ae60;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  margin: 10px;
  font-size: 1.1em;
}

.filter-btn:hover {
  background-color: #2ecc71;
}

/* Workshops List */
.workshops-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.workshop-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  text-align: center;
}

.workshop-item:hover {
  background-color: #f4f4f4;
}

.video-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.workshop-item h3 {
  color: #2c3e50;
  font-size: 1.4em;
  margin: 10px 0;
}

.workshop-item p {
  color: #7f8c8d;
  margin-bottom: 10px;
}

.join-btn,
.watch-btn {
  background-color: #e67e22;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 10px;
}

.join-btn:hover,
.watch-btn:hover {
  background-color: #d35400;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 15px;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .workshops-list {
    grid-template-columns: 1fr;
  }
}


/* Wellness Challenges Styling */
.challenges {
  padding: 40px 20px;
  background-color: #f9f9f9;
  color: #ff9933;
  ;
}

.challenges h1,
.challenges h2 {
  text-align: center;
  margin-bottom: 20px;
}

.challenges p {
  text-align: center;
  margin-bottom: 40px;
}

/* Progress Bar Styling */
.progress-bar {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-fill {
  height: 30px;
  background-color: #00b894;
  text-align: center;
  line-height: 30px;
  color: #fff;
  font-weight: bold;
}

/* Card Layout and Styling */
.challenge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* Adds space between cards */
}

.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1 1 calc(50% - 20px);
  /* Takes 50% of container width minus the gap */
  margin-bottom: 20px;
}

.card-content {
  padding-bottom: 10px;
}

.card-action {
  text-align: center;
}

.card .btn {
  width: 100%;
}

/* Rewards Styling */
.rewards {
  margin-top: 50px;
  text-align: center;
}

.rewards ul {
  list-style-type: none;
  padding: 0;
}

.rewards ul li {
  margin: 10px 0;
  font-size: 1.2em;
  color: #00b894;
}

/* Button Styling */
.btn {
  background-color: #0073e6;
  color: #fff;
  font-size: 1em;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.btn:hover {
  background-color: #005bb5;
}

/* Responsive Layout */
@media screen and (max-width: 768px) {
  .challenges {
    padding: 20px 10px;
  }

  .challenge-list {
    flex-direction: column;
  }

  .card {
    flex: 1 1 100%;
    /* Each card takes full width */
    margin-bottom: 20px;
  }

  .rewards ul li {
    font-size: 1.1em;
  }

  .btn {
    width: 100%;
    margin-top: 10px;
  }
}

@media screen and (max-width: 480px) {
  .challenges h1 {
    font-size: 1.8em;
  }

  .challenges h2 {
    font-size: 1.5em;
  }

  .rewards ul li {
    font-size: 1em;
  }

  .progress-fill {
    height: 25px;
    line-height: 25px;
  }
}

/* For Member Profiles Page */
.member-profiles {
  padding: 100px 200px;
  background-color: #fff;
  color: #333;
}

.member-profiles h1 {
  font-size: 3em;
  color: #666;
}

.member-profiles p {
  font-size: 1.2em;
  line-height: 1.6em;
}

/* For Community Spotlight Page */
.community-spotlight {
  padding: 100px 200px;
  background-color: #fff3f3;
  color: #333;
}

.community-spotlight h1 {
  font-size: 3em;
  color: #e67373;
  text-align: center;
  margin-bottom: 20px;
}

.community-spotlight p {
  font-size: 1.2em;
  line-height: 1.6em;
  text-align: center;
  margin-bottom: 40px;
}

.spotlight-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* Space between cards */
}

.spotlight-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 calc(50% - 20px);
  /* Adjust width of each card */
  margin-bottom: 20px;
}

.spotlight-card img {
  width: 100%;
  height: auto;
  display: block;
}

.spotlight-content {
  padding: 15px;
}

.spotlight-content h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.spotlight-content p {
  font-size: 1em;
  color: #666;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .community-spotlight {
    padding: 20px 10px;
  }

  .spotlight-container {
    flex-direction: column;
  }

  .spotlight-card {
    flex: 1 1 100%;
    /* Each card takes full width */
    margin-bottom: 20px;
  }

  .community-spotlight h1 {
    font-size: 2.5em;
  }

  .community-spotlight p {
    font-size: 1em;
  }
}

@media screen and (max-width: 480px) {
  .community-spotlight h1 {
    font-size: 2em;
  }

  .community-spotlight p {
    font-size: 0.9em;
  }

  .spotlight-content h2 {
    font-size: 1.2em;
  }

  .spotlight-content p {
    font-size: 0.9em;
  }
}


/* For Feedback & Suggestions Page */
.feedback {
  padding: 100px 200px;
  background-color: #fff;
  color: #333;
  text-align: center;
}

.feedback h1 {
  font-size: 3em;
  color: #66cc66;
  margin-bottom: 20px;
}

.feedback p {
  font-size: 1.2em;
  line-height: 1.6em;
  margin-bottom: 40px;
}

.feedback-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-field {
  position: relative;
  margin-bottom: 20px;
}

.input-field input,
.input-field textarea {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
  font-size: 1em;
}

.input-field label {
  color: #666;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  transition: 0.3s ease;
}

.input-field input:focus~label,
.input-field input:not(:placeholder-shown)~label,
.input-field textarea:focus~label,
.input-field textarea:not(:placeholder-shown)~label {
  top: -10px;
  left: 10px;
  font-size: 1em;
  color: #66cc66;
}

.btn {
  background-color: #66cc66;
  color: white;
  font-size: 1.1em;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .feedback {
    padding: 50px 20px;
  }

  .feedback h1 {
    font-size: 2.5em;
  }

  .feedback p {
    font-size: 1em;
  }

  .feedback-form-container {
    padding: 0 10px;
  }
}

@media screen and (max-width: 480px) {
  .feedback h1 {
    font-size: 2em;
  }

  .feedback p {
    font-size: 0.9em;
  }

  .input-field input,
  .input-field textarea {
    font-size: 0.9em;
    padding: 8px;
  }

  .btn {
    font-size: 1em;
    padding: 10px;
  }
}



/* For Notifications & Alerts Page */
.notifications {
  padding: 100px 200px;
  background-color: #e6f2ff;
  color: #333;
}

.notifications h1 {
  font-size: 3em;
  color: #4d79ff;
  margin-bottom: 20px;
}

.notifications p {
  font-size: 1.2em;
  line-height: 1.6em;
  margin-bottom: 40px;
}

.notification-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.notification {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.notification-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.notification-header h2 {
  font-size: 1.5em;
  margin: 0;
}

.notification-date {
  font-size: 0.9em;
  color: #888;
}

@media screen and (max-width: 768px) {
  .notifications {
    padding: 50px 20px;
  }

  .notifications h1 {
    font-size: 2.5em;
  }

  .notifications p {
    font-size: 1em;
  }

  .notification {
    padding: 15px;
  }

  .notification-header h2 {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 480px) {
  .notifications h1 {
    font-size: 2em;
  }

  .notifications p {
    font-size: 0.9em;
  }

  .notification {
    padding: 10px;
  }

  .notification-header h2 {
    font-size: 1em;
  }
}


/* Article Card Styling */
.article-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.card {
  background-color: #fff;
  padding: 20px;
  width: 30%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.card-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #0073e6;
  margin-bottom: 15px;
}

.card-content p {
  font-size: 1em;
  line-height: 1.5em;
  color: #666;
}

.card-action a {
  color: #0073e6;
  font-weight: bold;
  text-decoration: none;
}

.card-action a:hover {
  text-decoration: underline;
}

/*About*/
.about {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* About Section */
.about {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  padding: 20px;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #56CD58;
}

.about-text p {
  margin: 20px 0;
  font-size: 1.2rem;
}

.services-list {
  list-style: none;
  margin-top: 20px;
}

.services-list li {
  font-size: 1.2rem;
  padding: 10px 0;
}

.about-image {
  flex: 1;
  padding: 20px;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

/* Media Queries */
/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }
}

@import url('https://fonts.googleapis.com/css?family=Allura|Josefin+Sans');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

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

body {
  background: #5c9d5b;
  font-family: 'Josefin Sans', sans-serif;
}

.wrapper {
  margin-top: 10%;
}

.wrapper h1 {
  font-family: 'Allura', cursive;
  font-size: 52px;
  margin-bottom: 60px;
  text-align: center;
}

.team {
  display: flex;
  justify-content: center;
  width: auto;
  text-align: center;
  flex-wrap: wrap;
}

.team .team_member {
  background: #fff;
  margin: 5px;
  margin-bottom: 50px;
  width: 300px;
  padding: 20px;
  line-height: 20px;
  color: #8e8b8b;
  position: relative;
  transition: transform 0.3s ease;
}

.team .team_member:hover {
  transform: translateY(-10px);
}

.team .team_member h3 {
  color: #41D73F;
  font-size: 26px;
  margin-top: 50px;
}

.team .team_member p.role {
  color: #555454;
  margin: 12px 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.team .team_member .team_img {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
}

.team .team_member .team_img img {
  width: 100px;
  height: 100px;
  padding: 5px;
}

/* Social icons container */
.team .team_member .social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Display icons on hover */
.team .team_member:hover .social-icons {
  opacity: 1;
  visibility: visible;
}

.team .team_member .social-icons a {
  color: #41D73F;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.team .team_member .social-icons a:hover {
  color: #000;
}

/* Hero Section Resources */
.hero.resources-hero {
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin: 20px 0;
}

/* Resources Section */
.resources {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.resources-container {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 2.5rem;
  color: #2E8B57;
  text-align: center;
  margin-bottom: 40px;
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.resource-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-container {
  width: 100%;
  height: 200px;
  background-color: #ddd;
}

.video-container iframe {
  width: 100%;
  height: 100%;
}

.resource-info {
  padding: 20px;
  text-align: center;
}

.resource-info h3 {
  font-size: 1.5rem;
  color: #2E8B57;
  margin-bottom: 10px;
}

.resource-info p {
  font-size: 1.1rem;
  color: #555;
}

/* Footer */
.footer {
  background-color: #2E8B57;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .video-container {
    height: 180px;
  }

  h2 {
    font-size: 2rem;
  }
}

/*Professionals Page*/
.pro-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 600px;
  background: #f5f5f5;
  box-shadow: 0 30px 50px #dbdbdb;
}

.pro-container .slide .item {
  width: 200px;
  height: 300px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 20px;
  box-shadow: 0 30px 50px #505050;
  background-position: 50% 50%;
  background-size: cover;
  display: inline-block;
  transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  border-radius: 0;
  width: 100%;
  height: 100%;
}


.slide .item:nth-child(3) {
  left: 50%;
}

.slide .item:nth-child(4) {
  left: calc(50% + 220px);
}

.slide .item:nth-child(5) {
  left: calc(50% + 440px);
}

/* here n = 0, 1, 2, 3,... */
.slide .item:nth-child(n + 6) {
  left: calc(50% + 660px);
  opacity: 0;
}



.item .content {
  position: absolute;
  top: 50%;
  left: 100px;
  width: 300px;
  text-align: left;
  color: #000;
  transform: translate(0, -50%);
  font-family: system-ui;
  display: none;
}


.slide .item:nth-child(2) .content {
  display: block;
}


.content .name {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  animation: animate 1s ease-in-out 1 forwards;
}

.content .des {
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0;
  animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  opacity: 0;
  animation: animate 1s ease-in-out 0.6s 1 forwards;
}


@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}



.button {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 20px;
}

.button button {
  width: 40px;
  height: 35px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  border: 1px solid #000;
  transition: 0.3s;
}

.button button:hover {
  background: #ababab;
  color: #fff;
}

/* Blog */
.blog-chat {
  margin-top: 2rem;
}

.blog-chat h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.chat-box {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 1rem;
  background-color: white;
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.chat-message {
  margin: 0.5rem 0;
  padding: 0.5rem;
  border-radius: 5px;
  background-color: #f0f0f0;
}

.chat-input {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.chat-input input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 0.5rem;
}

.chat-input button {
  padding: 0.5rem 1rem;
  background-color: #008000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.chat-input button:hover {
  background-color: #003366;
}

/*Events*/
/* .events {
  padding: 100px 200px;
  background-color: #fff3f3;
  color: #333;
} */

.events h1 {
  font-size: 3em;
  color: midnightblue;
  text-align: center;
  margin-bottom: 20px;
}

.events p {
  font-size: 1.2em;
  line-height: 1.6em;
  text-align: center;
  margin-bottom: 40px;
}

.events-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* Space between cards */
}

.events-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 calc(50% - 20px);
  /* Adjust width of each card */
  margin-bottom: 20px;
}

.events-card img {
  width: 100%;
  height: auto;
  display: block;
}

.events-content {
  padding: 15px;
}

.events-content h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.events-content p {
  font-size: 1em;
  color: #666;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .events {
    padding: 20px 10px;
  }

  .events-container {
    flex-direction: column;
  }

  .events-card {
    flex: 1 1 100%;
    /* Each card takes full width */
    margin-bottom: 20px;
  }

  .events h1 {
    font-size: 2.5em;
  }

  .events p {
    font-size: 1em;
  }
}

@media screen and (max-width: 480px) {
  .events h1 {
    font-size: 2em;
  }

  .events p {
    font-size: 0.9em;
  }

  .events-content h2 {
    font-size: 1.2em;
  }

  .events-content p {
    font-size: 0.9em;
  }
}