/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #132126;
}

header {
  /* background: linear-gradient(90deg, #ff6a00, #ee0979); */
  background: linear-gradient(167deg, #1e1e1d, #151415);
  color: white;
  /* padding: 10px 20px; */
  height: 90px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -16px;
}

.logo span {
  color: #ff6a00;
  font-weight: bold;
}

.logo {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.logo-img {
  max-width: 84px; /* Adjust the width */
  height: auto; /* Maintain aspect ratio */
  transition: transform 0.3s ease-in-out;
}

.logo-img:hover {
  transform: scale(1.1); /* Slight zoom on hover */
}

/* Search Bar Styles */
.search-bar {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 20px;
}

.search-input {
  width: 300px;
  height: 16px;
  padding: 10px;
  border: 1px solid #fff;
  border-radius: 15px;
  outline: none;
  transition: all 0.4s ease;
  background-color: #030201;
  color: white;
  font-size: 1em;
  opacity: 0.8;
}

.search-input::placeholder {
  color: #ffd699;
}

.search-input:focus {
  width: 450px;
  background-color: rgb(24, 24, 24);
  color: #ffffff;
  border: 1px solid #ff6a00;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.search-btn {
  position: absolute;
  right: 10px;
  border: none;
  background: none;
  color: white;
  cursor: pointer;
  font-size: 1.2em;
  transition: transform 0.3s ease, color 0.3s ease;
}

.search-btn:hover {
  transform: scale(1.2);
  color: #ffd700;
}

.search-bar:hover .search-input {
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
}

@media (max-width: 768px) {
  .search-input {
    width: 200px;
  }
  .search-input:focus {
    width: 300px;
  }
}

/* ToPay animation */
/* .toPay{
  border: 1px solid white;
  width: auto;
  height: auto;
  border-radius: 5px;

} */

.navfreecsit {
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffdd00;
}

.login-btn {
  padding: 10px 20px;
  background: #ff6a00;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.login-btn:hover {
  background: #ee0979;
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(358deg, #000000, #001841);
  /* padding: 60px 20px; */
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  text-align: center;
  margin-bottom: 45px;
}

.hero-content h1 {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 25px;
}

.hero-content .explore-btn {
  background-color: #ff6a00;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-content .explore-btn:hover {
  background-color: #e55b00;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeInHeroImage {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomInImage {
  from {
    transform: scale(0.9);
    opacity: 0.8;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    margin: 0 0 20px;
  }

  .hero-image {
    max-width: 100%;
  }
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .course-container {
    flex-direction: column;
  }
}

/* General Styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: #ff6a00; */
  padding: 5px 24px;
  position: relative;
  z-index: 100;
}

.logo {
  font-size: 1.5em;
  color: rgb(255, 255, 255);
  font-weight: bold;
}

.logo span {
  color: #ff6a00;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1em;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffd700;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.login-btn {
  background-color: #ffd700;
  color: #ff6a00;
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: #ffcc00;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Active Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #ff6a00;
    padding: 15px;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-actions {
    display: none;
  }
}

@media (min-width: 769px) {
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .nav-actions {
    display: flex;
  }
}

/* Info Section */
.info-section {
  background: linear-gradient(354deg, #0c80a0, #0e0f0f);
  padding: 60px 20px;
  text-align: center;
  border-radius: 15px;
  margin-bottom: 22px;
}

.info-title {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 30px;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.info-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.info-column {
  flex: 1;
  min-width: 280px;
  background: #093d4c;
  /* padding: 10px; */
  border-radius: 10px;
  box-shadow: 10px 12px 61px rgb(255 255 255);
  animation: fadeInColumn 1s ease-in-out;
}

.info-column h3 {
  font-size: 1.5em;
  /* margin-bottom: 15px; */
  color: #ffffff;
}

.info-column p,
.info-column a {
  font-size: 1em;
  color: #ffffff;
  /* margin: 8px 0; */
}

.info-column a {
  text-decoration: none;
}

.info-column a:hover {
  text-decoration: underline;
  color: #ff6a00;
}

/* Social Links */
.social-links {
  margin-top: -15px;
}

/* .social-icon,i {
  font-size: 20px;
} */

.social-icon {
  display: inline-block;
  margin: 0 10px;
  margin-bottom: 20px;
  font-size: 1.5em;
  color: #fb0000;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #ff6a00;
}

/* Resource Links */
.resource-links {
  list-style: none;
  padding: 0;
}

.resource-links li {
  margin: 8px 0;
}

.resource-links a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;
}

.resource-links a:hover {
  color: #ff6a00;
}

/* Responsive Design */
@media (max-width: 768px) {
  .info-columns {
    flex-direction: column;
    align-items: center;
  }
}

/* Animations */
@keyframes fadeInColumn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* footer design */
.footer-design {
  background: linear-gradient(354deg, #0c80a0, #0e0f0f);
  padding: 60px 20px;
  text-align: center;
  border-radius: 15px;
  margin-bottom: 22px;
}

.info-design-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Explore */

.nav {
  position: relative;
  display: inline-block;
}

.explore-btn {
  background-color: #414141;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  width: 200px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.dropdown a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #ddd;
}

.dropdown a:hover {
  background-color: #f4f4f4;
}

.nav:hover .dropdown {
  display: block;
  opacity: 1;
}

/* Mobile-friendly toggle */
@media (max-width: 768px) {
            .dropdown {
                position: static;
                box-shadow: none;
                width: auto;
            }
        }

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100; /* Ensure hamburger is above other elements */
}

.bar {
  width: 25px;
  height: 3px;
  background-color: white; /* Match existing design */
  transition: all 0.3s ease;
}

/* Hamburger Animation for Toggle */
.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Show hamburger menu on mobile */
  .hamburger {
    display: flex;
  }

  /* Hide nav-links by default on mobile */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 30%;
    left: 70px;
    width: 60%;
    background-color: #0c0c0c; /* Match existing navbar background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 20px;
    z-index: 1000;
  }

  /* Show nav-links when active */
  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li a {
    font-size: 18px;
    padding: 10px;
    display: block;
    text-decoration: none;
    color: #333; /* Match existing link color */
  }

  .nav-links li a:hover {
    color: #ff3d00; /* Match existing hover color */
  }

  /* Hide other elements to avoid clutter */
  .nav,
  .search-bar,
  .nav-actions {
    display: none; /* Hide explore button, search bar, and login button on mobile */
  }

  /* Adjust navbar for mobile */
  .navbar {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  /* Further adjustments for smaller screens */
  .hamburger {
    gap: 0px;
  }


  .bar {
    width: 20px;
    height: 2px;
  }

  .nav-links li a {
    font-size: 16px;
  }
}
