* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Gilroy", sans-serif;
}

body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  width: 100vw;

  font-family: Figtree;
}
:root {
  --primary-color: #b0870b;
  --primary-color-2: #c2950d;
  --primary-color-3: #d8a611;
  --primary-color-4: #efbf2d;
  --primary-color-5: #ffcc34;
  --secondary-color: #2a4759;
  --secondary-color-2: #385e76;
  --third-color: #1b1b1b;
  --background-color: rgb(255, 255, 255);
  --background-color-2: rgb(232, 232, 232);
  --background-color-3: rgb(234, 234, 234);
  --transparent-background: #0c1f2a99;
  --background-color-primary: #7a5908;
  --background-color-secondary: #0c1f2a;
  --background-color-tertiary: #000000;
  --text-color: #1b1b1b;
  --text-color-2: #ffffff;
  --text-color-3: #dddddd;
  --heading-color: #2e2e2e;
  --heading-color-2: #5f4504;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body a,
body li {
  font-family: "Gilroy";
  letter-spacing: 0.07em;
}

body h1,
body h2,
body h3 {
  font-weight: 300;
}

th,
td {
  font-family: Roboto;
}

label {
  font-family: "Gilroy";
}

.lowercase {
  text-transform: lowercase;
}

.link {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.item {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav a,
.nav li,
.nav p {
  font-family: "Gilroy";
  text-transform: capitalize;
  font-size: 18px;
  font-weight: 300;
}

/*Language*/

.language-panel {
  display: none;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.language-panel.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lang-panel-box {
  display: flex;
  flex-direction: column;
  width: 320px;
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  padding: 0;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideDown 0.4s ease-out;
  transform-origin: top center;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Add header container for title and close button */
.lang-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.lang-title {
  text-align: center;
  color: var(--text-color-2);
  margin: 0;
  font-size: 22px;
  width: auto;
  font-weight: 500;
  /* Remove border-bottom since it's now on the parent */
  border-bottom: none;
  /* Remove padding since it's handled by parent */
  padding: 0;
}

.lang-list {
  width: 100%;
  padding: 15px 0;
}

.lang-panel-box ul {
  margin: 0;
  padding: 0;
  width: 100%;
}

.lang-item {
  height: 56px;
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.lang-item > a {
  color: var(--text-color-2);
  font-size: 16px;
}

.lang-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.lang-item:hover > a {
  color: var(--primary-color-4);
  font-weight: 500;
  transition: 0.3s;
}

.lang-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color-4);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.lang-item:hover::after {
  width: 85%;
}

.lang-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0 25px;
}

.lang-link span {
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.lang-item:hover .lang-link span {
  transform: translateX(5px);
}

.lang-item > a > img {
  width: 32px;
  height: 22px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.lang-item:hover > a > img {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.lang-close-btn {
  position: absolute;
  right: 15px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  z-index: 2;
  border-radius: 50%;
  transition: all 0.3s ease;
  overflow: hidden;
  /* Remove top positioning since it's now in a flex container */
  top: auto;
}

.close-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

/* Create the X using pseudo-elements */
.close-icon::before,
.close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.close-icon::before {
  transform: rotate(45deg);
}

.close-icon::after {
  transform: rotate(-45deg);
}

/* Replace background circle animation with pulse */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 191, 45, 0.5);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(239, 191, 45, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 191, 45, 0);
  }
}

/* Hover and click animations - simple pulsing effect */
.lang-close-btn:hover {
  animation: pulse 1.5s infinite;
}

.lang-close-btn:hover .close-icon::before,
.lang-close-btn:hover .close-icon::after {
  background-color: var(--primary-color-4);
}

/* Remove rotation animations from hover state */
/* Active state animation */
.lang-close-btn:active .close-icon {
  transform: scale(0.8);
}

/* Remove unused image styles */
