* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #fdfdfd;
  color: #333;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo img {
  max-height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #1d4ed8;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #1d4ed8;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.mobile-menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* Brand Introduction Section */
.brand-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 80px 30px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
}

.intro-left {
  flex: 1;
}

.small-title {
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.main-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
  line-height: 1.3;
}

.intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  max-width: 550px;
}

.intro-right {
  flex: 1;
  text-align: right;
}

.intro-right img {
  max-width: 100%;
  border-radius: 10px;
}

/* About Section */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  background-color: #f4f8ff; /* light subtle blue */
  padding: 80px 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  font-family: "Poppins", sans-serif;
}

.about-left {
  flex: 1;
}

.about-left img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.about-right {
  flex: 1;
}

.about-heading {
  font-size: 28px;
  color: #1d4ed8;
  margin-bottom: 20px;
  font-weight: 600;
}

.about-text {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}

/* Services Section */
.services-section {
  background-color: #fdfdfd;
  padding: 80px 30px;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.services-header .services-small-title {
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.services-header .services-main-title {
  font-size: 28px;
  font-weight: 600;
  color: #222;
}

.underline {
  width: 60px;
  height: 3px;
  background-color: #1d4ed8;
  margin: 10px auto 40px auto;
  border-radius: 2px;
}

.services-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}

.service-box {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* added */
  border-radius: 8px;
  width: 180px;
  padding: 30px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-box:hover {
  background-color: #eef3ff;
  transform: translateY(-5px);
}

.service-box img {
  height: 50px;
  margin-bottom: 15px;
}

.service-box p {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

/* Full width detail box */

.service-detail {
  background-color: #f4f8ff;
  padding: 40px 30px;
  border-radius: 10px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.detail-left {
  flex: 1;
}

.detail-left h3 {
  color: #1d4ed8;
  margin-bottom: 15px;
  font-size: 22px;
}

.detail-left p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
}

.detail-right {
  flex: 1;
  text-align: right;
}

.detail-right img {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
}

.service-detail h3 {
  color: #1d4ed8;
  margin-bottom: 15px;
  font-size: 22px;
}

.service-detail p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background-color: #f4f8ff;
  padding: 60px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  font-family: "Poppins", sans-serif;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  border-radius: 10px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
}

.cta-left {
  flex: 2;
}

.cta-small-title {
  font-size: 13px;
  color: #1d4ed8;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cta-title {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
}

.cta-description {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.cta-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.cta-button {
  display: inline-block;
  background-color: #1d4ed8;
  color: #fff;
  padding: 18px 30px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #1742c0;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.4);
}

/* Footer Section */
.footer-section {
  background-color: #1a1a1a;
  color: #f1f1f1;
  padding: 50px 30px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left h3,
.footer-right h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-left p,
.footer-left a {
  font-size: 15px;
  color: #cccccc;
  line-height: 1.6;
  text-decoration: none;
}

.footer-left a:hover {
  text-decoration: underline;
}

.social-icons a {
  color: #f1f1f1;
  font-size: 18px;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #1d4ed8;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #888;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 30px;
    flex-direction: column;
    gap: 15px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .codebae-logo-img {
    max-height: 30px !important;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-icon {
    display: block;
  }

  /* brandintro */

  .brand-intro {
    flex-direction: column;
    text-align: center;
  }

  .intro-right {
    text-align: center;
    margin-top: 30px;
  }

  .main-title {
    font-size: 28px;
  }

  .intro-text {
    font-size: 15px;
    max-width: 100%;
  }

  /* ABOUT SECTION RESPONSIVE */

  .about-section {
    flex-direction: column-reverse;
    text-align: center;
    padding: 50px 20px;
  }

  .about-heading {
    font-size: 24px;
  }

  .about-text {
    font-size: 15px;
  }

  .about-left {
    margin-top: 30px;
  }

  /* SERVICE SECTION RESPONSIVENESS */
  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-box {
    width: 90%;
  }

  .service-detail {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .detail-right {
    text-align: center;
  }

  .detail-left h3 {
    font-size: 20px;
  }

  .detail-left p {
    font-size: 15px;
  }

  /* CTA RESPONSIVE SECTION */

  .cta-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .social-icons a {
    margin: 0 10px;
  }
}
