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

body {
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #fff;
  font-family: cinzel;
}


.head {
  top: 0vw;
  height: 8vw;
  width: 100%;
  position: fixed;
  z-index: 3;
  background-color: #c1a164;
}
.head img {
  height: 5vw;
  width: 5vw;
  border-radius: 10vw;
  position: absolute;
  left: 1vw;
  top: 1.5vw;
  border: solid 0.15vw rgb(36, 84, 218);
  cursor: pointer;
  animation: border-color-animation 3s infinite;
}
@keyframes border-color-animation {
  0% {
    border-color: rgb(36, 84, 218);
  }
  33% {
    border-color: rgb(255, 0, 0);
  }
  66% {
    border-color: rgb(0, 255, 0);
  }
  100% {
    border-color: rgb(36, 84, 218);
  }
}
.head h1 a{
  color: #111;
  text-decoration: none;
  position: relative;
  left: 7vw;
  top: 1.7vw;
  font-size: 1.8vw;
  cursor: pointer;
  font-family: cinzel;
}
.head p a{
  color: #111;
  position: relative;
  left: 7vw;
  top: 1.7vw;
  font-size: 1.3vw;
  cursor: pointer;
  text-decoration: none;
  font-family: cinzel;
}


.logo img {
  height: 5vw;
  width: 5vw;
  border-radius: 10vw;
  z-index: 3;
  position: fixed;
  right: 1vw;
  top: 1.5vw;
  cursor: default;
}


.menu {
  text-align: center;
  position: fixed;
  top: 3vw;
  left: 43vw;
  z-index: 3;
}
.menu ul {
  display: flex;
  list-style: none;
  font-size: 1vw;
  padding: 0;
  margin: 0;
}
.menu ul li {
  position: relative;
  margin: 0 0.7vw;
  padding: 0.7vw;
}
.menu ul li a {
  text-decoration: none;
  color: #111;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  font-family: cinzel;
  font-weight: 700;
}
.menu ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.3vw;
  width: 0;
  height: 0.2vw;
  background-color: #fff;
  transform: translateX(-50%);
  transition: width 0.4s ease-in-out;
}
.menu ul li a:hover {
  color: #444;
}
.menu ul li a:hover::after {
  width: 50%;
}
.menu-1 {
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  width: auto;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  background-color: #c1a164;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.menu-1 li {
  padding: 0.7vw 1vw;
  white-space: nowrap;
  background-color: transparent;
  display: block;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.menu-1 li a {
  text-decoration: none;
  font-family: cinzel,bold;
  transition: color 0.3s ease;
}
.menu-1 li a:hover {
  color: rgb(255, 255, 255);
}
.menu ul li:hover .menu-1 {
  opacity: 1;
  visibility: visible;
}
.menu ul li:hover .menu-1 li {
  opacity: 1;
  transform: translateY(0);
}
.menu-1 li:nth-child(1) {
  transition-delay: 0.1s;
}
.menu-1 li:nth-child(2) {
  transition-delay: 0.2s;
}
.menu-1 li:nth-child(3) {
  transition-delay: 0.3s;
}
.menu-1 li:nth-child(4) {
  transition-delay: 0.4s;
}
.menu-1 li:nth-child(5) {
  transition-delay: 0.5s;
}
.menu ul li:not(:hover) .menu-1 {
  opacity: 0;
  visibility: hidden;
}
.menu ul li:not(:hover) .menu-1 li {
  opacity: 0;
  transform: translateY(-10px);
  transition-delay: 0s;
}
.menu-1 ul {
  padding: 0;
  margin: 0;
  display: block;
}
.arrow {
  display: inline-block;
  margin-left: 0.3vw;
  font-size: 1vw;
  transition: transform 0.3s ease;
}
.has-submenu:hover .arrow {
  transform: rotate(180deg);
}

.Main-Slider {
  text-align: left;
  /* padding: 20px; */
  background-color: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  position: relative;
  /* top: 8.5vw; */
  margin-left: 1vw;
}
.cover-img {
  width: 67%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 0vw;
  border: 3px solid #eae5e5;
}
.timeline-container {
  position: relative;
  max-width: 1200px;
  background-color: #eae5e5;
  margin: 0 auto;
  padding: 50vh 0 20px;
  border-radius: 10px;
  margin-bottom: 1vw;
}
.timeline-line {
  position: absolute;
  width: 4px;
  background-color: #4a6fa5;
  top: 0px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.year-marker {
  position: sticky;
  top: 50vh;
  width: 100px;
  height: 100px;
  background-color: #4a6fa5;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto;
  transform: translateY(-50%);
  z-index: 2;
  box-shadow: 0 0 0 8px #f8f9fa;
  transition: all 0.3s ease;
}
.year-marker.active {
  background-color: #2c4d7a;
  transform: translateY(-50%) scale(1.1);
}
.timeline-content {
  position: relative;
  width: 42%;
  padding: 25px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin: 40px 0;
  opacity: 0;
  transition: all 0.8s ease;
}
.timeline-content.show {
  opacity: 1;
  transform: translateX(0);
}
.timeline-content.left {
  transform: translateX(-0px);
  margin-right: auto;
}
.timeline-content.right {
  transform: translateX(1px);
  margin-left: auto;
}
.timeline-content img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}
.timeline-content h3 {
  color: #4a6fa5;
  margin-bottom: 10px;
  font-size: 1.5rem;
}
.timeline-content p {
  line-height: 1.6;
  color: #555;
  font-family: Bodoni Moda;
}
.timeline-content.left::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 30px;
  height: 30px;
  background: white;
  z-index: -1;
}
.timeline-content.right::after {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 30px;
  height: 30px;
  background: white;
  z-index: -1;
}
.short-spacer {
  height: 100px;
  position: relative;
}
.short-spacer::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #4a6fa5;
  top: 0;
  height: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.short-spacer ~ .timeline-line {
  display: none;
}


footer {
  background-color: #c1a164;
  color: white;
  padding: 2vw 2vw;
  margin-top: 9vw;
  font-family: cinzel;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-content a {
  color: #fff;
  text-decoration: none;
}
.footer-content div {
  width: 30%;
  padding: 10px;
  box-sizing: border-box;
}
.footer-content .contact-info p {
  margin: 8px 0;
}
.footer-content .quick-links ul,
.footer-content .legal ul {
  list-style-type: none;
  padding-left: 0;
}
.footer-content .quick-links li,
.footer-content .legal li {
  margin: 8px 0;
}
.footer-content .quick-links a,
.footer-content .legal a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.footer-content .quick-links a:hover,
.footer-content .legal a:hover {
  color: #444;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #fff;
  padding-top: 10px;
}
.footer-bottom p {
  margin: 0;
  font-size: 14px;
  line-height: 1vw;
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content div {
    width: 100%;
    text-align: center;
  }
  
  .footer-bottom p {
    font-size: 12px;
  }

  .cover-img{
    height: auto;
  }
  .head h1 a{
    top: -3.9vw;
  }
  .head p a{
    top: -11.8vw;
  }

  .year-marker{
    top: 9vh;
  }
  .timeline-content {
    width: 100%;
  }
  .timeline-line {
    width:0px;
  }
  .year-marker{
    width: 51px;
    height: 26px;
    border-radius: inherit;
    font-size: 1rem;
  }

}