* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  min-height: 100vh;
  transition: background 0.6s ease, color 0.4s ease;
}

html {
  scroll-behavior: smooth;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 12px 20px;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-cart-mobile {
  display: none;
}
@media (max-width: 768px) {
  .cart-icon {
    display: none;
  }
  .nav-cart-mobile {
    display: block;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.logo-img {
  width: 40px;
  margin-right: 8px;
  vertical-align: middle;
}

#nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin-left: auto;
}

#nav-links li a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

#nav-links li a:hover {
  color: #00e5ff;
}

/* ✅✅ Responsive Mobile + Tablet + iPad Fix */
@media (max-width: 1024px) {
  #nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-left: 0;
  }

  .cart-icon {
    display: none;
  }

  .nav-cart-mobile {
    display: block;
    margin: 0;
  }
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.theme-toggle {
  background: #00e5ff;
  color: #0f2027;
  border: none;
  border-radius: 50%;
  padding: 8px 12px;
  margin-left: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.theme-toggle:hover {
  background: #00ffc8;
}

/* Responsive Styles */
@media (max-width: 768px) {
  #nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #0f2027;
    position: absolute;
    right: 20px;
    top: 60px;
    padding: 12px;
    border-radius: 8px;
  }

  #nav-links.show {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}

.login-btn {
  background: #00e5ff;
  color: #0f2027;
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  margin-left: 12px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

.login-btn:hover {
  background: #00ffc8;
  color: #0f2027;
}

@media (max-width: 768px) {
  .login-btn {
    position: absolute;
    right: 20px;
    top: 10px;
  }
}

#nav-links li .login-btn {
  background: #00e5ff;
  color: #0f2027;
  padding: 8px 16px;
  border-radius: 20px;
  transition: 0.3s;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
}

#nav-links li .login-btn:hover {
  background: #00ffc8;
  color: #0f2027;
}

@media (max-width: 768px) {
  #nav-links {
    flex-direction: column;
  }

  #nav-links li {
    width: 100%;
    text-align: center;
  }

  #nav-links li .login-btn {
    width: 80%;
    display: inline-block;
  }
}

header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 60px;
}
h1 {
  font-size: 3rem;
  animation: fadeInDown 1s ease-out forwards;
  opacity: 0;
}
h2 {
  font-size: 1.5rem;
  margin-top: 15px;
  color: #eee;
  animation: fadeInUp 1.5s ease-out forwards;
  opacity: 0;
}
.btn {
  margin-top: 30px;
  padding: 12px 30px;
  border: none;
  background: #00bcd4;
  color: #fff;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
}
.btn:hover {
  background: #0097a7;
}
@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: url("https://i.ibb.co/rx5DFbs/wave.png") repeat-x;
  animation: animateWave 6s linear infinite;
}
@keyframes animateWave {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 1000px;
  }
}

.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.theme-toggle img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 5px #00e5ff);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.theme-toggle img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #00ffc8);
}

/* Add transition to whole body for smooth background change */
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  min-height: 100vh;
  transition: background 0.6s ease, color 0.4s ease;
}

.animated-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  /* REMOVE this ↓↓↓ */
  /* background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #1a2a6c); */
  padding: 0 20px;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-content h2 {
  font-size: 1.8rem;
  color: #ddd;
  margin-bottom: 30px;
}

.brand-name {
  color: #00e5ff;
}

.btn {
  background: #00e5ff;
  color: #0f2027;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}
.btn:hover {
  background: #00ffc8;
  transform: translateY(-2px);
}

/*About Us*/
.about {
  background: #1c2b36;
  padding: 80px 20px;
  text-align: center;
}
.about h2 {
  font-size: 2.5rem;
  color: #00bcd4;
  margin-bottom: 20px;
  animation: fadeInDown 1s forwards;
}
.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1.2s ease forwards 0.5s;
}
.about-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
  gap: 20px;
}

.card {
  background: #243b55;
  padding: 20px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}
.card h3 {
  color: #00bcd4;
  margin-bottom: 10px;
}
.card p {
  color: #ccc;
  font-size: 0.95rem;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*
.courses {
  background: #102029;
  padding: 80px 20px;
  text-align: center;
}
.courses h2 {
  font-size: 2.5rem;
  color: #00bcd4;
  margin-bottom: 20px;
}
.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}
.product {
  background: #1c2b36;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.product img {
  width: 100%;
  display: block;
}
.product-details {
  padding: 15px;
  text-align: center;
}
.product-title {
  font-size: 1rem;
  margin-bottom: 8px;
}
.product-price {
  color: #00bcd4;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.add-btn {
  background: #ff9800;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.add-btn:hover {
  background: #f57c00;
  transform: scale(1.05);
}
.add-btn.added {
  background: #4caf50;
}
.show-more-btn {
  display: block;
  margin: 20px auto 40px;
  padding: 10px 25px;
  background: #00bcd4;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.show-more-btn:hover {
  background: #0097a7;
  transform: scale(1.05);
}
footer {
  background: #111;
  text-align: center;
  color: #aaa;
  padding: 15px;
  font-size: 0.9rem;
}

.add-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00bcd4;
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s, transform 0.2s;
}
.add-btn:hover {
  background: #0097a7;
  transform: scale(1.05);
}
.add-btn::before {
  content: "+";
  display: inline-block;
  background: #fff;
  color: #00bcd4;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  font-weight: bold;
}
.add-btn.added::before {
  content: "✓";
  background: #4caf50;
  color: #fff;
}
.add-btn.added {
  background: #4caf50;
}



*/

/*feedback*/
.slider-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.testimonial-card {
  min-width: 300px;
  margin: 0 15px;
  background: rgba(255, 255, 255, 0.07);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 0.95rem;
  color: #fff;
}

.stars {
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.testimonial-card strong {
  display: block;
  margin-top: 10px;
  color: #00e5ff;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .testimonial-card {
    min-width: 85vw;
    margin: 0 8px;
  }
}

/*Certificates*/

.certificates-section {
  background: #0f2027;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.certificates-heading {
  font-size: 2.3rem;
  margin-bottom: 30px;
  color: #00e5ff;
}

.certificates-slider {
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.certificates-track {
  display: flex;
  animation: slideCerts 25s linear infinite;
}

.certificate-img {
  min-width: 350px;
  margin: 0 10px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@keyframes slideCerts {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .certificate-img {
    min-width: 85vw;
  }
}

/*FAQ'S*/

.faq-section {
  background: #0f2027;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.faq-heading {
  font-size: 2.3rem;
  color: #00e5ff;
  margin-bottom: 30px;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 15px auto;
  text-align: left;
}

.faq-question {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 14px 18px;
  font-size: 1.05rem;
  border: none;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  position: relative;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 18px;
  border-radius: 0 0 8px 8px;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer p {
  margin: 12px 0;
  font-size: 0.95rem;
  color: #ccc;
}

/* Open state */
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 12px 18px;
}

@media (max-width: 600px) {
  .faq-question {
    font-size: 1rem;
  }
}

/*Personal Tutions*/

.personal-tuition {
  background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.section-heading {
  font-size: 2.4rem;
  color: #00e5ff;
  margin-bottom: 15px;
}

.section-subheading {
  color: #ccc;
  margin-bottom: 30px;
}

.tuition-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.tuition-form input,
.tuition-form textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #00e5ff;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
}

.tuition-form button {
  background: #00e5ff;
  color: #0f2027;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.tuition-form button:hover {
  background: #00ffc8;
}

/*Community Page*/

.join-community {
  background: #0f2027;
  color: #fff;
  padding: 70px 20px;
  text-align: center;
}

.community-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.join-btn {
  background: #00e5ff;
  color: #0f2027;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 1.05rem;
  text-decoration: none;
  transition: 0.3s;
}

.join-btn:hover {
  background: #00ffc8;
  transform: translateY(-2px);
}

.join-btn.instagram {
  background: #e1306c;
  color: #fff;
}

/*Syallabus*/

.syllabus-downloads {
  background: #0f2027;
  color: #fff;
  padding: 70px 20px;
  text-align: center;
}

.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.download-btn {
  background-color: #00b894;
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 8px;
  display: inline-block;
  transition: background 0.3s;
  font-weight: bold;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.download-btn:hover {
  background-color: #019170;
}

.syllabus-item {
  background: rgba(255, 255, 255, 0.07);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}

.syllabus-item h3 {
  color: #00e5ff;
  margin-bottom: 8px;
}

.syllabus-item p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.download-btn {
  display: inline-block;
  background: #00e5ff;
  color: #0f2027;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.download-btn:hover {
  background: #00ffc8;
  transform: translateY(-2px);
}

/*Contact US Page*/
.contact-section {
  background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.contact-heading {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #00e5ff;
  animation: fadeInDown 1s ease forwards;
}

.contact-subheading {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 30px;
  animation: fadeIn 1.5s ease forwards;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto 30px auto;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #00e5ff;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: #00ffc8;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background: #00e5ff;
  color: #0f2027;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #00ffc8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 200, 0.3);
}

.contact-info {
  margin-top: 20px;
  color: #ccc;
  font-size: 0.95rem;
  animation: fadeInUp 1.5s ease forwards;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 600px) {
  .contact-form {
    width: 100%;
  }
}

/*Footer*/

.site-footer {
  background: #0f2027;
  color: #ccc;
  padding: 50px 20px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand h2 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links h4,
.footer-social h4 {
  color: #00e5ff;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a,
.footer-social a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links ul li a:hover,
.footer-social a:hover {
  color: #00e5ff;
}

.footer-social a {
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  padding-top: 15px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links ul li,
  .footer-social a {
    font-size: 1rem;
  }
}

/*Internship Offers*/

#internships {
  padding: 60px 20px;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  text-align: center;
}

#internships h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
  animation: fadeInDown 1s ease forwards;
  color: #00e5ff;
  letter-spacing: 0.5px;
}

#internships p {
  max-width: 750px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  color: #ccc;
  animation: fadeInUp 1.2s ease forwards;
}

.internship-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.internship-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px 18px;
  border-radius: 10px;
  max-width: 280px;
  min-width: 240px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.internship-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.2);
}

.internship-card h3 {
  color: #00ffc8;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.internship-card p {
  font-size: 0.9rem;
  color: #ddd;
  line-height: 1.5;
}

.internship-apply {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 28px;
  background: #00bcd4;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.internship-apply:hover {
  background: #0097a7;
  transform: scale(1.05);
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✅ Responsive Adjustments */
@media (max-width: 768px) {
  #internships h2 {
    font-size: 2rem;
  }
  .internship-card {
    min-width: 90%;
    padding: 18px 15px;
  }
}

/*cart*/
/* Grouping right side buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

/* Adjust spacing for cart */
.cart-icon {
  background: #00bcd4;
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  margin-right: 5px;
}

.cart-icon:hover {
  background: #0097a7;
  transform: scale(1.05);
}

.courses {
  padding: 80px 20px 40px;
  text-align: center;
}
.courses h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #00e5ff;
}
.courses p {
  color: #cfd8dc;
  font-size: 1rem;
  margin-bottom: 40px;
}
.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.product {
  background: #1c2b36;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.product img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.product-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 12px 0 6px;
}
.product-price {
  color: #00e5ff;
  font-size: 1rem;
  margin-bottom: 12px;
}
.add-btn {
  margin-bottom: 15px;
  padding: 8px 18px;
  border: none;
  border-radius: 30px;
  background: #00bcd4;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.add-btn:hover {
  background: #0097a7;
  transform: scale(1.05);
}
.add-btn.added {
  background: #f44336;
}
.show-btn {
  margin-top: 40px;
  padding: 12px 30px;
  background: #00bcd4;
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}
.show-btn:hover {
  background: #00bcd4;
  transform: scale(1.05);
}

/*Get Certificates*/

.get-certificate-section {
  background: #0f2027;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.certificate-heading {
  font-size: 2.5rem;
  color: #00e5ff;
  margin-bottom: 15px;
}

.certificate-subheading {
  color: #ccc;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.certificate-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.certificate-card {
  background: rgba(255, 255, 255, 0.07);
  padding: 25px 20px;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-8px);
}

.certificate-card h3 {
  color: #00ffc8;
  margin-bottom: 10px;
}

.certificate-card p {
  color: #ddd;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.get-cert-btn {
  background: #00e5ff;
  color: #0f2027;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.get-cert-btn:hover {
  background: #00ffc8;
  transform: scale(1.05);
}

.note-text {
  margin-top: 25px;
  font-size: 0.85rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .certificate-options {
    flex-direction: column;
    align-items: center;
  }

  .certificate-card {
    width: 90%;
  }
}

/*Exam Selection

.exam-section {
  max-width: 800px;
  margin: 50px auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.question-block {
  margin-bottom: 20px;
}

.question-block p {
  font-weight: 600;
}

button {
  padding: 12px 20px;
  background-color: #00b894;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

input,
select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
  font-size: 16px;
}

button {
  width: 100%;
  padding: 12px;
  font-size: 18px;
  background: #00cec9;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
}

button:hover {
  background: #0984e3;
}

.question {
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

*/

/*add to cart*/

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: #00e5ff;
  margin-top: 10px;
  text-align: center;
}

.slider-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.testimonial-card {
  min-width: 300px;
  margin: 0 15px;
  background: rgba(255, 255, 255, 0.07);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 0.95rem;
  color: #fff;
}

.stars {
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.testimonial-card strong {
  display: block;
  margin-top: 10px;
  color: #00e5ff;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .testimonial-card {
    min-width: 85vw;
    margin: 0 8px;
  }
}

/*trial*/

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    background-color: #121212;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 999;
  }

  #nav-links.show {
    display: flex;
  }

  #nav-links li {
    text-align: center;
    padding: 10px 0;
  }
}

/*CSS*/

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1e1e1e;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  min-width: 180px;
  z-index: 1000;
}

.dropdown-content li a {
  display: block;
  padding: 10px 15px;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 20px;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

#nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin-left: auto; /* desktop nav right align */
}

#nav-links li a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

#nav-links li a:hover {
  color: #00e5ff;
}

.login-btn {
  background-color: #4caf50;
  padding: 8px 12px;
  border-radius: 4px;
  color: white;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.theme-toggle img {
  width: 25px;
  cursor: pointer;
}

.cart-icon {
  cursor: pointer;
}

.menu-icon {
  font-size: 24px;
  display: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background: #333;
  list-style: none;
  padding: 10px 0;
  border-radius: 5px;
  min-width: 180px;
  z-index: 1000;
}

.dropdown-content li a {
  display: block;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
}

.dropdown-content li a:hover {
  background: #444;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Responsive */
/* Responsive */
@media (max-width: 1024px) {
  #nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    padding: 10px 0;
    align-items: flex-start; /* थोडं neat */
    margin-left: 0; /* desktop auto हटवायचं */
  }

  #nav-links.show {
    display: flex;
  }

  .menu-icon {
    display: block;
    cursor: pointer;
  }

  .cart-icon {
    display: none;
  }

  .nav-cart-mobile {
    display: block;
    margin: 0;
  }

  .dropdown-content {
    position: static;
    background: #111;
  }
}

/* ✅ Overlay style */
.overlay {
  display: none; /* by default hide */
  position: fixed; /* covers whole screen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent; /* transparent click layer */
  z-index: 9; /* nav menu पेक्षा कमी असेल तर वाढव */
}

/* ✅ When menu open, overlay active */
#nav-links.show + .overlay {
  display: block;
}
