* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #ffffff;
  scroll-behavior: smooth;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
}

.hamburger {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.nav-links a:hover,
.nav-cta a:hover {
  color: #2d4a8a;
}

.nav-links .cta {
  background-color: #2d4a8a;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-links .cta:hover {
  background-color: white;
  color: #2d4a8a;
  transition: 0.3s;
  border: 1px solid #2d4a8a;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 70vh;
  padding: 60px 5%;
  color: white;
  position: relative;
  overflow: hidden;
}

.blurred-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  z-index: 0;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.hero-cta {
  background-color: #2d4a8a;
  color: white;
  padding: 0.7rem 1.5rem;
  margin-top: 0.5rem;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.hero-cta:hover {
  background: transparent;
  border: 1px solid #2d4a8a;
}

.about-us {
  background-color: #ecf0fb;
  color: #555;
  padding: 80px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
}

.text {
  flex: 1 1 500px;
  min-width: 250px;
}

.about-image {
  flex: 1 1 400px;
  min-width: 200px;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  display: block;
  margin: 0 auto;
}

.text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2d4a8a;
}

.text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
  word-break: break-word;
}

/* bootcamp section */
.bootcamp {
  background-color: #f7f9fe;
  padding: 0;
  margin: 0;
}

.bootcamp-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 100vh;
}

.bootcamp-image {
  flex: 1 1 50%;
  overflow: hidden;
}

.bootcamp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bootcamp-content {
  flex: 1 1 50%;
  background-color: #2e4a87;
  color: #ffffff;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bootcamp-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.bootcamp-content h4 {
  font-size: 1rem;
  color: #c5d7f2;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}

.bootcamp-content .subtitle {
  font-size: 1rem;
  margin-bottom: 30px;
}

.bootcamp-modules {
  margin-top: 50px;
}

.modules-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.module h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.module p,
.bootcamp-p {
  font-size: 0.95rem;
  color: #d0dff7;
  line-height: 1.5;
}

.bootcamp-cta {
  margin-top: 40px;
  text-align: left;
}

.cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: #2e4a87;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #ffffff;
}

.cta-button:hover {
  background-color: #2e4a87;
  color: #ffffff;
  border-color: #ffffff;
}

.word-count-feedback {
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: normal;
}

/* why join section */
.why-join {
  background-color: #fff;
  padding: 60px 30px;
  text-align: center;
}

.why-join-header h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #1a1a1a;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.reason-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.reason-card .check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}

.reason-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.reason-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
}

/* contact us section */
.contact-section {
  background: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
  min-height: 40vh;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-section p {
  color: #555;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  width: 100%;
  /* margin: 0 auto 24px; */
}

.contact-form textarea {
  resize: none;
  min-height: 100px;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  font-family: "Roboto", sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2d4a8a;
}

.contact-form button {
  padding: 0.9rem 1.2rem;
  background: #2d4a8a;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.3s;
}

.contact-form button:hover {
  opacity: 0.9;
}

.contact-details p {
  font-size: 10px;
  margin: 3px 0;
  color: #333;
}

.contact-img img {
  width: 100%;
  max-width: 220px;
  margin-bottom: 18px;
}

/* footer section */
.footer {
  background-color: #1e2a3a;
  color: #fff;
  padding: 60px 20px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-box {
  flex: 1 1 220px;
}

.footer-box h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-box p,
.footer-box li {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.footer-box a {
  color: #ccc;
  text-decoration: none;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.social-links a {
  margin-right: 10px;
  display: inline-block;
}

.social-links img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-nav a {
  color: #aaa;
  margin: 0 10px;
  font-size: 13px;
  text-decoration: none;
}

.footer-payments img {
  height: 30px;
  margin: 0 5px;
}

@media (max-width: 768px) {
  .web-nav {
    display: none;
  }

  .nav-links.show {
    display: flex;
    gap: 30px;
    margin-left: 20px;
  }

  .drop-down {
    display: none;
    flex-direction: column;
    margin-left: auto;
    gap: 0;
    margin-top: 10px;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .drop-down.show {
    display: flex;
  }

  .drop-down a {
    width: 100%;
    padding: 1rem 2rem;
    margin: 0;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border-bottom: 1px solid #f0f0f0;
    display: block;
  }

  .drop-down a:last-child {
    border-bottom: none;
  }

  .drop-down a:hover {
    background-color: #f8f9fa;
    color: #2d4a8a;
  }

  .drop-down .cta {
    background-color: #2d4a8a;
    color: white;
    margin: 0.5rem 1rem;
    width: calc(100% - 2rem);
    text-align: center;
    border-radius: 6px;
    padding: 0.75rem 1rem;
  }

  .drop-down .cta:hover {
    background-color: #155ec0;
    color: white;
  }

  .hero {
    justify-content: center;
    gap: 160px;
    padding: 2rem;
    min-height: 60vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .about-content {
    flex-direction: row;
    gap: 30px;
  }

  .text h2 {
    font-size: 2rem;
  }

  .text p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
    word-break: break-word;
  }

  .bootcamp-container {
    flex-direction: column;
  }

  .bootcamp-content,
  .bootcamp-image {
    max-width: 100%;
    min-width: 0;
  }
}

@media (min-width: 768px) {
  .drop-down.show {
    display: flex;
  }

  .drop-down,
  .hamburger {
    display: none;
  }

  .about-content {
    flex-direction: row;
  }

  .bootcamp-image {
    /* display: none; */
    width: 100%;
    /* height: 100%; */
    object-fit: fill;
  }
}

@media (max-width: 900px) {
  .bootcamp-container {
    flex-direction: none;
    gap: 0;
    padding: 0 0;
  }
  .bootcamp-image,
  .bootcamp-content {
    max-width: 100%;
    min-width: 0;
    border-radius: 0;
    object-fit: contain;
  }
}
