@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;700&display=swap");

:root {
  --bg-color: black;
  --text-color: #e0e0e0;
  --box-shadow: rgba(0, 0, 0, 0.2);
  --box-shadow-hover: rgba(0, 0, 0, 0.4);
  --button-bg: rgba(20, 20, 20, 0.702);
  --button-border: rgba(128, 119, 119, 0.6);
}

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

html,
body {
  font-family: "Plus Jakarta Sans", "Trebuchet MS", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

#navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  margin-left: 10%;
  margin-top: 1%;
  height: 10%;
  background: rgba(45, 45, 45, 0.3);
  backdrop-filter: blur(2px);
  border-radius: 25px;
  z-index: 999;
  color: var(--text-color);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: rgba(255, 255, 255, 0.3) 1px solid;
  box-shadow: 0 4px 8px var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

.enroll-btn {
  margin-left: 10px;
}

#navbar {
  transition: all 0.3s ease-in-out;
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  margin-left: 10%;
  margin-top: 1%;
  height: 10%;
  background: rgba(45, 45, 45, 0.3);
  backdrop-filter: blur(2px);
  border-radius: 25px;
  z-index: 999;
  color: var(--text-color);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: rgba(255, 255, 255, 0.3) 1px solid;
  box-shadow: 0 4px 8px var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#hero {
  /* background: linear-gradient(135deg, #002727, #05052f); */
  background-color: var(--bg-color);
  color: var(--text-color);
  text-align: center;
  padding: 100px 20px;
  position: relative;
  box-shadow: var(--box-shadow);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

button {
  background-color: var(--button-bg);
  backdrop-filter: blur(25px);
  color: var(--text-color);
  border: 1px solid var(--button-border);
  font-family: "Plus Jakarta Sans", "Trebuchet MS", Arial, sans-serif;
  font-weight: 600;
  border-radius: 50px;
  height: 45px;
  width: 130px;
  margin-top: 25px;
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.3s ease;
  position: relative;
  z-index: 100;
}

button:hover {
  box-shadow: var(--box-shadow-hover);
  transform: scale(2);
}

.astyle {
  text-decoration: none;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.8);
}

.buttonstyle {
  text-decoration: none;
  background-color: var(--button-bg);
  backdrop-filter: blur(25px);
  color: white;
  border: 1px solid var(--button-border);
  font-family: "Plus Jakarta Sans", "Trebuchet MS", Arial, sans-serif;
  font-weight: 600;
  border-radius: 50px;
  height: 45px;
  width: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 5%;
  margin-right: 5%;
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.3s ease;
  position: relative;
}

.buttonstyle:hover {
  box-shadow: var(--box-shadow-hover);
  transform: scale(0.95);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.about {
  /* background: linear-gradient(135deg, #002727, #05052f); */
  padding: 80px 20px;
  text-align: center;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 5px solid var(--button-border);
  position: relative;
  overflow: hidden;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.info-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin-top: 40px;
  width: 100%;
}

.info-box {
  background-color: rgba(51, 45, 45, 0.1);
  color: var(--text-color);
  border-radius: 25px;
  padding: 30px;
  border: rgba(255, 255, 255, 0.3) 1px solid;
  box-shadow: 0 4px 8px var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.info-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.info-box p {
  font-size: 1.1rem;
  line-height: 1.5;
}

.info-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px var(--box-shadow-hover);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-30px) translateX(-50%);
  }
}

@media (max-width: 768px) {
  .info-boxes {
    grid-template-columns: 1fr;
  }
}

.courses {
  /* background: linear-gradient(135deg, #002727, #05052f); */
  color: var(--text-color);
  text-align: center;
  padding: 80px 20px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 5px solid var(--button-border);
  position: relative;
  overflow: hidden;
}

.courses h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.courses p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.course {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  flex-direction: row;
  width: 90%;
  margin-left: 5%;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 25px;
  border: rgba(255, 255, 255, 0.3) 1px solid;
  box-shadow: 0 4px 8px var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course.reverse {
  flex-direction: row-reverse;
}

.course-img {
  width: 50%;
  padding: 20px;
}

.course-img img {
  width: 85%;
  border-radius: 25px;
  box-shadow: 0 4px 8px var(--box-shadow);
}

.course-text {
  width: 50%;
  padding: 20px;
}

.course-text h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.course-text p {
  font-size: 1.1rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .course {
    flex-direction: column;
  }

  .course-img,
  .course-text {
    width: 100%;
  }
}

.contact {
  padding: 80px 20px;
  text-align: center;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 5px solid var(--button-border);
  position: relative;
  overflow: hidden;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-text p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-btn {
  display: flex;
  justify-content: center;
}

#gradient-1 {
  background: radial-gradient(
    circle,
    rgba(135, 206, 235, 0.5) 20%,
    rgba(45, 45, 45, 0.3) 30%
  );
  height: 60%;
}

.picbox {
  width: 250px;
  border-radius: 25px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px var(--box-shadow);
}

.contact-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contact-card {
  width: 300px;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 25px;
  border: rgba(255, 255, 255, 0.3) 1px solid;
  box-shadow: 0 4px 8px var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.gradient1 {
  position: absolute;
  opacity: 0.3;
  z-index: 0;
  max-width: 25%;
  animation: spin 2s ease-in-out;
}

.gradient2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  z-index: 0;
  max-width: 75%;
}

.gradient3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  z-index: 0;
  max-width: 75%;
}

.gradient4 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  z-index: 0;
  max-width: 75%;
}

.gradient5 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  z-index: 0;
  max-width: 75%;
}

.gradient6 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  z-index: 0;
  max-width: 50%;
}

.gradient7 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  z-index: 0;
  max-width: 12%;
}
