* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background: #EFE6EC;
}
nav {
  background: #623950;
  box-shadow: 2px 0.2px 10px #58374A;
  position: fixed;
  width: 100%;
  z-index: 5;  
}
nav:after {
  content: '';
  clear: both;
  display: table;
}
nav .logo {
  float: left;
  font-size: 30px;
   font-weight: bold;
  line-height: 70px;
  padding-left: 35px;
}
nav ul {
  float: right;
  list-style: none;
  margin-right: 100px;
  position: relative;
  gap: 25px;
}
nav ul li {
  float: left;
  display: inline-block;
  background: #623950;
  margin: 0 25px;
}

nav ul li a {
  color: #EFE6EC;
  text-decoration: none;
  line-height: 70px;
  font-size: 20px;
  padding: 10px 15px;
  font-family: Anton SC;
  letter-spacing: 1px;
}

nav ul li a:hover {
  color: #EFE6EC;
  border-radius: 5px;
  box-shadow: 0 0 5px #DCC4D0,
              0 0 5px #D2B2C2;
}

nav ul ul li a:hover {
  color: #E0CCD6;
  box-shadow: none;
}

nav ul ul {
  position: absolute;
  top: 90px;
  border-top: 3px solid #B98DA4;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s ease, opacity 0.3s ease;
}
nav ul li:hover > ul{
  top: 70px;
  opacity: 1;
  visibility: visible;
}

nav ul ul li {
  position: relative;
  margin: 0px;
  width: 195px;
  float: none;
  display: list-item;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

nav ul ul li a {
  font-size: 18px;
  line-height: 50px;
  font-family: Anton SC;
  letter-spacing: 1px;
}

nav ul ul ul {
  border-top: none;
}

nav ul ul ul li {
  position: relative;
  left: 195px;
  top: -70px;
}

span .fa-plus {
  margin-right:   30px;
  font-size:  18px;
}

.show, .icon, input {
  display: none;
}


/* main Section Styling */
.main-section {
  min-height: 100vh;
  background-color: #EFE6EC;
}

.main-section .main-section-content {
  display: flex;
  align-items: center;
  min-height: 100vh;
  color: #4B2F40;
  justify-content: space-between;
  padding-left: 120px;
}

.main-section .main-details .main-title {
  font-size: 80px;
  max-width: 100%;
  font-family: Anton SC;
  letter-spacing: 2px;
  word-spacing: 3px;
  line-height: 90px;
}
.main-section .main-details .main-subtitle {
  margin-bottom: 8px;
  font-size: 17px;
  font-family: Carrois Gothic;
  font-weight: bolder;
}
.main-section .main-details .main-subtitle2 {
  margin-top: 15px;
  margin-bottom: 2px;
  font-size: 25px;
  font-family: Anton SC;
  font-weight: bolder;
  letter-spacing: 2px;
}

.main-section .main-details .main-description {
  margin: 24px 0 40px;
  max-width: 90%;
  font-size: 1.45rem;
  font-family:  Roboto Condensed;

}

.main-section .main-image-wrapper {
  max-width: 100%;
  margin-top: 110px;
  margin-bottom: 70px;
  padding-right: 120px;
}

.main-image {
  height: 40rem;
  width: 22rem;
  border-radius: 20px;
  box-shadow:
      -5px -5px 5px 0px #C6B3BD,
      8px 8px 0px 0px #5F4253,
      15px 15px 0px 0px #845C74,
      25px 25px 0px 0px #A06A88;
}

.section-content {
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  padding: 55px 0 60px 30px;
  font-size: 55px;
  word-spacing: 5px;
  font-weight: bold;
  font-family: Anton SC;
  letter-spacing: 2px;
  word-spacing: 3px;
  line-height: 90px;
  color: #4B2F40;
}
.section-title::after {
  content: "";
  width: 200px;
  height: 5px;
  display: block;
  margin: 5px auto 5px auto;
  border-radius: 5px;
  background-color: #B8819E;
}

.subtitle {
  text-align: center;
  margin-top: 20px;
  letter-spacing: 2px;
  font-size: 35px;
  font-weight: bold;
  font-family: Anton SC;
  color: #4B2F40;
}

.description {
  text-align: center;
  padding-top: 15px;
  font-size: 20px;
  font-family: Roboto Condensed;
  color: #4B2F40;
  font-weight: lighter;
  margin-left: 20px;
  margin-right: 20px;
}

.name {
  margin-top: 60px;
  text-align: center;
  letter-spacing: 2px;
  font-size: 30px;
  font-weight: bold;
  font-family: Anton SC;
  color: #4B2F40;
}

.section-Header {
  height: 12.5rem;
  display: flex;
  position: relative;
  padding: 2rem 13vw;
  box-shadow: 0px 1vh #78546A, 0px 2vh #5F4253;
  z-index: 2;
  width: 100%;
  background-color:   #845C75;
}

.title {
  font-size: 25px;
  word-spacing: 5px;
  font-weight: bold;
  font-family: Anton SC;
  letter-spacing: 2px;
  color: #fff;
  margin: -20px;

}

/* Service Section Styling */
.Service-section {
  padding: 60px 0;
  background: #EADDE1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section-content {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(2, 570px);
  grid-template-rows: auto;
  gap: 40px;
  margin: 0 auto;
  max-width: 1200px;
}

/* Grid item styles */
.event1, .event2 {
  border: 3px solid #5F4253;
  box-shadow: -2px -2px 5px 0px #45363E;
  background-color: #5F4253;
  border-radius: 10px;
  height: 27rem;
  grid-column: span 1;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;


  box-shadow: 
    -2px -2px 5px 0px #45363E,
    0 4px 24px rgba(44, 21, 30, 0.10), 8px 8px 0 #845C74;
  transition: transform 0.25s cubic-bezier(.4,2,.5,1), box-shadow 0.2s;
}

.event1:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 8px 32px rgba(44, 21, 30, 0.19), 12px 12px 0 #A06A88;
}

.event2:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 8px 32px rgba(44, 21, 30, 0.19), 12px 12px 0 #A06A88;
}

/* Slider wrapper for full-width scrolling */
.slider-wrapper {
  cursor:   pointer;
  display: flex;
  width: 100%; 
  height: 100%; 
  overflow-x: scroll; /* Enable horizontal scrolling */
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory; /* Snap to each image */
  padding: 0;
  margin: 0;
  box-sizing: border-box; /* Ensure padding/margin is accounted for */
}

.slider-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* Evidence list to contain images horizontally */
.evidence-list {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping of images */
  height: 100%;
  width: 100%; 
  gap: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box; /* Prevent overflow due to padding/margin */
}

/* Image styling */
.NTHS-image {
  flex: 0 0 100%; 
  height: 100%;
  width: 100%;
  object-fit: cover; /* Ensure the image fills the container without zooming */
  scroll-snap-align: start; /* Snap to the start of each image */
  display: block;
  margin: 0; /* Remove any default margins */
  border: 3px solid #5F4253;
  border-radius: 10px;
  overflow: hidden;
}

/* Event text styling */
.event-name {
  margin-top: 1.5rem; /* Add space between image and text */
  margin-bottom: 1.5rem;
  color: #fff;
  text-align: center;
  font-size: 1.3rem;
  font-family: Roboto Condensed;
  font-weight: 900;
}

/* Parallax LifeSmarts */
.other-section {
  min-height: 100vh;
  background-image: url("NTHS/DSCF1554.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-title1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 2px;
  color: #BB8BA6;
  text-align: center;
  font-family: Anton SC;
}

.main-subtitle3 {
  color: #BB8BA6;
  font-size: 1.8rem;
  font-weight: 400;
  margin-top: 0;
  letter-spacing: 1px;
  text-align: center;
  font-family: Carrois Gothic;
  font-weight: bolder;
  font-style: italic;
}
/* LifeSmarts Parallax Effect */
.ls-section {
  min-height: 100vh;
  background-image: url("NTHS/IMG_2268.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

}

.ls-title1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 2px;
  color: #EFE6EC;
  text-align: center;
  font-family: Anton SC;
}

.ls-subtitle {
  color: #EFE6EC;
  font-size: 1.8rem;
  font-weight: 400;
  margin-top: 0;
  letter-spacing: 1px;
  text-align: center;
  font-family: Carrois Gothic;
  font-weight: bolder;
  font-style: italic;
}

/* Main LifeSmarts Section */
.ls-image {
  margin-top:   100px;
  margin-bottom:  100px;
  height: 38rem;
  width: 28rem;
  border-radius: 20px;
  box-shadow:
      -5px -5px 5px 0px #C6B3BD,
      8px 8px 0px 0px #5F4253,
      15px 15px 0px 0px #845C74,
      25px 25px 0px 0px #A06A88;
}
.lifesmarts-section {
  min-height:   100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EFE6EC;
}
.lifesmarts-section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
  max-width: 1550px;
}

.ls-image-wrapper {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
}

.lifesmarts-details {
  max-width: 700px;
  color: #4B2F40;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lifesmarts-details .section-title {
  padding: 0;
  color: #4B2F40;
  margin-top:   -17rem;
}

.lifesmarts-details .description {
  line-height: 30px;
  margin: 20px 0 30px;
  text-align: center;
  font-size: 25px;
  font-family: Roboto Condensed;
}