* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.header {
  background-color: #0a1c30;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  margin: 0;
}

.header .logo {
  display: flex;
  align-items: center;
}

.header .logo h1 {
  font-size: 24px;
  color: orange;
  margin-left: 10px;
}

.header .logo span {
  color: #1da1f2;
}

.header nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

/* From Uiverse.io by shah1345 */ 
footer {
  background-color: #f8f8f8;
  padding: 20px;
  text-align: center;
  font-size: 18px;
  color: #333;
}
/* footer */
.main-footer {
  background-color: #0a1c30;
  color: white;
  padding: 20px 30px;
  font-size: 14px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* max-width: 1200px; */
  margin: 0 auto;
  width: 100%;
}

.footer-logo {
  max-width: 250px;
}

.footer-logo h1 {
  color: orange;
  font-size: 24px;
  margin-bottom: 5px;
}

.footer-logo span {
  color: #1da1f2;
}

.footer-logo p {
  margin: 8px 0;
  line-height: 1.5;
}

.footer-section {
  max-width: 200px;
  margin-top: 20px;
}

.footer-section h3 {
  color: #f5c518;
  margin-bottom: 10px;
}

.footer-section p {
  margin: 8px 0;
}

.footer-section a {
  color: #b0b0b0;
  text-decoration: none;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  background-color: #081a2b;
  font-size: 13px;
}

.footer-bottom span {
  color: orange;
}
/* popup error or success */
.popup {
  font-size: 12px;
  padding: 8px;
  max-width: 90%;
  width: 40%;
  left: 5%;
}
/* Side Navigation CSS */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #17202a;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

#main {
  transition: margin-left 0.5s;
  margin-left: 0;
  padding: 0px;
}
ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
}
.example-2 .icon-content a:hover {
  color: white;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #24262a;
}
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}
.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
/* responsiveness code */
/* Responsive CSS */

/* General adjustments */
@media (max-width: 768px) {
  .header {
      flex-direction: column;
      align-items: flex-start;
  }

  .header nav {
      display: none; /* Hide nav links on smaller screens */
  }

  /* Show a menu icon instead of nav links */
  .header .menu-icon {
      display: block;
      cursor: pointer;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 480px) {
  /* Logo and footer adjustments */
  .header .logo h1 {
      font-size: 20px;
  }

  .hero-content h2 {
      font-size: 24px;
  }

  .footer-content {
      flex-direction: column;
      align-items: center;
  }

  .footer-section {
      max-width: 100%;
      text-align: center;
      margin-top: 20px;
  }

  .footer-logo img {
      width: 150px;
  }

  .footer-bottom p {
      font-size: 12px;
  }

  /* Sidenav adjustments */
  .sidenav a {
      font-size: 18px;
      padding: 8px;
  }

  .sidenav .closebtn {
      font-size: 24px;
  }
}



.social-account-container {
  margin-top: 25px;
}

.social-account-container .title {
  display: block;
  text-align: center;
  font-size: 10px;
  color: rgb(170, 170, 170);
}

.social-account-container .social-accounts {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 5px;
}

.social-account-container .social-accounts .social-button {
  background: linear-gradient(45deg, rgb(0, 0, 0) 0%, rgb(112, 112, 112) 100%);
  border: 5px solid white;
  padding: 5px;
  border-radius: 50%;
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 12px 10px -8px;
  transition: all 0.2s ease-in-out;
}

.social-account-container .social-accounts .social-button .svg {
  fill: white;
  margin: auto;
}

.social-account-container .social-accounts .social-button:hover {
  transform: scale(1.2);
}

.social-account-container .social-accounts .social-button:active {
  transform: scale(0.9);
}

.agreement {
  display: block;
  text-align: center;
  margin-top: 15px;
}

.agreement a {
  text-decoration: none;
  color: #0099ff;
  font-size: 9px;
}

/* login button on the top */
.button2 {
  display: inline-block;
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #090909;
  padding: 8px 30px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 0.5em;
  background: #e8e8e8;
}

.button2:active {
  color: #666;
}

.button2:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.button2:after {
  content: "";
  position: absolute;
  left: 55%;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  width: 160%;
  height: 190%;
  background-color: #009087;
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.button2:hover {
  color: #ffffff;
  border: 1px solid #009087;
}

.button2:hover:before {
  top: -35%;
  background-color: #009087;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.button2:hover:after {
  top: -45%;
  background-color: #009087;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

  /* here is the course lists types of courses */
  .secondary-container {
    width: 100%;
    /* margin-top: 20px; */
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 20px;
    text-align: center;
}

h1 {
    font-family: 'Arial', sans-serif;
    font-size: 2.5em;
    color:#090909;
    margin-bottom: 20px;
}
.packages-container {
  display: flex;
  flex-direction: column; /* Stack the header above the cards */
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.packages-container h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

.package-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allows wrapping to the next line if needed */
  gap: 20px; /* Spacing between course cards */
}

.package-box {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.package-box:hover {
  transform: translateY(-5px);
}

.card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.image-container {
  overflow: hidden;
  border-radius: 12px;
  margin: 0%;
}

.card-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
}

.card-title {
  margin-top: 15px;
  font-size: 1em;
  color: #333;
}

.card-price {
  color: #666;
  font-size: 0.9em;
  margin-top: 5px;
}
.package-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: fit-content;
}