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

body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  background: #4b6b6a;
}

:root {
  --blue: #324847;
  --dark-blue: #4b6b6a;
  --background: #081118;
  --grey: #333;
  --light-grey: #3b3b3b;
}

.mmenu {
  padding: 100px;
  width: 20rem;
  border-radius: 0.2rem;
  overflow: hidden;
}
.mmenu a {
  text-decoration: none;
}

.menu-item {
  list-style: none;
  border-top: 1px solid var(--dark-blue);
  overflow: hidden;
}

.btn {
  display: block;
  padding: 1rem 1.2rem;
  background: var(--blue);
  color: white;
  position: relative;
}
.btn::before {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  background: var(--blue);
  left: 1.5rem;
  bottom: -0.5rem;
  transform: rotate(45deg);
}
.btn i {
  margin-right: 1rem;
}

.menu-item__sub {
  background: var(--grey);
  overflow: hidden;
  transition: max-height 0.3s;
  max-height: 0;
}
.menu-item__sub a {
  display: block;
  padding: 1rem 1.6rem;
  color: white;
  font-size: 0.9rem;
  position: relative;
  border-bottom: 1px solid var(--light-grey);
}
.menu-item__sub a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0.4rem;
  height: 100%;
  background: var(--blue);
  transform: translatex(-0.4rem);
  transition: 0.3s;
  opacity: 0;
}
.menu-item__sub a:hover::before {
  opacity: 1;
  transform: translatex(0);
}

.menu-item:target .menu-item__sub {
  max-height: 10em;
}

.menu-item__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-left: 1rem; /* Indent submenus */
}

.btn {
  display: block;
  padding: 1rem;
  color: #fff;
  background: #4b6b6a;
  cursor: pointer;
}

.btn:hover {
  background: #324847;
}

.menu-item:target > .menu-item__sub,
.menu-item__sub:target {
  max-height: 10em;
}

.sub-btn {
  display: block;
  color: white;
  padding: 1rem 1.6rem;
  position: relative;
}

.sub-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0.4rem;
  height: 100%;
  background: var(--blue);
  transform: translateX(-0.4rem);
  opacity: 0;
  transition: 0.3s;
}

.sub-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.navbar {
  background: #4b6b6a;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  border-bottom: 4px solid #e8dfb6;
  border-image-slice: 1;
  padding: 0 40px;
}

/* Flexbox layout for logo and menu items */
.navbar__container {
  display: flex;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  justify-content: space-between;
}

/* Logo size */
.sc-logo {
  width: 160px;
  height: 90px;
}

/* Horizontal menu list inside navbar */
.navbar__menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

/* Individual menu item alignment */
.navbar__item {
  height: 80px;
  display: flex;
  align-items: center;
}

/* Styled navigation links with gradient text */
.navbar__links {
  background: #e8dfb6;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 14px;
  text-decoration: none;
  padding: 0.5rem;
}

/* Hover effect for nav links */
.navbar__links:hover {
  -webkit-text-fill-color: #cbbf97;
  transition: all 0.3s ease-in-out;
  font-size: 16px;
  text-decoration: underline #cbbf97;
}

/* Hamburger icon hidden by default */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  height: 50px;
  width: 40px;
  margin-left: 0;
  margin-right: 5px;
  position: relative;
  visibility: hidden;
}

/* Hamburger bars */
.navbar__toggle .bar {
  height: 5px;
  width: 100%;
  background-color: #e8dfb6;
  border-radius: 4px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s ease;
}

/* Position top and bottom bars */
.navbar__toggle .bar:nth-child(1) {
  top: 25%;
}
.navbar__toggle .bar:nth-child(3) {
  top: 75%;
}

/* Active state (X icon) */

.navbar__toggle.active .bar:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.navbar__toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.navbar__toggle.active .bar:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Off-screen menu for small screens (hidden initially) */
/* Dropdown menu - hidden by default */
.off-screen {
  position: fixed; /* changed from fixed */
  top: 80px; /* height of navbar */
  left: 0;
  width: 100%;
  height: auto;
  /* background: #081118; */
  transition: max-height 0.3s ease;
  z-index: 998; /* below navbar */
  overflow: hidden;
  max-height: 0; /* collapsed by default */
  transition: max-height 0.4s ease-in-out;
}
.off-screen.active {
  max-height: 100vh; /* enough to show full menu */
}

/* Optional overlay (fade background when menu is open) */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 997; /* under navbar and menu */
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/*  */
.dropdown {
  position: relative;
}

.dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0%;
  background-color: #2f4746;
  border-bottom: 1px solid #4b6b6a;
  min-width: 150px;
  flex-direction: column;
  list-style-type: none;
  z-index: 1000;
}

.dropdown__link {
  padding: 10px 15px;
  color: #e8dfb6;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  z-index: 0;
}

.dropdown__link:hover {
  background-color: #4b6b6a;
  color: white;
}

.dropdown__menu {
  display: none;
}
.dropdown.active > .dropdown__menu {
  display: flex;
}
.dropdown__submenu.active {
  display: flex;
}
/* Nested DropDown */

/* Position the nested submenu */
/* Base submenu */
.dropdown__submenu {
  display: none;
  position: absolute;
  top: 0; /* aligns to top of parent li */
  left: 100%; /* appears to the right of parent li */
  background-color: #2f4746;
  min-width: 150px;
  flex-direction: column;
  list-style: none;
  z-index: 1001;
  border-bottom: 1px solid #4b6b6a;
}

/* Parent li relative positioning for submenu */
.dropdown__submenu li.has-submenu {
  position: relative;
}

/* Show submenu on hover */
.dropdown__submenu li.has-submenu:hover > .dropdown__submenu {
  display: flex;
}

/* Optional arrow styling */
.dropdown__link .arrow {
  float: right;
  margin-left: 5px;
  transition: transform 0.2s;
}

.dropdown__submenu li.has-submenu:hover > .dropdown__link .arrow {
  transform: rotate(90deg);
}

/* Show nested submenu on hover */
.dropdown:hover > .dropdown__submenu {
  display: flex;
}

/* Style links inside nested submenu */
.dropdown__submenu .dropdown__link {
  padding: 10px 15px;
  color: #e8dfb6;
  white-space: nowrap;
}

.dropdown__submenu .dropdown__link:hover {
  background-color: #4b6b6a;
  color: white;
}

.arrow {
  margin-left: 10px;
  font-size: 12px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown:hover > .dropdown__link .arrow {
  transform: rotate(90deg);
  margin-left: 70px;
  transition: all 0.3s ease-in;
}

/* Style off-screen menu items */
.off-screen ul {
  list-style: none;
  padding: 0;
}

.off-screen .navbar__item {
  width: 100%;
  justify-content: start;
  padding: 1rem 0;
  font-size: 16px;
}

.off-screen .navbar__links {
  font-size: 20px;
}

/* Responsive adjustments for mobile screens */
@media screen and (max-width: 768px) {
  .navbar__container > .navbar__menu {
    display: none;
  }

  .navbar__toggle {
    display: flex;
    visibility: visible;
  }

  .off-screen.active {
    display: flex;
  }

  .off-screen .navbar__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .navbar__menu {
    display: none;
  }
}

/*  */
.image-container {
  position: relative;
  width: 90vw;
  height: 35vh;
  margin: 20vh auto 0 auto;
  overflow: hidden;
}

.img-book {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}

.message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  text-align: center;
}

.message h1 {
  font-size: 5rem;
  margin: 0;
  letter-spacing: 2px;
  transition: all 0.5s ease-in-out;
}

.message h1:hover {
  letter-spacing: 4px;
  color: transparent;
  -webkit-text-stroke: 1px white;

  stroke: 1px white;
  transition: all 0.3s ease;
}

/*  */
.contact-container {
  height: 10vh;
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  padding-top: 5vh;
}

.contact-left {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
  width: 40vw;
}

.contact-left-title h2 {
  font-weight: 600;
  color: #fff;
  font-size: 40px;
  margin-bottom: 5px;
}

.contact-left-title hr {
  border: none;
  width: 120px;
  height: 5px;
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
}

.contact-inputs {
  width: 400px;
  height: 50px;
  border: 2px solid transparent;
  outline: none;
  padding-left: 25px;
  font-weight: 500;
  color: #fff;
  border-radius: 50px;
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  transition: border 0.3s ease-in-out, background 0.3s ease-in-out;
}

.contact-left textarea {
  height: 140px;
  padding-top: 15px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.contact-inputs:focus {
  border: 2px solid #fff;
  background-color: rgba(255, 255, 255, 0.3);
}

.contact-inputs::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-left button {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  font-size: 16px;
  color: #5c4033;
  gap: 10px;
  border: none;
  border-radius: 50px;
  background-color: #c19a6b;
  transition: background 0.3s ease-in-out;
}

.contact-left button:hover {
  background-color: #d2b48c;
}

.contact-right img {
  width: 500px;
}

@media (max-width: 800px) {
  .contact-inputs {
    width: 80vw;
  }

  .contact-right {
    display: none;
  }
}

/* Contact new new */

.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  background-color: #4b6b6a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
}

.form {
  width: 100%;
  max-width: 820px;

  border-radius: 10px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.5);
  z-index: 990;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact-form {
  background-color: #4b6b6a;
  position: relative;
}
.circle {
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 20%, #9ca780);
  position: absolute;
}
.circle.one {
  width: 130px;
  height: 130px;
  top: 130px;
  right: -40px;
}
.circle.two {
  width: 80px;
  height: 80px;
  top: 10px;
  right: 30px;
}
.contact-form::before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: #4b6b6a;
  transform: rotate(45deg);
  top: 50px;
  left: -13px;
}

form {
  padding: 2.3rem 2.2rem;
  z-index: 10;
  overflow: hidden;
  position: relative;
}

.title {
  color: #e8dfb6;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.input-container {
  position: relative;
  margin: 1rem 0;
}

.input {
  width: 100%;
  outline: none;
  border: 2px solid #e8dfb6;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: 0.3s;
}

textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  border-radius: 4px;
  resize: none;
  overflow-y: auto;
}

.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: #e8dfb6;
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}

.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}

.bbtn {
  padding: 0.6rem 1.3rem;
  background-color: #e8dfb6;
  border: 2px solid #e8dfb6;
  font-size: 0.95rem;
  color: #4b6b6a;
  line-height: 1;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  transition: all 0.5s ease;
  margin: 0;
}

.bbtn:hover {
  background-color: transparent;
  color: #e8dfb6;
  box-shadow: 10px 5px 5px 2px rgba(0, 0, 0, 0.5);
}

.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: #4b6b6a;
  top: 50%;
  transform: translateY(-50%);
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}

.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
  background-color: #fff;
}

.contact-info .title {
  color: #1abc9c;
}

.text {
  color: #333;
  margin: 1.5rem 0 2rem 0;
}

.information {
  display: flex;
  color: #555;
  margin: 0.7rem 0;
  align-items: center;
  font-size: 0.95rem;
}

.icon {
  width: 28px;
  margin-right: 0.7rem;
}

.social-media {
  padding: 2rem 0 0 0;
}

.social-media p {
  color: #333;
}

.social-icons {
  display: flex;
  margin-top: 0.5rem;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 5px;
  background: linear-gradient(45deg, #1abc9c, #149279);
  color: #fff;
  text-align: center;
  line-height: 35px;
  margin-right: 0.5rem;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.05);
}

.contact-info:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 100px;
  border: 22px solid #1abc9c;
  border-radius: 50%;
  bottom: -77px;
  right: 50px;
  opacity: 0.3;
}

.big-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #1cd4af, #159b80);
  bottom: 50%;
  right: 50%;
  transform: translate(-40%, 38%);
  z-index: 0;
}

.big-circle:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background-color: #4b6b6a;
  border-radius: 50%;
  top: calc(50% - 180px);
  left: calc(50% - 180px);
}

.square {
  position: absolute;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(181%, 11%);
  opacity: 0.2;
}

@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
  }

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .square {
    transform: translate(140%, 43%);
    height: 350px;
  }

  .big-circle {
    bottom: 75%;
    transform: scale(0.9) translate(-40%, 30%);
    right: 50%;
    z-index: 0;
  }

  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }

  .square,
  .big-circle {
    display: none;
  }

  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    width: 23px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .bbtn {
    padding: 0.45rem 1.2rem;
  }
}

.elfsight-app-2d510061-5b92-482f-8f98-d57e9bc05f72 {
  max-width: 100% !important;
  overflow-x: hidden !important;
}
