/* General Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* Navigation Bar */
.navbar {
  width: 100%;
  height: 101.62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 80px;
  background-color: #4F46E5;
  position: relative;
}

.logo img {
  width: 226px;
  height: 49.6px;
  max-width: 100%;
  height: auto;
}

.menu {
  display: flex;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.menu a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  white-space: nowrap;
}

.menu a:hover {
  opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
  position: fixed;
  right: -100%;
  width: 100%;
  background-color: white;
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 20px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin: 20px 0;
  text-align: left;
}

.mobile-menu a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  display: block;
  padding: 15px;
}

/* Hero Section */
.hero-section {
  width: 100%;
  height: 700px;
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
    url('/img/bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
}

.hero-content {
  margin-top: 15%;
  width: 650px;
  margin-left: 80px;
  padding: 24px 40px 32px 40px;
  background: linear-gradient(256.73deg, #1CBDDD 27.86%, #4DCA79 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 8px;
}

.hero-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  margin: 0;
}

.hero-button {
  width: fit-content;
  min-width: 250px;
  height: 38px;
  background-color: #FF7B00;
  color: #FFFFFF;
  border: none;
  padding: 12px 20px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #e66a00;
}

.hero-image-mobile {
  display: none;
}

/* Service Section */
.service-section {
  padding: 80px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 50px;
}

.service-image-container {
  flex: 0 0 414px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-image {
  width: 100%;
  max-width: 414px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.service-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 542px;
}

.service-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 27px;
  line-height: 1.2;
  color: #4F46E5;
  margin: 0;
}

.service-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  color: #000000;
}

.service-button {
  width: fit-content;
  min-width: 129px;
  height: 38px;
  background-color: #FF7B00;
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  padding: 12px 20px;
  transition: background-color 0.3s ease;
}

.service-button:hover {
  background-color: #e66a00;
}

/* FAQ Section */
.faq-section {
  display: flex;
  justify-content: center;
  padding: 80px 100px;
  background-color: #ffffff;
}

.faq-container {
  max-width: 800px;
  width: 100%;
}

.faq-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: #4F46E5;
  margin-bottom: 40px;
}

.faq-item {
  background: #FAF8FF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-question {
  color: #4F46E5;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
  font-size: 22px;
  font-weight: 500;
  color: #000000;
  gap: 20px;
}

.faq-question p {
  margin: 0;
  flex: 1;
}

.faq-toggle {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #4F46E5;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
  padding-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 16px;
}

.faq-answer p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #555;
}

/* Footer */
.footer {
  background-color: #5C5BEB;
  color: white;
  padding: 40px 80px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-left {
  flex: 1;
  max-width: 400px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  width: 226px;
  height: auto;
}

.footer-tagline {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column {
  min-width: 140px;
}

.footer-column h4 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
  margin-top: 0;
}

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

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 12px;
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
  font-weight: 500;
}

.footer-bottom hr {
  border: none;
  border-top: 1px solid white;
  width: 70%;        
  margin: 0 auto 15px auto;  
}

.footer-bottom a {
  color: white;
  text-decoration: none;
  margin: 0 8px;
}

.footer-separator {
  margin: 0 8px;
  color: white;
  opacity: 0.7;
}

/* Responsive Breakpoints */

/* 1440px and down */
@media (max-width: 1440px) {
  .service-section {
    padding: 80px 60px;
  }

  .service-image-container {
    flex: 0 0 350px;
  }
}

/* 1200px and down */
@media (max-width: 1200px) {
  .navbar {
    padding: 26px 40px;
  }

  .hero-content {
    margin-left: 40px;
    width: min(600px, calc(100% - 80px));
  }

  .service-section {
    padding: 60px 40px;
    gap: 60px;
  }

  .service-container {
    gap: 40px;
  }

  .service-image-container {
    flex: 0 0 300px;
  }

  .faq-section {
    padding: 60px 40px;
  }

  .footer {
    padding: 40px 40px 20px;
  }

  .footer-links {
    gap: 60px;
  }
}

/* 768px and down */
@media (max-width: 768px) {
  .navbar {
    padding: 20px;
    height: auto;
    min-height: 80px;
  }

  .logo img {
    width: 180px;
  }

  .menu ul {
    gap: 15px;
  }

  .menu a {
    font-size: 12px;
  }

  .hero-section {
    height: auto;
    padding: 0;
    display: block;
    background: none;
  }

  .hero-image-mobile {
    display: block;
    width: 100%;
    height: auto;
  }

  .hero-content {
    margin: 0;
    width: 100%;
    padding: 30px 20px;
    border-radius: 0;
  }

  .hero-text {
    font-size: 28px;
  }

  .hero-button {
    width: 250px;
    min-width: auto;
  }

  .service-section {
    padding: 40px 20px;
    gap: 40px;
  }

  .service-container {
    gap: 30px;
  }

  .service-image-container {
    flex: 0 0 250px;
  }

  .service-image {
    max-width: 250px;
  }

  .service-text-content {
    max-width: 100%;
  }

  .service-heading {
    font-size: 24px;
  }

  .faq-section {
    padding: 40px 20px;
  }

  .faq-heading {
    font-size: 24px;
  }

  .faq-question {
    font-size: 18px;
  }

  .faq-answer p {
    font-size: 16px;
  }

  .footer {
    padding: 40px 20px 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-left {
    max-width: 100%;
  }

  .footer-links {
    gap: 30px;
    flex-wrap: wrap;
  }

  .footer-logo img {
    width: 180px;
  }
}

/* 375px and down */
@media (max-width: 375px) {
  .navbar {
    padding: 15px;
  }

  .logo img {
    width: 150px;
  }

  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    margin: 0 0px;
    width: 100%;
    padding: 25px 20px;
  }

  .hero-text {
    font-size: 24px;
  }

  .service-section {
    padding: 30px 15px;
    gap: 30px;
  }

  .service-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .service-text-content {
    align-items: center;
  }

  .service-container.reversed {
    flex-direction: column-reverse;
  }

  .service-image-container {
    flex: none;
    width: 100%;
  }

  .service-image {
    max-width: 100%;
    width: 100%;
  }

  .service-heading {
    font-size: 22px;
  }

  .service-description {
    font-size: 15px;
  }

  .faq-section {
    padding: 30px 15px;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-heading {
    font-size: 22px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer p {
    font-size: 15px;
  }

  .footer {
    padding: 30px 15px 15px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-logo img {
    width: 150px;
  }
}
