body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  cursor: url("cursor.png") 16 16, auto;
}
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cube-loader {
  width: 60px;
  height: 60px;
  position: relative;
  transform: rotateZ(45deg);
}
.cube-loader::before,
.cube-loader::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background-color: #e60000;
  animation: cubeSpin 1.2s linear infinite;
  transform-origin: center;
  border-radius: 6px;
}
.cube-loader::after {
  animation-delay: 0.6s;
  background-color: #b30000;
}
@keyframes cubeSpin {
  0% {
    transform: rotateZ(45deg) scale(1);
  }
  50% {
    transform: rotateZ(225deg) scale(0.5);
  }
  100% {
    transform: rotateZ(405deg) scale(1);
  }
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #111;
  flex-wrap: wrap;
}
.navbar a {
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  text-align: center;
  cursor: url("cursor.png") 16 16, auto;
  transition: 0.3s ease-in-out;
}
.navbar a:hover {
  color: #b30000;
}
.navbar .logo {
  font-size: 24px;
  font-weight: bold;
}
.navbar .nav-links {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  flex-wrap: wrap;
}
.navbar .nav-links a {
  margin: 0 10px;
  font-size: 18px;
}
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(to right, #e60000, #000);
  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
}
.hero button {
  background-color: #e60000;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  cursor: url("cursor.png") 16 16, auto;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.hero button:hover {
  background-color: #b30000;
}
.footer {
  background-color: #111;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  color: #fff;
}
.footer p {
  margin: 0;
}
.x {
  color: red;
}
.contact {
  border-radius: 12px;
  padding: 10px;
  text-align: left;
  background-color: #111;
  width: 300px;
  display: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 20%;
  z-index: 999;
  overflow: auto;
}
.contact a {
  text-decoration: none;
  color: #fff;
}

.x-close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: url("cursor.png") 16 16, auto;
}
.x-close:hover {
  color: #b30000;
}
.hamburger {
  display: none;
  cursor: url("cursor.png") 16 16, auto;
  margin-left: auto;
}
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-links {
    position: absolute;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: linear-gradient(to right, #e60000, #000);
    width: 100%;
    transition: 0.3s;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-links a {
    margin: 16px 0;
    padding: 12px;
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .navbar {
    padding: 10px;
  }
  .navbar a {
    padding: 10px 12px;
    font-size: 14px;
  }
}
/* Public HTML Course*/
.course-preview {
  padding: 60px 20px;
  background: #111;
  text-align: center;
  margin-top: 40px;
}

.course-preview h2 {
  color: #fff;
  margin-bottom: 15px;
}
.course-preview a {
  cursor: url("cursor.png") 16 16, auto;
}
.start-free-btn {
  display: inline-block;
  background: #e60000;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.3s;
}
.start-free-btn:hover {
  background: #ff3333;
}

.certificate-note {
  color: #ccc;
  margin-top: 15px;
  font-size: 0.95rem;
}
.about {
  padding: 60px 20px;
  background: #111;
  text-align: center;
}
.about p {
  max-width: 800px;
  margin: 20px auto;
  font-size: 1.2rem;
  line-height: 1.6;
}
.features {
  padding: 60px 20px;
  text-align: center;
}
.features-container {
  max-width: 900px;
  margin: 40px auto;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.square {
  background: #222;
  padding: 20px;
  border-radius: 10px;
}
.square i {
  color: #e60000;
}
.courses {
  padding: 60px 20px;
  background: #111;
  text-align: center;
}
.courses p {
  max-width: 800px;
  margin: 20px auto;
  font-size: 1.1rem;
  line-height: 1.6;
}
.courses ul {
  max-width: 700px;
  margin: 30px auto;
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.6;
}
.how-it-works {
  padding: 60px 20px;
  text-align: center;
}
.container-block {
  max-width: 900px;
  margin: 40px auto;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.step {
  background: #222;
  padding: 20px;
  border-radius: 10px;
}
.numbers {
  font-size: 2rem;
  color: #e60000;
}
.limited-note {
  margin-top: 0.5rem;
  color: #555;
  font-style: italic;
}
.limited-note strong {
  color: #e63946; /* draws attention to “Heads-up” */
}
/* Collage for private lessons & view of certificate */
.private-lessons {
  background: #111;
  padding: 60px 20px;
  text-align: center;
}
.private-lessons h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.private-lessons p {
  max-width: 600px;
  margin: 0 auto 40px;
}
/* Single responsive image */
.private-lessons img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(58, 1, 1, 0.15);
  display: block;
  margin: 0 auto;
}
.certificate-section {
  padding: 60px 20px;
  text-align: center;
}
.certificate-section img {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(121, 108, 95, 0.15);
}
.certificate-section p {
  margin-top: 15px;
  font-size: 3.6rem;
  font-size: 900;
  font-family: Tahoma;
  text-shadow: 5px 5px 5px #e60000;
}
.view-certificate-btn {
  background: #e60000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.view-certificate-btn:hover {
  background: red;
}

/* Modal styling */
.certificate-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.certificate-modal-content {
  position: relative;
  margin: 5% auto;
  max-width: 90%;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}
.certificate-modal-content img {
  width: 400px;
  height: 500px;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}
