.roboto-slab {
  font-family: "Roboto Slab", serif;
}

.noto-sans {
  font-family: "Noto Sans", sans-serif;
}

/* ------------- */
/* Heading Styles */
h1 {
  font-size: 3rem;
  font-weight: 500;
  /* Very bold */
  margin-bottom: 1.5rem;
  /* Add spacious margins for hierarchy */
  font-family: "Roboto Slab", serif;
}

h2 {
  font-family: "Roboto Slab", serif;
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 1rem;
  font-weight: 700;
  /* Make it bold since it's the same size as body text */
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  /* Another way to differentiate h6 */
}

/* Body Text */
p {
  font-size: 1rem;
  line-height: 1.6;
  /* Crucial for readability */
  margin-bottom: 1rem;
  font-family: "Noto Sans", sans-serif;
}

/* ------------- */
body{
  margin:0;
  padding:0;
}
/* ------------- */
/* Navbar section */

.nav {
  width: 100%;
  /* height: 65px; */
  position: fixed;
  line-height: 65px;
  text-align: center;
  z-index: 99999;
}

.nav div.logo {
  float: left;
  width: auto;
  height: auto;
  padding-left: 3rem;
}

.nav div.logo a img {
  width: 70px;
}

.nav div.main_list {
  /* height: 65px; */
  float: right;
}

.nav div.main_list ul {
  width: 100%;
  /* height: 65px; */
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav div.main_list ul li {
  width: auto;
  /* height: 65px; */
  padding: 0;
  padding-right: 3rem;
}

.nav div.main_list ul li a {
  text-decoration: none;
  color: #fff;
  line-height: 65px;
  font-size: 16px;
}

/* Home section */

.home {
  width: 100%;
  height: 100vh;
}

.navTrigger {
  display: none;
}

.nav {
  padding-top: 20px;
  padding-bottom: 20px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}


/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .container {
    margin: 0;
  }
}

@media screen and (max-width:768px) {
  .navTrigger {
    display: block;
  }

  .nav div.logo {
    margin-left: 15px;
  }

  .nav div.main_list {
    width: 100%;
    height: 0;
    overflow: hidden;
  }

  .nav div.show_list {
    height: auto;
    display: none;
  }

  .nav div.main_list ul {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #111;
    /*same background color of navbar*/
    background-position: center top;
  }

  .nav div.main_list ul li {
    width: 100%;
    text-align: right;
  }

  .nav div.main_list ul li a {
    text-align: center;
    width: 100%;
    font-size: 1rem;
    padding: 20px;
  }

  .nav div.media_button {
    display: block;
  }
}


/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
  cursor: pointer;
  width: 30px;
  height: 25px;
  margin: auto;
  position: absolute;
  right: 30px;
  top: 32px;
}

.navTrigger i {
  background-color: #fff;
  border-radius: 2px;
  content: '';
  display: block;
  width: 100%;
  height: 4px;
}

.navTrigger i:nth-child(1) {
  -webkit-animation: outT 0.8s backwards;
  animation: outT 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
  margin: 5px 0;
  -webkit-animation: outM 0.8s backwards;
  animation: outM 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
  -webkit-animation: outBtm 0.8s backwards;
  animation: outBtm 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
  -webkit-animation: inT 0.8s forwards;
  animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
  -webkit-animation: inM 0.8s forwards;
  animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
  -webkit-animation: inBtm 0.8s forwards;
  animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
  50% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes inM {
  50% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes outM {
  50% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes outM {
  50% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes inT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes inT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(9px) rotate(0deg);
  }

  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes outT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes outT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(9px) rotate(0deg);
  }

  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes inBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes inBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-9px) rotate(0deg);
  }

  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

@-webkit-keyframes outBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes outBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-9px) rotate(0deg);
  }

  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

.affix {
  padding: 0;
  background-color: #111;
}

.myH2 {
  text-align: center;
  font-size: 4rem;
}

.myP {
  text-align: justify;
  padding-left: 15%;
  padding-right: 15%;
  font-size: 20px;
}

@media all and (max-width:700px) {
  .myP {
    padding: 2%;
  }
}

/* -------------------------------------------------- */



/* -------------------------------------------------- */

#slider-container {
  position: relative;
  width: 100%;
  height: 94vh;
  /* Default height for desktop */
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
  background-blend-mode: darken;
  background-color: rgba(0, 0, 0, 0.1);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.heading-container {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
  transform: translateY(-100%);
  transition: transform 1s ease-out;
  padding: 0 10px;
  box-sizing: border-box;
}

.slide.active .heading-container {
  transform: translateY(0);
}

.heading-container h1 {
  font-size: 10vw;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  margin-top: -40px;
  color: rgba(255, 255, 255, 0.5);
  white-space: normal;
  word-break: break-word;
}

.content-container {
  position: absolute;
  bottom: 35%;
  width: 85%;
  z-index: 2;
}

.content-container h1 {
  text-transform: uppercase;
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.95);
  display: block;
  white-space: normal;
  overflow: hidden;
}

.content-container h2 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  white-space: pre;
}

.slide.active .content-container h2 span {
  opacity: 1;
  transform: translateY(0);
}

.content-container p {
  font-size: 1.5em;
  line-height: 1.5;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.9);
  max-width: 50%;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3em;
  cursor: pointer;
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  user-select: none;
  padding: 10px 15px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.5em;
}

.nav-arrow:hover {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.5);
}

#prev-arrow {
  left: 20px;
}

#next-arrow {
  right: 20px;
}

.dots-container {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  cursor: pointer;
}

.dot.active {
  background-color: rgba(255, 255, 255, 0.9);
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
  #slider-container {
    height: 75vh;
    /* Slider is 75% of viewport height on screens <= 768px */
  }

  .heading-container h1 {
    font-size: clamp(60px, 12vw, 100px);
    margin-top: -20px;
  }

  .content-container {
    bottom: 15%;
    width: 90%;
  }

  .content-container h2 {
    font-size: 1.8em;
    margin-bottom: 5px;
  }

  .content-container p {
    font-size: 1em;
    line-height: 1.4;
  }

  .nav-arrow {
    font-size: 2em;
    padding: 8px 12px;
  }

  #prev-arrow {
    left: 10px;
  }

  #next-arrow {
    right: 10px;
  }

  .dots-container {
    bottom: 10px;
  }

  .dot {
    height: 10px;
    width: 10px;
    margin: 0 3px;
  }
}

@media (max-width: 480px) {
  #slider-container {
    height: 50vh;
    /* Maintain 75% for smaller phones too */
  }

  .heading-container h1 {
    font-size: clamp(45px, 15vw, 70px);
    margin-top: -10px;
  }

  /* .content-container {
    bottom: 10%;
    width: 95%;
  } */

  .content-container h2 {
    font-size: 1.5em;
  }

  .content-container p {
    font-size: 0.9em;
  }

  .nav-arrow {
    font-size: 1.5em;
  }
}

/* -------------------------------------------------- */