@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&amp;display=swap");

* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-transform: capitalize;
  text-decoration: none;
  outline: none;
  border: none;
  -webkit-transition: all .2s linear;
  transition: all .2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: #f9f9f9;
}

section {
  padding: 4rem 9%;
}

/* Buttons & Globals */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
  font-weight: 500;
  transition: 0.25s;
}

.btn:hover {
  background: transparent;
  color: #1e2f2b;
  border-color: #66d4bcbd;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9%;
  background: #050505;
  flex-wrap: wrap;
}

.header .logo {
  font-size: 2.5rem;
  font-weight: bolder;
  color: #fff;
}

.header .logo i {
  color: #66d4bcbd;
}

.header .navbar ul {
  list-style: none;
  display: flex;
}

.header .navbar ul li {
  position: relative;
}

.header .navbar ul li a {
  padding: 2rem;
  display: block;
  font-size: 1.7rem;
  color: #fff;
  cursor: pointer;
}

.header .navbar ul li a:hover,
.header .navbar ul li a.active-link {
  background: #66d4bcbd;
  color: #000;
}

.header .navbar ul li ul {
  position: absolute;
  left: 0;
  width: 20rem;
  background: #111;
  display: none;
  flex-direction: column;
}

.header .navbar ul li:hover ul {
  display: flex;
}

#menu-btn {
  cursor: pointer;
  color: #fff;
  font-size: 2.5rem;
  display: none;
}

/* Home Section */
.home {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e9f5f0 100%);
}

.home .image {
  flex: 1 1 42rem;
}

.home .image img {
  width: 100%;
  border-radius: 20px;
}

.home .content {
  flex: 1 1 42rem;
}

.home .content h3 {
  font-size: 5rem;
  color: #000;
}

.home .content p {
  font-size: 1.6rem;
  color: #555;
  padding: 1rem 0;
  line-height: 1.6;
}

/* Category Grid */
.category {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
  background: #fff;
}

.category .box {
  border-radius: 2rem;
  background: #f5f5f5;
  padding: 3rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category .box img {
  height: 7rem;
  margin-bottom: 1.5rem;
}

.category .box h3 {
  font-size: 1.7rem;
  color: #1a1a1a;
}

.category .box:hover {
  background: #66d4bcbd;
  transform: translateY(-10px);
}

/* Interactive Course Preview */
.course-preview {
  background: #eef2f3;
  border-radius: 3rem;
  margin: 2rem 9%;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.course-preview h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.course-preview p {
  font-size: 1.6rem;
  color: #2c3e2f;
  margin-bottom: 2rem;
}

.course-detail {
  background: white;
  border-radius: 2rem;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Blog / Testimonials */
.blog {
  background: #ffffff;
}

.blog .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.blog .blog-item {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin: 1rem;
}

.blog .blog-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid #66d4bcbd;
}

.blog .blog-item h3 {
  font-size: 2rem;
}

.blog .blog-item p {
  font-size: 1.5rem;
  font-style: italic;
  color: #444;
  margin: 1rem 0;
}

.blog .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.blog .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #66d4bcbd;
}

.blog .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #66d4bcbd;
}

/* feedback section */
.feedback-section {
  background: #1a2e2a;
  color: white;
  text-align: center;
  border-radius: 2rem;
  margin: 2rem 9%;
}

.feedback-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feedback-form input,
.feedback-form textarea {
  padding: 1rem;
  border-radius: 2rem;
  border: none;
  font-size: 1.4rem;
}

.feedback-form button {
  background: #66d4bcbd;
  border: none;
  font-weight: bold;
}

.live-feedback {
  margin-top: 2rem;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 2rem;
}

/* Map */
.map {
  padding: 0 9% 2rem;
}

.map iframe {
  width: 100%;
  border-radius: 2rem;
}

/* Footer */
.footer {
  background: #000;
  color: #ccc;
}

.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 2rem;
}

.footer .box h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer .box a {
  display: block;
  font-size: 1.4rem;
  color: #aaa;
  margin: 0.8rem 0;
  text-decoration: none;
  cursor: pointer;
}

.footer .box a:hover {
  color: #66d4bcbd;
  padding-left: 5px;
}

.credit {
  text-align: center;
  padding: 2rem;
  font-size: 1.3rem;
  border-top: 1px solid #222;
  margin-top: 2rem;
}

/* Toast notification */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1e2f2b;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 40px;
  font-size: 1.4rem;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
  section {
    padding: 3rem 2rem;
  }
  .course-preview {
    margin: 2rem 5%;
  }
  .feedback-section {
    margin: 2rem 5%;
  }
}

@media (max-width: 768px) {
  #menu-btn {
    display: inline-block;
  }
  .header {
    padding: 1.5rem 5%;
  }
  .header .navbar {
    position: absolute;
    top: 99%;
    left: 0;
    right: 0;
    background: #000;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
  .header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .header .navbar ul {
    flex-direction: column;
  }
  .header .navbar ul li ul {
    position: static;
    width: 100%;
  }
  .home .content h3 {
    font-size: 3rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
}