@import url('https://fonts.googleapis.com/css2?family=Jaro:opsz@6..72&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: "Times New Roman", Times, serif;
}

html {
  scroll-behavior: smooth;
}

#nav-bar {
  display: flex;
  background: #f0eceb;
  background-blend-mode: lighten;
  opacity: 95%;
  z-index: 1;
  height: 75px;
  position: fixed;
  width: 100%;
  top: 0;
  border-bottom: 5px solid rgb(0 95 116);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

#nav-list2 {
  display: none;
}

#nav-list1 {
  display: flex;
  align-items: center;
}

#nav-list1 li {
  padding: 25px;
  list-style: none;
}

#nav-list1 li a {
  text-decoration: none;
  color: #000000;
  font-size: large;
}

#nav-list1 li a:hover {
  text-decoration: none;
  color: #000000;
  text-shadow: #eed4c9 2px 0px 2px;
  font-size: larger;
}
#About {
  margin: 5px;
  padding: 2px;
  justify-content: center;
}

.logo {
  background-image: url("/Media/EnglishSkillNest_logo.jpg");
  width: 75px;
  height: 75px;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}


#nv-divider {
  margin-left: 8px;
  margin-right: 8px;
  margin-top: 75px;
}

/*About*/
#abt-tit {
  padding: 05px;
  font-size: 45px;
  font-weight: 900;
}

#About-sec {
  padding: 15px;
}

table,
th,
td {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  border: 1px solid #dddddd;
  text-align: left;
  padding: 16px;
}

/*Welcome Screen*/
#welcome {
  font-size: x-large;
  text-align: justify;
  padding: 40px;
}

#title-course {
  padding: 15px;
  font-size: 30px;
}

.specsbox {
  margin: 10px;
  color: #ffffff;
  padding: 45px;
  background: rgb(0 95 116);
  border-top: 10px solid rgb(255, 146, 6);
  border-radius: 10px;
  font-size: x-large;
  font-weight: 900;
  text-align: center;
  width: fit-content;
  transition: all 0.5s ease-in-out;
  cursor: default;
}

.coursebox {
  margin: 10px;
  color: #ffffff;
  background: rgb(0 95 116);
 border-top: 10px solid rgb(255, 146, 6);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
  text-align: justify;
  padding: 25px;
  width: 230px;
  height: 400px;
  transition: all 0.5s ease-in-out;
  cursor: default;
}

.coursebox:hover {
  box-shadow: 0px 2px 2px 2px black;
}

.menu {
  display: none;
}

#courses {
  justify-content: center;
  display: flex;
  color: white;
  margin-bottom: 80px;
}

#specs {
  margin-top: 100px;
  margin-bottom: 100px;
  display: flex;
  justify-content: center;
}

/* About */
#take-away {
  padding: 15px;
  font-size: 22px;
}

#take-away li {
  list-style-type: none;
  padding: 5px;
}

i {
  z-index: -1;
}

.para-about {
  padding: 7px;
  font-size: 22px;
  color: #242222;
  text-align: justify;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  overflow: hidden;
}

#course-li-nav {
  text-decoration: none;
  color: #eed4c9;
  font-size: large;
  cursor: pointer;
  display: block;
  position: relative; /* Needed for absolute positioning of dropdown */
}

#course-li-nav:hover {
  text-decoration: none;
  color: #eed4c9;
  text-shadow: #eed4c9 2px 0px 2px;
  font-size: larger;
}

#ahrefs-courses {
  display: none;
  position: absolute;
  background: #f0eceb;
  z-index: 100;
  list-style: none;
  margin: 0;
  padding: 0;
}

#course-li-nav:hover #ahrefs-courses {
  display: block;
}

/*Course page*/
.title-para {
  padding: 05px;
  font-size: 40px;
  font-weight: 900;
  top: 76px;
  padding-top: 15px;
  padding-bottom: 15px;
  background: #ffffff;
}

.title-para::before {
  font-family: "Font Awesome 6 Free";
  content: "\f105";
  /* Unicode for fa-angles-right in free version */
  color: rgb(5, 126, 132);
  margin-right: 10px;
  font-weight: 900;
  font-style: normal;
  display: inline-block;
  animation: fa-beat 1s infinite alternate;
}

@keyframes fa-beat {

  0%,
  100% {
    transform: scale(1);
  }

  20% {
    transform: scale(1.15);
  }

  40% {
    transform: scale(0.95);
  }

  60% {
    transform: scale(1.10);
  }

  80% {
    transform: scale(0.98);
  }
}

#courses-det {
  padding: 100px;
}

.course-box {
  border-top: 5px solid rgb(0 95 116);
  height: 460px;
  width: 600px;
  border-radius: 5%;
  background: #000;
  margin: 20px;
}

.course-image {
  background-image: url("/Media/ielts.jpeg");
  height: 300px;
  border-top-left-radius: 5%;
  border-top-right-radius: 5%;
  background-size: cover;
}

.course-cont {
  color: white;
  font-size: large;
  font-weight: 400;
  height: 100px;
  width: 580px;
  padding: 15px;
  margin: 5px;
}

.course-box:hover {
  height: 470px;
  width: 620px;
  transition: all ease-in-out 0.2s;
  cursor: pointer;
}

#sftsk-img {
  background-image: url("/Media/sftsk.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#spokenEnglish-img {
  background-image: url("/Media/spokenEnglish.png");
  background-size: contain;
  background-position-y: 50%;
  background-repeat: no-repeat;
}

#ielts-det {
  padding: 50px;
}

blockquote {
  direction: ltr;
  color: #212121;
  font-weight: 300;
  font-size: 18px;
  line-height: 140%;
  font-family: "Inter", sans-serif;
  margin: 24px;
  padding: 8px 24px;
  border-left: 4px solid #ccc;
  background: #f9f9f9;
}

#tb-ielts {
  direction: ltr;
  color: #212121;
  font-weight: 300;
  font-size: x-large;
  line-height: 140%;
  font-family: "Inter", sans-serif;
  margin: 24px 0;
  max-width: 100%;
  border-collapse: collapse;
  text-align: left;
}

#sftsk-det {
  padding: 50px;
}

.contact-containers {
  border-radius: 20px;
  background: #000;
  border-top: 3px solid rgb(0 95 116);
  color: white;
  padding: 30px;
  margin: 20px;
  margin-top: 40px;
  font-size: 20px;
  cursor: pointer;
}

.link-cont {
  text-decoration: none;
}

/**Why Choose Us? */
#why-choose-us {
  padding: 30px;
}

#why-choose-us-list {
  list-style: none;
  padding: 10px;
  padding-left: 15px;
}

#why-choose-us-list li {
  font-size: 22px;
  color: #000;
  padding: 8px;
}

#footer-all {
 border-top: 10px solid rgb(5, 126, 132);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background: #f0eceb;
  color: black;
  position: relative;
  left: unset;
  right: unset;
  bottom: unset;
  width: 100%;
  display: flex;
  overflow: hidden;
  padding: 50px;
  box-sizing: border-box;
  /* Add this */
}

.vertical-bar {
  height: 150px;
  width: 2px;
  border-radius: 5px;
  background: rgb(5, 126, 132);
  margin: 20px;
  margin-top: 0;
}

#footer-all li {
  padding: 5px;
  list-style: none;
}

#footer-all li a {
  text-decoration: none;
  color: black;
  font-size: small;
}

#footer-all li a:hover {
  text-decoration: none;
  color: #1a1a1a;
  text-shadow: #eed4c9 2px 0px 2px;
  font-size: smaller;
}

#icons-footer-sm i {
  cursor: pointer;
  padding: 3px;
  padding-top: 5px;
  color: rgb(0 95 116);
  margin: 5px;
  font-size: 25px;
}

/*Contact Form*/
#getInTouch {
  display: flex;
  padding: 30px;
  justify-content: center;
}

#operator-img {
  margin: 30px;
  align-self: center;
  display: block;
}

#operator-img img {
  display: flex;
  justify-self: center;
}

#contact_form {
  display: block;
  margin: 10px;
  color: white;
  border-bottom: 2px solid white;
  font-size: 15px;
  width: fit-content;
  animation: show 3s ease;
}


#contact_form img {
  display: flex;
  justify-self: center;
  margin-bottom: 40px;
  height: 150px;
  width: 100px;
}

#contact_form input {
  border: none;
  border-bottom: 2px solid white;
  outline: none;
  color: white;
  background: rgba(0, 95, 116, 0.74);
  padding: 10px;
  margin: 10px;
  font-size: 15px;
  justify-content: center;
}

#contact_form_modal {
  display: block;
  margin: 10px;
  color: white;
  border-bottom: 2px solid white;
  font-size: 15px;
  width: fit-content;
  animation: show 3s ease;
}


#contact_form_modal img {
  display: flex;
  justify-self: center;
  margin-bottom: 40px;
  height: 150px;
  width: 100px;
}

#contact_form_modal input {
  border: none;
  border-bottom: 2px solid white;
  outline: none;
  color: white;
  background: rgba(0, 95, 116, 0.74);
  padding: 10px;
  margin: 10px;
  font-size: 15px;
  justify-content: center;
}

#cont-tit {
  text-align: center;
  font-family: cursive;
  font-size: 36px;
  padding: 5px;
  margin: 5px;
  font-weight: 700;
}

#submit_form {
  background:  rgb(255, 146, 6);
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 50px;
  outline: none;
  border: none;
  display: flex;
  justify-self: center;
  font-size: large;
  font-weight: 400;
  cursor: pointer;
  color: white;
}
#submit_form_modal {
  background:  rgb(255, 146, 6);
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 50px;
  outline: none;
  border: none;
  display: flex;
  justify-self: center;
  font-size: large;
  font-weight: 400;
  cursor: pointer;
  color: white;
}
#contact_form input:focus {
  border-bottom: 2px solid  rgb(255, 146, 6);
  transition: all ease 0.5s;
}

#contact_form_modal input:focus {
  border-bottom: 2px solid  rgb(255, 146, 6);
  transition: all ease 0.5s;
}

#contact_form {
 background: rgb(0 95 116);
 border-top: 10px solid rgb(255, 146, 6);
  border-radius: 5px;
  box-shadow: #000 -6px 6px 20px;
  padding: 15px;
  margin: 8px;
  width: 250px;
}

#contact_form_modal {
 background: rgb(0 95 116);
 border-top: 10px solid rgb(255, 146, 6);
  border-radius: 5px;
  box-shadow: #000 -6px 6px 20px;
  padding: 15px;
  margin: 8px;
  width: 250px;
}


#head-det-ielts {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom: 2px solid white;
  padding: 20px;
}

#detail_ielts {
  display: none;
}

.list-course-det li {
  list-style: none;
  padding: 05px;
  text-align: left;
}

#logo2 {
  display: none;
}

/* #intr_vid{
  position: static;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 800px;
  pointer-events: none;
} */

/* Slideshow container */
#Home
{
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  margin-top: 15px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
   background-color: rgba(0, 0, 0, 0.705);
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.959);
}
.prev
  {
    left: 0;
    border-radius: 3px 0 0 3px;
   background-color: rgba(0, 0, 0, 0.705);
  }
/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

#touch_btn {
  padding: 5px;
  outline: none;
  color: rgb(0 95 116);
  background: #00000000;
  border: 4px solid rgb(0 95 116);
  border-radius: 5px;
  font-size: 20px;
  cursor: pointer;
  bottom: 50px;
  font-weight: 900;
  transition: all 0.5s ease-in-out;
  align-self: center;
}

#touch_btn:hover {
  background: rgb(0 95 116);
  color: white;
}

.touch_btn_nav {
  padding: 5px;
  outline: none;
  color: rgb(0 95 116);
  background: #00000000;
  border: 4px solid rgb(0 95 116);
  border-radius: 5px;
  font-size: 20px;
  cursor: pointer;
  font-weight: 900;
  transition: all 0.5s ease-in-out;
  align-self: center;
}

.touch_btn_nav:hover {
  background: rgb(0 95 116);
  color: white;
}

#points1 {
  text-align: center;
  color: aqua;
  font-family: "Edu AU VIC WA NT Arrows", cursive;
  animation: slide1 1s ease-in;
  font-size: 30px;
  padding: 10px;
}

@keyframes slide1 {
  from {
    margin-right: -20px;
    opacity: 0;
  }

  to {
    margin-right: 0;
    opacity: 1;
  }
}

#points3 {
  font-family: "Playwrite HR Lijeva", cursive;
  font-style: normal;
  font-size: 25px;
  animation: slide3 2s ease-in;
  color: rgb(182, 175, 173);
  padding: 10px;
}

@keyframes slide3 {
  from {
    margin-bottom: -35px;
    opacity: 0;
  }

  to {
    margin-bottom: 0;
    opacity: 1;
  }
}

#tit-anim {
  font-size: 50px;
  color: rgb(17, 141, 73);
  font-weight: 900;
  animation: slidetitle 2s all ease-in-out;
}

@keyframes slidetitle {
  from {
    opacity: 30%;
    margin-left: 0px;
  }

  from {
    opacity: 100%;
    margin-left: 35px;
  }
}

#menu-div {
  display: none;
}

@media only screen and (max-width: 1024px) {
  #getInTouch {
    display: block;
  }

  #nav-list1 {
    display: none;
  }

  #sidebar {
    background: #f0eceb;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    left: 0;
    top: 0;
    text-align: left;
    width: 0px;
    box-shadow: 3px 3px 6px black;
    transition: all 0.15s ease-in-out;
  }

  #logo2 {
    height: 75px;
    width: 75px;
    position: fixed;
    display: none;
    top: 10px;
    left: 10px;
  }

  #nav-list2 {
    display: none;
    margin-top: 105px;
  }

  #nav-bar {
    justify-content: flex-end;
  }

  .logo {
    align-self: center;
    float: left;
    height: 75px;
    width: 75px;
  }

  #specs {
    margin-top: 100px;
    margin-bottom: 100px;
    display: block;
    justify-self: center;
  }

  #contact_form {
    justify-self: center;
    justify-content: center;
  }

  #menu-div {
    display: flex;
    justify-content: flex-end;
    width: 100vw;
    padding-left: 20px;
  }

  .menu {
    background: #f0eceb;
    outline: none;
    color: rgb(0 95 116);
    font-size: 35px;
    align-items: center;
    position: absolute;
    border: none;
    top: 20px;
    right: 20px;
    cursor: pointer;
  }

  #menu-close {
    display: none;
    cursor: pointer;
  }

  #courses {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #nav-list2 li {
    padding: 25px;
    list-style: none;
  }

  #nav-list2 li a {
    text-decoration: none;
    color: #000;
    font-size: large;
  }

  #nav-list2 li a:hover {
    text-decoration: none;
    color: #000;
    text-shadow: #000 2px 0px 2px;
    font-size: larger;
  }

  #footer-all {
    flex-direction: column;
    padding: 20px;
    /* Reduce padding on small screens */
  }
  .vertical-bar 
  {
    height: 5px;
    width: 85vw;
    margin: 5px;
  }
}

/* Modal overlay styles */
/* filepath: g:\My Drive\EnglishSkillNest\style.css */
.modal-overlay {
  display: flex;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #ffffff00;
  border-radius: 10px;
  padding: 30px 20px;
  position: relative;
  min-width: 320px;
  max-width: 90vw;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
  z-index: 10000;
}