* {
  margin: 0;

  padding: 0;

  box-sizing: border-box;

  font-family: "Inter", sans-serif;

  /* Enable smooth scrolling */

  scroll-behavior: smooth;
}

/* NAVBAR */

.navbar {
  height: 80px;

  width: 100%;

  background: #ffffff;

  display: flex;

  align-items: center;

  position: fixed;

  top: 0;

  z-index: 1000;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  transition: all 0.3s ease;

  backdrop-filter: blur(0px);

  /* Ensure proper sticky positioning */

  transform: translateY(0);

  will-change: transform;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);

  backdrop-filter: blur(10px);

  background: rgba(255, 255, 255, 0.95);

  /* Slight height reduction for compact feel */

  height: 90px;
}

.nav-container {
  width: 90%;

  max-width: 1280px;

  margin: 0 auto;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

.logo {
  width: 148px;

  height: 54px;

  object-fit: contain;

  transition: transform 0.3s ease;
}

.nav-links {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 40px;

  list-style: none;

  font-weight: 500;

  font-size: 16px;

  line-height: 24px;

  color: #475569;
}

.nav-links li {
  cursor: pointer;

  transition: color 0.3s ease;
}

.nav-links li:hover {
  color: #ee3dbe;
}

.nav-btn {
  background: #ee3dbe;

  border: none;

  padding: 12px 22px;

  border-radius: 8px;

  color: #fff;

  font-weight: 700;

  cursor: pointer;

  font-size: 14px;

  display: block;

  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: #ff3ea5;

  transform: translateY(-2px);

  box-shadow: 0 4px 12px rgba(238, 61, 190, 0.3);
}

.menu-btn {
  display: none;

  font-size: 28px;

  cursor: pointer;

  background: none;

  border: none;

  color: #0f172a;

  padding: 10px;

  position: absolute;

  right: 20px;

  top: 50%;

  transform: translateY(-50%);

  z-index: 1001;
}

/* HERO */

.hero {
  width: 100%;

  height: auto;

  padding: 60px 0;

  padding-top: 140px;

  background:
    linear-gradient(#1b063ecc, #1b063ecc), url("./Images/techU_heroBg.jpg");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  display: flex;

  align-items: center;

  justify-content: center;
}

.hero-container {
  /* width: 90%; */

  max-width: 1280px;

  margin: 0 auto;

  display: flex;

  align-items: center;

  gap: 100px;
}

/* LEFT */

.hero-left {
  max-width: 650px;

  color: #fff;
}

.hero-left h1 {
  font-weight: 900;

  font-size: 45px;

  line-height: 60px;

  letter-spacing: -1.5px;
}

.hero-left p {
  font-size: 20px;

  font-weight: 400;

  line-height: 26px;

  color: #ffffff;

  margin-top: 10px;

  max-width: 564px;
}

.features {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;

  margin-top: 25px;

  font-weight: 500;

  color: #ffffff;
}

.feature-item {
  display: flex;

  align-items: center;

  gap: 8px;

  color: #fff;
}

.feature-icon {
  width: 20px;

  height: 20px;

  object-fit: contain;
}

.hero-buttons {
  margin-top: 50px;

  display: flex;

  gap: 20px;
}

.primary-btn {
  background: #ff3ea5;

  color: white;

  border: none;

  padding: 16px 8px;

  border-radius: 12px;

  cursor: pointer;

  font-size: 18px;

  font-weight: 500;

  width: auto;

  transition: all 0.3s ease;

  padding: 0px 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;
}

.btn-arrow-icon {
  width: 16px;

  height: 16px;

  object-fit: contain;
}

.primary-btn:hover {
  background: #e91e63;

  transform: translateY(-2px);

  box-shadow: 0 4px 12px rgba(255, 62, 165, 0.3);
}

.secondary-btn {
  background: transparent;

  border: 2px solid white;

  color: white;

  padding: 16px 8px;

  border-radius: 12px;

  cursor: pointer;

  font-size: 18px;

  font-weight: 500;

  width: auto;

  text-decoration: none;

  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background: white;

  color: #1b063e;

  transform: translateY(-2px);

  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* FORM */

.hero-form {
  background: #fff;

  padding: 20px 18px;

  border-radius: 16px;

  width: 480px;

  box-shadow: 0px 4px 50px rgba(4, 8, 19, 0.1);
}

.hero-form h3 {
  font-size: 24px;

  line-height: 32px;

  font-weight: 700;

  text-align: center;

  color: #0f172a;

  margin-bottom: 6px;
}

.hero-form p {
  margin: 6px auto 16px auto;

  font-size: 14px;

  font-weight: 400;

  color: #475569;

  text-align: center;

  line-height: 20px;

  max-width: auto;
}

.form-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;

  flex-direction: column;

  gap: 4px;
}

.form-group label {
  font-size: 14px;

  font-weight: 600;

  color: #334155;

  padding-left: 6px;
}

.form-grid input,
.form-grid select,
.course-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 100%;
  min-height: 40px;
  font-size: 14px;
  background-color: #fff;
  cursor: pointer;
}

.course-select:focus {
  outline: none;

  border-color: #ee3dbe;

  box-shadow: 0 0 0 2px rgba(238, 61, 190, 0.2);
}

.demo-btn {
  margin-top: 20px;

  width: 100%;

  height: auto;

  padding: 12px 8px;

  background: #3d155f;

  color: white;

  border: none;

  border-radius: 8px;

  font-weight: 700;

  font-size: 16px;

  cursor: pointer;

  transition: all 0.3s ease;
}

.demo-btn:hover {
  background: #2a0f45;

  transform: translateY(-2px);

  box-shadow: 0 4px 12px rgba(61, 21, 95, 0.3);
}

/* WHY CHOOSE TECHU SECTION */
.why-choose-techu {
  min-height: 862px;
  background: #771a5e;
  padding: 80px 0;
  display: flex;
  align-items: center;
}

.why-choose-container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
}

/* LEFT SIDE */
.why-choose-left {
  max-width: 500px;
}

.why-choose-left h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: 0px;
  color: #ffffff;
  margin-bottom: 24px;
}

.why-choose-left h2 .highlight {
  color: #f472b6;
  text-decoration: underline;
  text-decoration-style: solid;
}

.why-choose-desc {
  font-family: "Inter", sans-serif;
  font-size: 19px;
  line-height: 1.6;
  color: white;
  margin-bottom: 32px;
}

.why-choose-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.why-choose-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: white;
  text-align: left;
  padding-left: 30px;
}

.why-choose-item img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-right: 2px;
}

.why-choose-item span {
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

/* RIGHT SIDE - CARDS */
.why-choose-right {
  width: 570px;
  height: 689px;
}

.why-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  width: 100%;
  height: 100%;
}

.why-card {
  width: 278px;
  height: 221px;
  background: #ffffff;
  border-radius: 14.93px;
  padding: 25.6px;
  display: flex;
  flex-direction: column;
  gap: 12.8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.why-card-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.why-card h3 {
  width: 160px;
  display: flex;
  align-items: flex-start;
}

.why-card p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* GRID LAYOUT */

.features-grid {
  display: flex;

  gap: 20px;

  margin-top: 50px;

  padding-bottom: 10px;

  justify-content: center;

  flex-wrap: wrap;
}

/* CARD */

.feature-card {
  background: #f8f5fc;

  padding: 40px 30px;

  border-radius: 16px;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

  text-align: center;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

  width: 232px;

  height: 250px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  border: 1px solid transparent;

  flex-shrink: 0;

  opacity: 1;

  transform: rotate(0deg);
}

.feature-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);

  border-color: #9a87ac;
}

/* Different background colors for each card */

.feature-card:nth-child(1) {
  background: #fef3e2;
}

.feature-card:nth-child(2) {
  background: #e0f2fe;
}

.feature-card:nth-child(3) {
  background: #fce7f3;
}

.feature-card:nth-child(4) {
  background: #dcfce7;
}

.feature-card:nth-child(5) {
  background: #f3e8ff;
}

/* ICON */

.icon-wrapper {
  width: 64px;

  height: 64px;

  margin-bottom: 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f0f9ff;

  border-radius: 16px;

  transition: background-color 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  background: #3d155f;
}

.icon-wrapper img {
  width: 24px;

  height: auto;

  object-fit: contain;

  color: #3d155f;

  transition: color 0.3s ease;
}

.feature-card:hover .icon-wrapper img {
  filter: brightness(0) invert(1) !important;
}

/* Job icon specific color */

.feature-card:nth-child(1) .icon-wrapper img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(32%) saturate(4024%)
    hue-rotate(251deg) brightness(95%) contrast(88%);
}

.feature-card:nth-child(2) .icon-wrapper img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(32%) saturate(4024%)
    hue-rotate(251deg) brightness(95%) contrast(88%);
}

.feature-card:nth-child(3) .icon-wrapper img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(32%) saturate(4024%)
    hue-rotate(251deg) brightness(95%) contrast(88%);
}

.feature-card:nth-child(4) .icon-wrapper img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(32%) saturate(4024%)
    hue-rotate(251deg) brightness(95%) contrast(88%);
}

/* CARD TEXT */

.feature-card h3 {
  font-size: 16px;

  font-weight: 700;

  color: #1b063e;

  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;

  font-weight: 400;

  color: #475569;
}

/* TABLET */

@media (max-width: 1024px) {
  .navbar {
    height: 80px;
  }

  .nav-container {
    width: 95%;
  }

  .nav-links {
    gap: 20px;

    font-size: 14px;

    justify-content: center;

    align-items: center;
  }

  .logo {
    width: 100px;

    height: 37px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-container {
    width: 95%;

    margin: 40px auto;

    gap: 50px;

    flex-direction: column;

    text-align: center;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-left h1 {
    font-size: 38px;

    line-height: 50px;
  }

  .hero-left p {
    font-size: 18px;

    max-width: 100%;
  }

  .hero-form {
    width: 100%;

    max-width: 500px;

    margin: 0 auto;

    height: auto;
  }

  .hero-form h3 {
    font-size: 24px;

    line-height: 36px;
  }

  .hero-form p {
    font-size: 14px;

    margin-bottom: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .form-group label {
    font-size: 14px;
  }

  .form-grid input,
  .form-grid select,
  .course-select {
    padding: 14px;

    font-size: 14px;
  }

  .courses-grid {
    display: flex;

    /* width: 30%; */

    flex-direction: column;

    gap: 10px;
  }

  .demo-btn {
    font-size: 16px;

    padding: 14px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
  }

  .feature-item {
    font-size: 14px;
    justify-content: center;
  }

  .feature-icon {
    width: 16px;

    height: 16px;
  }

  .hero-buttons {
    flex-direction: column;

    gap: 15px;

    width: 80%;

    margin: 50px auto 0 auto;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;

    padding: 14px 20px;
  }

  /* WHY CHOOSE US - TABLET */

  .why-choose-us {
    padding: 60px 0;
  }

  .why-choose-us-container {
    width: 95%;
  }

  .why-choose-us-container h2 {
    font-size: 32px;

    margin-bottom: 12px;
  }

  .why-choose-us-container p {
    font-size: 16px;

    margin-bottom: 40px;
  }

  .features-grid {
    flex-direction: column;

    gap: 25px;

    margin-top: 40px;

    align-items: center;
  }

  .feature-card {
    height: auto;

    padding: 30px 25px;

    width: 100%;

    max-width: 400px;
  }

  .icon-wrapper {
    width: 56px;

    height: 56px;
  }

  .icon-wrapper img {
    width: 22px;

    height: 22px;
  }

  .feature-card h3 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 13px;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 305px);

    gap: 25px;
  }

  .course-card {
    width: 100%;

    max-width: 305px;

    height: auto;
  }

  /* WHY CHOOSE TECHU - TABLET */

  .why-choose-techu {
    min-height: auto;

    padding: 60px 0;
  }

  .why-choose-container {
    flex-direction: column;

    gap: 40px;
  }

  .why-choose-left {
    max-width: 100%;

    text-align: center;
  }

  .why-choose-left h2 {
    font-size: 48px;
  }

  .why-choose-desc {
    font-size: 16px;
  }

  .why-choose-list {
    grid-template-columns: 1fr 1fr;

    gap: 12px 20px;

    justify-content: center;
  }

  .why-choose-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .why-choose-item img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 2px;
  }

  .why-choose-item span {
    flex: 1;
    text-align: left;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .why-choose-right {
    width: 100%;

    height: auto;

    grid-template-columns: 1fr;
    height: auto;

    grid-template-columns: 1fr;

    gap: 20px;
  }

  .courses-container h2 {
    font-size: 28px;
  }

  .course-subtitle {
    font-size: 16px;

    margin-bottom: 30px;
  }
}

/* COURSES SECTION */

.courses-section {
  padding: 80px 0;

  background: #ffffff;
}

.courses-container {
  max-width: 1280px;

  margin: auto;

  text-align: center;
}

.courses-container h2 {
  font-size: 36px;

  font-weight: 800;

  color: #0f172a;

  margin-bottom: 10px;
}

.course-subtitle {
  color: #64748b;

  font-size: 18px;

  margin-bottom: 50px;
}

/* GRID */

.courses-grid {
  display: flex;

  gap: 20px;

  justify-content: center;

  align-items: stretch;

  flex-wrap: wrap;

  margin: 0 auto;

  max-width: 1280px;

  width: 100%;
}

/* CARD */

.course-card {
  width: 350px;

  min-height: 350px;

  background: #fff;

  border-radius: 16px;

  border: 1px solid transparent;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

  overflow: hidden;

  display: flex;

  flex-direction: column;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  cursor: pointer;

  opacity: 1;

  transform: rotate(0deg);

  position: relative;
}

.course-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ICON AREA */

.course-icon {
  height: 160px;

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;
}

.course-icon img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  border-radius: 12px 12px 0 0;
}

/* BACKGROUND COLORS */

.bg1 {
  background: #4042b51a;
}

.bg2 {
  background: #fff7ed;
}

.bg3 {
  background: #faf5ff;
}

.bg4 {
  background: #eff6ff;
}

/* TAG */

.tag {
  position: absolute;

  top: 15px;

  right: 15px;

  background: white;

  padding: 6px 12px;

  font-size: 12px;

  border-radius: 20px;

  color: #6d28d9;

  font-weight: 600;
}

/* CONTENT */

.course-content {
  padding: 25px;

  text-align: left;

  flex: 1;

  display: flex;

  flex-direction: column;
}

.course-content h3 {
  font-size: 20px;

  font-weight: 700;

  color: #0f172a;

  margin-bottom: 10px;
}

.course-content p {
  font-size: 15px;

  color: #64748b;

  line-height: 1.6;

  flex: 1;
}

/* BUTTON */

.learn-btn {
  margin-top: 20px;

  border: 1px solid #cbd5e1;

  background: #f8fafc;

  padding: 12px;

  border-radius: 10px;

  font-weight: 600;

  cursor: pointer;

  color: #7c3aed;

  transition: all 0.3s ease;
}

.learn-btn:hover {
  background: #7c3aed;

  color: white;

  border-color: #7c3aed;

  transform: translateY(-2px);

  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* TABLET */

@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 305px);
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    width: 100%;

    max-width: 350px;

    margin: auto;
  }

  .why-choose-techu {
    padding: 40px 0;
  }

  .why-choose-left h2 {
    font-size: 36px;
  }

  .why-choose-desc {
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 350px;
  }

  .why-choose-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 0;
    margin-left: 0;
  }

  .why-choose-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .why-choose-item img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 2px;
  }

  .why-choose-item span {
    flex: 1;
    text-align: left;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .why-cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 10px 20px 10px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .why-cards-grid::-webkit-scrollbar {
    display: none;
  }

  .why-card {
    flex: 0 0 80%;
    width: 80%;
    max-width: 300px;
    height: auto;
    min-height: 180px;
    padding: 20px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .why-card h3 {
    font-size: 16px;
  }

  .why-card p {
    font-size: 13px;
  }
}

/* MOBILE HERO STYLES - Fix alignment */
@media (max-width: 640px) {
  .hero {
    padding: 100px 20px 40px 20px;
  }

  .hero-container {
    width: 100%;
    padding: 0;
  }

  .hero-left {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 28px;
    line-height: 38px;
    letter-spacing: -0.5px;
    text-align: center;
  }

  .hero-left p {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    margin-top: 16px;
  }

  .features {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding-left: 50px;
  }

  .feature-item {
    justify-content: flex-start;
    font-size: 14px;
    width: 100%;
    white-space: nowrap;
  }

  .hero-buttons {
    width: 100%;
    margin-top: 32px;
    align-items: center;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    padding: 14px 20px;
  }
}

.join-techu {
  padding: 40px 0;

  background: #ffffff;
}

.join-container {
  max-width: 1280px;

  margin: auto;

  display: flex;

  gap: 60px;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;

  justify-content: center;
}

/* LEFT SIDE */

.join-left {
  width: 592px;

  height: 528px;

  display: flex;

  flex-direction: column;

  gap: 10px;
}

.join-left h2 {
  font-size: 36px;

  font-weight: 900;

  color: #0f172a;
}

.join-desc {
  font-size: 16px;

  color: #64748b;

  line-height: 1.6;

  margin-bottom: 20px;
}

.join-list {
  display: flex;

  flex-direction: column;

  gap: 24px;
}

.join-item {
  display: flex;

  align-items: center;

  gap: 12px;

  padding: 14px 16px;

  background: #f5eaf5;

  border-radius: 10px;

  font-size: 16px;

  font-weight: 700;

  color: #0f172a;

  width: 520px;

  height: 60px;

  transition: all 0.3s ease;

  cursor: pointer;
}

.join-item:hover {
  background: #e8d4f1;

  transform: translateY(-2px);

  box-shadow: 0 4px 12px rgba(238, 61, 190, 0.2);
}

.join-item:hover img {
  transform: scale(1.1);
}

.join-item img {
  width: 18px;

  height: 18px;
}

/* RIGHT IMAGE */

.join-right {
  width: 629px;

  height: 533px;

  position: relative;
}

.join-right img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  border-radius: 16px;

  position: relative;

  z-index: 0;
}

.join-right::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: linear-gradient(
    180deg,
    rgba(61, 21, 95, 0.48) 0%,
    rgba(199, 81, 167, 0.48) 100%
  );

  border-radius: 16px;

  z-index: 1;
}

/* TABLET */

@media (max-width: 1024px) {
  .join-container {
    flex-direction: column;

    gap: 40px;
  }

  .join-left {
    width: 100%;

    height: auto;
  }

  .join-right {
    width: 90%;

    height: auto;
  }

  .join-right img {
    height: auto;
  }

  .join-left h2 {
    text-align: center;
  }

  .join-desc {
    text-align: center;
  }

  .join-list {
    align-items: center;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .join-left h2 {
    font-size: 26px;

    display: flex;

    justify-content: center;
  }

  .join-desc {
    font-size: 14px;

    padding: 10px 20px;
  }

  .join-item {
    font-size: 14px;

    padding: 12px 14px;

    max-width: 90%;

    /* margin-left: 24px; */
  }

  .join-item img {
    width: 16px;

    height: 16px;
  }
}

/* CTA SECTION */

.cta-section {
  padding: 80px 0;

  background: #f8fafc;

  display: flex;

  justify-content: center;
}

.cta-container {
  max-width: 1280px;

  width: 90%;

  height: 496px;

  background: linear-gradient(90deg, #4042b5 0%, #7e22ce 100%);

  border-radius: 48px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  padding: 40px;
}

/* TITLE */

.cta-title {
  font-family: "Inter", sans-serif;

  font-weight: 900;

  font-size: 60px;

  line-height: 60px;

  letter-spacing: -1.5px;

  color: #ffffff;

  margin-bottom: 20px;
}

/* DESCRIPTION */

.cta-desc {
  max-width: 672px;

  font-size: 18px;

  color: #ffffff;

  opacity: 0.9;

  line-height: 28px;

  margin-bottom: 30px;
}

/* CONTACT */

.cta-contact {
  display: flex;

  gap: 40px;

  /* align-items:center; */

  margin-bottom: 40px;
}

.contact-item {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #ffffff;

  font-weight: 600;
}

.contact-item img {
  width: 20px;

  height: 20px;
}

/* BUTTON */

.cta-btn {
  width: 500px;

  height: 72px;

  border-radius: 16px;

  border: none;

  padding: 20px 8px;

  background: #ffffff;

  color: #4c1d95;

  font-size: 20px;

  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  transition: 0.3s;
}

.cta-btn:hover {
  transform: translateY(-3px);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* TABLET */

@media (max-width: 1024px) {
  .cta-title {
    font-size: 42px;

    line-height: 48px;
  }

  .cta-desc {
    font-size: 16px;
  }

  .cta-btn {
    width: 400px;

    height: 64px;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .cta-container {
    height: auto;

    padding: 40px 20px;
  }

  .cta-title {
    font-size: 32px;

    line-height: 38px;
  }

  .cta-contact {
    flex-direction: column;

    gap: 15px;
  }

  .cta-btn {
    width: 100%;

    max-width: 350px;

    height: 60px;

    font-size: 18px;
  }
}

/* CONTACT SECTION */

.contact-section {
  padding: 80px 0;

  background: #ffffff;

  display: flex;

  justify-content: center;
}

.contact-container {
  max-width: 1280px;

  width: 90%;

  display: flex;

  gap: 60px;

  align-items: center;
}

/* LEFT */

.contact-left {
  width: 463px;

  flex-shrink: 0;

  display: flex;

  flex-direction: column;

  gap: 25px;
}

.contact-left h3 {
  font-size: 24px;

  font-weight: 700;

  color: #0f172a;

  margin-bottom: 10px;
}

.contact-item {
  display: flex;

  gap: 16px;

  align-items: center;
}

/* ICON */

.icon-box {
  width: 60px;

  height: 60px;

  background: #f3e8ff;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;
}

.icon-box img {
  width: 32px;

  height: 32px;
}

/* TEXT */

.contact-item p {
  font-family: "Inter", sans-serif;

  font-weight: 500;

  font-size: 16px;

  line-height: 26px;

  color: #475569;
}

/* MAP */

.contact-map {
  width: 738px;

  height: 339px;

  border-radius: 16px;

  overflow: hidden;

  transform: rotate(0deg);

  opacity: 1;
}

.contact-map iframe {
  width: 100%;

  height: 100%;

  border: none;

  border-radius: 16px;
}

/* TABLET */

@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column;

    gap: 40px;
  }

  .contact-left {
    width: 100%;

    height: auto;
  }

  .contact-map {
    width: 100%;

    height: auto;
  }

  .contact-map img {
    height: auto;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .contact-item {
    align-items: center;
  }

  .icon-box {
    width: 50px;

    height: 50px;
  }

  .icon-box img {
    width: 26px;

    height: 26px;
  }

  .contact-item p {
    font-size: 14px;

    line-height: 22px;
  }
}

/* FOOTER */

.footer {
  background: #ffffff;

  padding-top: 60px;

  padding-bottom: 30px;

  display: flex;

  flex-direction: column;

  align-items: center;
}

/* CONTAINER */

.footer-container {
  max-width: 1280px;

  width: 90%;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  column-gap: 48px;

  row-gap: 48px;
}

/* COLUMN */

.footer-col {
  height: 196px;
}

/* LOGO */

.footer-logo {
  width: 120px;

  margin-bottom: 15px;
}

/* DESCRIPTION */

.footer-desc {
  font-size: 14px;

  line-height: 24px;

  color: #64748b;

  margin-bottom: 20px;
}

/* SOCIAL */

.footer-social {
  display: flex;

  gap: 12px;
}

.social-icon {
  width: 40px;

  height: 40px;

  border-radius: 9999px;

  background: #e2e8f0;

  display: flex;

  align-items: center;

  justify-content: center;
}

.social-icon img {
  width: 20px;

  height: 20px;
}

/* TITLES */

.footer-col h4 {
  font-size: 14px;

  font-weight: 700;

  color: #0f172a;

  margin-bottom: 20px;

  letter-spacing: 1px;
}

/* LINKS */

.footer-col ul {
  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 12px;
}

.footer-col ul li {
  font-size: 14px;

  color: #475569;

  cursor: pointer;
}

/* BOTTOM BAR */

.footer-bottom {
  max-width: 1280px;

  width: 90%;

  height: 57px;

  border-top: 1px solid #e2e8f0;

  padding-top: 40px;

  padding-left: 16px;

  padding-right: 16px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-top: 40px;
}

.footer-bottom p {
  font-size: 14px;

  color: #64748b;
}

/* TABLET */

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-col {
    width: 100%;

    height: auto;

    padding-left: 30px;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .footer-bottom {
    text-align: center;

    padding-top: 25px;
  }
}

/* POPUP MODAL STYLES */

.popup-modal {
  display: none;

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  z-index: 2000;

  animation: fadeIn 0.3s ease;
}

.popup-modal.active {
  display: block;
}

.popup-overlay {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: rgba(0, 0, 0, 0.5);

  backdrop-filter: blur(5px);
}

.popup-content {
  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  background: #fff;

  border-radius: 18px;

  box-shadow: 0px 4px 50px rgba(4, 8, 19, 0.2);

  max-width: 522px;

  width: 90%;

  max-height: 90vh;

  overflow-y: auto;

  animation: slideUp 0.3s ease;
}

.popup-close {
  position: absolute;

  top: 15px;

  right: 15px;

  width: 30px;

  height: 30px;

  border: none;

  background: #f3f4f6;

  border-radius: 50%;

  font-size: 18px;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: all 0.3s ease;

  z-index: 1;
}

.popup-close:hover {
  background: #e5e7eb;

  transform: scale(1.1);
}

.popup-form {
  padding: 30px 22px;
}

.popup-form h3 {
  font-size: 30px;

  line-height: 44px;

  font-weight: 700;

  text-align: center;

  color: #0f172a;

  margin-bottom: 10px;
}

.popup-form p {
  margin: 10px auto 20px auto;

  font-size: 16px;

  font-weight: 400;

  color: #475569;

  text-align: center;

  line-height: 24px;
}

/* Animations */

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;

    transform: translate(-50%, -40%);
  }

  to {
    opacity: 1;

    transform: translate(-50%, -50%);
  }
}

/* Responsive styles for popup */

@media (max-width: 768px) {
  .popup-content {
    width: 95%;

    max-width: 400px;
  }

  .popup-form {
    padding: 25px 20px;
  }

  .popup-form h3 {
    font-size: 24px;

    line-height: 36px;
  }

  .popup-form p {
    font-size: 14px;

    margin-bottom: 15px;
  }

  .popup-form .form-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .popup-form .form-group label {
    font-size: 14px;
  }

  .popup-form .form-grid input,
  .popup-form .form-grid select,
  .popup-form .course-select {
    padding: 14px;

    font-size: 14px;
  }

  .popup-form .demo-btn {
    font-size: 16px;

    padding: 14px;
  }
}

@media (max-width: 480px) {
  .popup-content {
    width: 98%;

    max-width: 350px;
  }

  .popup-form {
    padding: 20px 15px;
  }
}

/* SUCCESS MESSAGE POPUP STYLES */

.success-popup {
  display: none;

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  z-index: 3000;

  animation: fadeIn 0.3s ease;
}

.success-popup.active {
  display: block;
}

.success-overlay {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: rgba(0, 0, 0, 0.5);

  backdrop-filter: blur(5px);
}

.success-content {
  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  background: #fff;

  border-radius: 20px;

  box-shadow: 0px 10px 40px rgba(4, 8, 19, 0.2);

  max-width: 400px;

  width: 90%;

  padding: 40px 30px;

  text-align: center;

  animation: successBounce 0.5s ease;
}

.success-icon {
  margin-bottom: 20px;

  animation: successIconPulse 0.6s ease;
}

.success-content h3 {
  font-size: 32px;

  font-weight: 700;

  color: #0f172a;

  margin-bottom: 10px;
}

.success-content p {
  font-size: 16px;

  color: #475569;

  margin-bottom: 8px;

  line-height: 1.5;
}

.success-message {
  font-size: 14px;

  color: #64748b;

  margin-bottom: 25px !important;
}

.success-close-btn {
  background: #10b981;

  color: white;

  border: none;

  padding: 12px 30px;

  border-radius: 10px;

  font-size: 16px;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.3s ease;
}

.success-close-btn:hover {
  background: #059669;

  transform: translateY(-2px);

  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Success animations */

@keyframes successBounce {
  0% {
    opacity: 0;

    transform: translate(-50%, -40%) scale(0.8);
  }

  50% {
    transform: translate(-50%, -52%) scale(1.05);
  }

  100% {
    opacity: 1;

    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes successIconPulse {
  0% {
    transform: scale(0);

    opacity: 0;
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);

    opacity: 1;
  }
}

/* Responsive styles for success popup */

@media (max-width: 768px) {
  .success-content {
    width: 95%;

    max-width: 350px;

    padding: 30px 20px;
  }

  .success-content h3 {
    font-size: 28px;
  }

  .success-content p {
    font-size: 15px;
  }

  .success-message {
    font-size: 13px;
  }

  .success-close-btn {
    padding: 10px 25px;

    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .success-content {
    width: 98%;

    max-width: 320px;

    padding: 25px 15px;
  }

  .success-content h3 {
    font-size: 24px;
  }

  .success-icon svg {
    width: 60px;

    height: 60px;
  }
}
