:root {
  --primary-color: #4169e1;
  --secondary-color: #6495ed;
  --bright-color: rgb(241, 185, 79);

  --btn-color: rgb(10, 10, 31);
  --secondary-font-color: rgb(39, 31, 31);
  --font-color: #fff;
  --sec-font-color: rgb(46, 41, 41);
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  box-sizing: border-box;
  font-family: Poppins, Tahoma, Geneva, sans-serif, "Montserrat";
}
.container {
  --max-width: 1110px;
  --padding: 1rem;

  width: min(var(--max-width), 100% - (var(--padding) * 2));
  margin-inline: auto;
}

html {
  scroll-behavior: smooth;
}

/*html:focus-within{
  scroll-behavior: smooth;
}
*/
/*Header*/

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 0.8rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.75rem 0;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 45px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary-font-color);
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.5rem 0;
  font-family: Kodchasan;
}

.nav-links a:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--bright-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: black;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 40px;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: white;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  padding-top: 40px;
  font-family: Kodchasan;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-links {
  width: 100%;
  list-style: none;
  text-align: center;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-nav-links li {
  padding: 40px 0;
  opacity: 0;
  width: 100%;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-nav-links li {
  font-family: Kodchasan;

  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-menu.active .mobile-nav-links li:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-menu.active .mobile-nav-links li:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-menu.active .mobile-nav-links li:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav-links a {
  font-family: Kodchasan;

  font-size: 1.5rem;
  font-weight: 700;
  width: 100%;
  height: 150px;
  color: var(--sec-font-color);
  text-decoration: none;
  transition: all 0.3s ease;
  background: var(--secondary-font-color);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-nav-links a:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {

.nav-container {
  
  padding: 0 1.2rem;
 
}


  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}
.btn {
  padding: 8px 10px;
  background-color: var(--bright-color);
  text-decoration: none;
  color: var(--sec-font-color);
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease-in-out;
  font-family: inherit;
}
.btn:hover {
  transform: scale(1.05);
}

/*HOME*/

.home-section {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url(/images/alexandra-fuller-rZYd5MX14pc-unsplash.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 0;
  padding-top: 120px;
  padding-bottom: 65px;
}
.home-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--font-color);
}
.home-text h2 {
  font-size: 32px;
  font-weight: 800;
  max-width: 21ch;
  padding: 0;
  margin: 0;
  line-height: 1.5;
  margin-bottom: 0px;
  text-align: center;
}

.home-text p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0px;
  text-align: center;
}
.home-text h4 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 7px;
  text-align: center;
}
.home-btn {
  margin-top: 20px;
  padding: 16px 38px;
  background-color: var(--bright-color);
  color: black;
  font-weight: 600;
}
span {
  padding-left: 2px;
}

@media screen and (min-width: 767px) {
  .home-text h2 {
    font-size: 40px;
  }
  .home-text p {
    font-size: 20px;
  }
}

/*OUR ACTIONS*/
.OurActions-columns {
  display: grid;
  padding-top: 20px;
  gap: 40px;
}
.OurBooks {
  margin-top: 50px;
}
.OurBooks h2 {
  color: #72abbf;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
}
/*
.OurBooks h2 span{
position: relative;
display: inline-block;
top: 5px;
animation: bounce 0.4s ease infinite alternate;
}
.OurBooks h2 span:nth-child(2) {
  animation-delay: 0.1s;
}
.OurBooks h2 span:nth-child(3) {
  animation-delay: 0.2s;
}
.OurBooks h2 span:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes bounce{
100%{
  top: -5px;
}


}
*/
.OurBooks p {
  color: var(--sec-font-color);
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  line-height: 1.5;
}
.books {
  background-color: #f1efef;
  border-radius: 20px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 18px 12px;
}

/*.books:hover{
transform: scale(1.05);
}
*/

.books img {
  box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
  width: 120px;
}
.books h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--sec-font-color);

  margin-top: 5px;
  margin-bottom: 8px;
  text-align: center;
}
.books h4 {
  font-size: 15px;
  font-weight: 400;
  color: var(--secondary-font-color);
  font-family: "Montserrat", Poppins, sans-serif;
  margin-top: 0;
  line-height: 1.6;
}
.links {
  color: black;
  font-weight: 600;
}
.book-btn {
  margin-top: 10px;
  padding: 16px 38px;
  background-color: var(--bright-color);
  color: black;
  font-weight: 600;
}




@media screen and (min-width: 767px) {
  .OurActions-columns {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }

  .OurBooks h2 {
    text-align: center;
  }
  .OurBooks p {
    text-align: center;
  }

  .books img {
    height: 160px;
  }

  .books h3 {
    text-align: start;
  }
  .books h4 {
    text-align: start;
    font-size: 13px;
  }
}

/*PROJECT*/

.introduction-section {
  margin-top: 80px;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url(/images/md-duran-cx8xcT4l5iQ-unsplash.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-top: 70px;
  padding-bottom: 70px;

  display: flex;
  align-items: center;
  justify-content: center;
}
.introduction-section h1 {
  font-size: 34px;
  font-weight: 800;
  max-width: 21ch;
  padding: 0;
  margin: 0;
  line-height: 1.5;
  margin-bottom: 0px;
  text-align: center;
  color: white;
}
.project-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}
.project-text h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0px;
  text-align: start;
  color: var(--secondary-font-color);
}

.project-text h3 {
  padding: 0;
  margin-top: 10px;
}

.project-text p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  margin: 0px;
  text-align: start;
  color: var(--secondary-font-color);
}


.project-text ul {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0px;
  padding: 1rem;
  padding-top: 0px;
  text-align: start;
  color: var(--secondary-font-color);
}
.project-text ul li {
  list-style: decimal;
}
.project-btn {
  margin-top: 20px;
  padding: 15px 34px;
  background-color: var(--bright-color);
  color: black;
  font-weight: 600;
  align-self: center;
  border-radius: 100vmax;
}



.divider {
  height: 1px;
  margin-top: 25px;
  background-color: grey;
  width: 100%;
}

@media screen and (min-width: 767px) {
  .project-text h2 {
    text-align: center;
  }

  .project-text p {
    text-align: center;
  }




}

/*CONTACT*/
.contact-container {
  --max-width: 1110px;
  --padding: 1rem;

  width: min(var(--max-width), 100% - (var(--padding) * 2));
  margin-inline: auto;
}
.contact-container {
  margin-top: 70px;
}
.row {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-details h2 {
  font-size: 1.7rem;
}
.contact-details > div {
  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: grey solid 1px;
  padding: 10px;
}
.contact-details > div > span {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgb(37, 15, 15);
  padding-left: 2px;
  display: block;
}

.subscribe {
  padding-top: 10px;
}
.sub-heading {
  color: var(--secondary-color);
  margin-bottom: 0;
}
.main-heading {
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: 0px;
  text-align: center;
}
.subscribe p {
  margin-top: 18px;
  text-align: center;
}
form {
  position: relative;
  z-index: 1;
}
.email {
  height: 40px;
  width: 290px;
  border-radius: 8px;
  border: grey 1px solid;
  font-family: Kodchasan;
}

.submit-btn {
  height: 38px;
  position: absolute;
  color: white;
  background-color: orangered;
  border: none;
  font-size: 12px;
  top: 3px;
  right: 3px;
  border-radius: 8px;
  font-family: Kodchasan;
}

/*Descriptions*/

.synopsis-section {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.7)
    ),
    url("/images/alexandra-fuller-rZYd5MX14pc-unsplash.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 0;
  padding-top: 90px;
  padding-bottom: 35px;
}
.synopsis-section h1 {
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 800;
}
.description-title h2 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  padding-bottom: 0;
  margin-bottom: 0;
}

.description-title p {
  text-align: start;
  text-indent: 10px;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  font-family: "Montserrat", Poppins, sans-serif;
  padding-top: 0;
  margin-top: 0;

}

.description-title ul li {
  text-align: start;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}

.programme-list {
  list-style: decimal;
  font-weight: 400;
  line-height: 1.6;
  margin: 0px;
  padding: 1rem;
  padding-top: 0px;
  text-align: start;
  color: var(--secondary-font-color);
}

.programme-list li {
  padding-bottom: 4px;
  font-size: 1.1rem;
  text-align: start;
}

@media screen and (min-width: 50rem) {

.description-title p{
font-size: 1rem;

}

  .description-title ul li {
    font-size: 1rem;

  }
}

/*FOOTER*/
footer {
  background-color: #003153;
  color: var(--font-color);
  margin-top: 50px;
}

.footer-columns {
  display: flex;
  flex-direction: column;
}

.left-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
}
.footer-nav-list {
  display: flex;
  gap: 13px;
  padding: 0;
}

.left-footer h2 {
  font-size: 15px;
  font-weight: 600;
  padding-top: 4px;
}
.left-footer li {
  list-style: none;
}
.left-footer li a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--font-color);
}
.left-footer li a:hover {
  color: red;
}

.right-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.right-footer h2 {
  font-size: 19px;
  font-weight: 600;
}
.right-footer p {
  font-size: 14px;
  font-weight: 500;
  margin-top: 0;
  color: var(--font-color);
  line-height: 1.5;
  text-align: center;
}
.copyright {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  color: var(--font-color);
  align-self: center;
  text-align: center;
}
@media screen and (min-width: 50rem) {
  .footer-columns {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
  }
  .footer-nav-list {
    display: flex;
    flex-direction: column;
  }
  .left-footer {
    width: 300px;
  }
  .left-footer li a {
    font-size: 12px;
  }
  .right-footer {
    padding-top: 30px;
  }

  .right-footer p {
    margin-top: 10px;
  }

  .copyright {
    width: 400px;
  }
}
