@font-face {
  font-family: "EgyptianSlate"; /* or any name you want */
  src: url("assets/EgyptianSlateLight.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Zaslia"; /* or any name you want */
  src: url("assets/Zaslia.otf") format("Opentype");
  font-weight: normal;
  font-style: normal;
  font-feature-settings: "kern" 1, "liga" 1;
}
/* main.css */
:root {
  --color-accent: rgb(230, 170, 40);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "EgyptianSlate";
  overflow-x: hidden;
  background: #000;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a,
p,
h5 {
  color: var(--color-accent);
  text-decoration: none;

  text-transform: uppercase;
  font-size: 12px;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5em 2em;
  display: flex;
  align-items: center;
  z-index: 999;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 10;
  width: 100vw;
  animation: curtainDrop 1s ease-out forwards;
  transform: translateY(-100vh);
  opacity: 0;
}

@keyframes curtainDrop {
  to {
    transform: translateY(0);
    border-bottom: 2px solid #d17900;
    opacity: 1;
  }
}

.dropdown-content a {
  display: block;
  padding: 8px 20px;
  line-height: 1.2;

  letter-spacing: -0.5px;
  font-size: 4rem;
  color: #d17900;
  text-decoration: none;
  transition: background 4s ease-in;
  font-weight: bold;
}

.dropdown-content a:hover {
  background-color: #ffffff00;
}

.dropdown:hover .dropdown-content {
  display: block;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 1.5em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 1rem;
}

.scroll-indicator {
  display: flex;
  gap: 1vw;
  align-items: center;
}

.scroll-indicator-sym {
  height: 5vh;
}

nav > div {
  flex: 1;
}

.links-1,
.links-2 {
  display: flex;
  gap: 2em;
}

.links-2 {
  justify-content: flex-end;
}

.logo {
  display: flex;
  justify-content: center;
}

.logo a {
  font-family: "Zaslia";
  font-feature-settings: "liga" 1, "kern" 1;
  font-size: 2rem;
  z-index: 9999999;
  font-weight: bolder;
  letter-spacing: 0.2em;
}

/* body {
  font-family: Arial, sans-serif;
  background: #f5f9ff;
  margin: 0;
  padding: 20px;
} */

.cont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7rem;
  /* width: 50%; */
  /* max-width: 1000px; */
  margin-top: 70px;
  margin-bottom: 100px;
  /* background: red; */
}

.container-head {
  font-size: 3rem;
  color: #d17900;
  font-family: "Zaslia";
  font-feature-settings: "liga" 1, "kern" 1;
}

.slide {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 15px;
  gap: 30px;
  align-items: center;
  position: relative;
  width: 68vw;
  opacity: 0;
  transform: translateX(0);
  transition: all 0.5s ease;
  /* background-color: blue; */
}

.slide.animate-left {
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.6s ease;
}

.slide.animate-right {
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.6s ease;
}

/* When slide is visible in viewport */
.slide.visible {
  transform: translateX(0);
  opacity: 1;
}

.slide-style-1 {
  background: #6a2f00;
}

.slide-style-1 p {
  color: white;
  font-size: 3rem;
  text-transform: none;
}

/* for edu cont */

.container-edu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* gap: 7rem; */
  /* width: 50%; */
  /* max-width: 1000px; */
  /* margin-top:100px ; */
  /* margin-bottom: 100px; */
  /* background: red; */
}

.edu-head {
  /* background: white; */
  font-size: 3rem;
  color: #d17900;
  font-family: "Zaslia";
  font-feature-settings: "liga" 1, "kern" 1;
}

.edu-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7rem;
  margin-top: 100px;
  margin-bottom: 100px;
}

.edu-body p{
  text-transform: none;
}

.slide1 {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 15px;
  gap: 30px;
  align-items: center;
  position: relative;
  width: 68vw;
  opacity: 0;
  transform: translateX(0);
  transition: all 0.5s ease;
  /* background-color: blue; */
}

.slide1.animate-left {
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.6s ease;
}

.slide1.animate-right {
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.6s ease;
}

/* When slide is visible in viewport */
.slide1.visible {
  transform: translateX(0);
  opacity: 1;
}

.slide1-style-1 {
  background: #6a2f00;
}

.slide-style-1 p {
  color: white;
  text-transform: none;
  font-size: 3rem;
}

.content-section {
  padding: 2rem;
  text-transform: none;
}

.content-section .second {
  font-size: 2rem;
  margin-bottom: 20px;
  /* color: black;
    position: absolute;
    right: 10px; */
}
.content-section .first {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* ============= Responsive adjustments ============= */
@media (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }

  .panel {
    width: 300px;
    height: 40%;
  }

  .dropdown-content a {
    font-size: 3rem;
  }

  .logo a {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1em;
  }

  .links-1,
  .links-2 {
    justify-content: center;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 0.5em;
  }

  .logo a {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.4rem;
  }

  nav {
    padding: 1em;
  }

  .nav-button {
    font-size: 1.5rem;
    padding: 0.3rem 0.8rem;
  }
}

/* Ensure text never gets too small */
a,
p,
h5 {
  font-size: clamp(0.7rem, 2vw, 1rem);
}

/* dropwown content css */

@media (max-width: 768px) {
  .dropdown-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 5em;
    animation: curtainDropMobile 1s ease-out forwards;
    transform: translateY(-100vh);
    opacity: 0;
    z-index: 9999999;
  }

  .dropdown:hover .dropdown-content {
    display: flex;
  }

  .dropdown-content a {
    font-size: 2.5rem;
    margin-bottom: 1em;
    text-align: left;
  }

  @keyframes curtainDropMobile {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

/* ======= Responsive adjustments & overflow fixes ======= */

.slide, .slide1 {
  width: min(90%, 68vw);
}

/* Responsive typography for big headings & slides */
.slide-style-1 p,
.slide1-style-1 p,
.container-head,
.edu-head,
.content-section .first,
.content-section .second {
  font-size: clamp(1.5rem, 6vw, 3rem);
  text-align: center;
}

.container-head{
    padding: 4rem;
}

/* Fix dropdown font on mobile to not be oversized */
@media (max-width: 768px) {
  .dropdown-content a {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}
