/* Hero section styles */
.hero__section {
  min-height: 100vh;
  background-image: url('/static/images/Rectangle\ 116\ (13).png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 5%;
  font-family: "Poppins";
  /* margin-top: 80px; */
}
@media (max-width:1024px) {
  .hero__section{
    min-height: 50vh;
    height: 50vh;
  }
}
.hero__content {
  max-width: 800px;
}
.hero__title {
  color: white;
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}
.hero__contact-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 2px solid white;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  background-color: transparent;
  transition: all 0.3s ease;
}
.hero__contact-btn:hover {
  background-color: white;
  color: #333;
}
/* Responsive styles */
@media (max-width: 768px) {
  .nav__menu-toggle {
    display: flex;
  }
  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  .nav__menu.active {
    display: flex;
  }
  .nav__dropdown-content {
    position: static;
    box-shadow: none;
    margin-top: 0.5rem;
  }
  .nav__menu-item {
    width: 100%;
  }
  .nav__dropdown-btn {
    width: 100%;
    text-align: left;
  }
  .hero__title {
    font-size: 2rem;
  }
}

/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}
.connect-dot-container{ position: relative; }
.connect-dot { width: 12px; height: 12px; background-color: white; border-radius: 50%; }
.timeline-line {
  position: absolute; top: -50%; left: 0; width: 350px; height: 2px; background-color: rgb(255, 255, 255); transform: translateY(-50%);
}
.connect-text { color: rgb(255, 255, 255); font-family: 'Roboto Mono'; font-size: 1rem; }
.connect-dot-empty { width: 20px; height: 20px; border:1.5px solid rgb(255, 255, 255); border-radius: 50%; position: relative; }
.connect-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.connect-dot-filled{ width: 12px; height: 12px; position: absolute; border-radius: 50%; background-color: rgb(255, 255, 255); top: 50%; left: 50%; transform: translate(-50%,-50%); }

.services-container {
  background-color: #0e0f10;
  padding: 40px 0;
  color: #fff;
  position: relative;
  font-family: "Poppins";
}
.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 20px; */
}
.vector-line {
  width: 80%;
  height: 1px;
  background-color: #fff;
  margin-bottom: 30px;
}
.services-content {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.services-header {
  flex-basis: 80%;
  margin-bottom: 30px;
}
.ellipse-text { display: inline-block; margin-bottom: 20px; }
.services-label {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}
.solutions-title, .migration-title {
  font-size: 32px;
  color: #000;
  margin-bottom: 15px;
  margin-top: 20px;
  font-weight: 600;
  line-height: 2.4rem;
  font-family: "Poppins";
}
.services-boxes {
  display: flex;
  /* flex-wrap: wrap; */
  gap: 20px;
  flex-basis: 100%;
  font-family: "Poppins";
  font-weight: 500;
  line-height: 19px;
  align-items: stretch;
  margin-left: 50px; /* keep row aligned when cards differ in height */
}
.services-title{ font-weight: 600; }

/* <CHANGE> Fixed card width and text wrapping to prevent mid-word breaks */
.service-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid #ffffff23;
  width: 160px;
  min-height: 140px;
  height: auto;
  gap: 12px;
}

.design-image-2{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 140px;
  display: none;
  margin-top: -10px;
}

.timeline-header { align-items: center; }
.timeline-dot-empty { width: 20px; height: 20px; border:1.5px solid black; border-radius: 50%; position: relative; }
.timeline-dot-filled{ width: 12px; height: 12px; position: absolute; border-radius: 50%; background-color: black; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.timeline-dot-container { position: relative; margin-right: 1rem; margin-bottom: 10px; }
.timeline-dot { width: 16px; height: 16px; background-color: black; border-radius: 50%; }
.timeline-line-2 {
  position: absolute; top: 50%; left: 25px; width: 330px; height: 2px; background-color: black; transform: translateY(-50%);
}
.timeline-heading{ font-family: "Roboto Mono"; font-size: 1rem; font-weight: 500; }

/* <CHANGE> Updated text wrapping to break only at word boundaries */
.service-box h3 {
  margin: 12px 0 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  hyphens: auto;
}

.service-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Responsive styles */
@media screen and (min-width: 768px) {
  .services-header { flex-basis: 40%; }
  .services-boxes { /* flex-basis: 60%; */ }
  /* .service-box { width: calc(50% - 10px); } */
}
@media screen and (max-width: 1024px) {
  .services-content { display: block; }
  .services-header { flex-basis: 40%; margin-bottom: 0; }
  .services-boxes { /* flex-basis: 60%; */ }
  /* .service-box { width: calc(25% - 15px); } */
}
@media screen and (max-width: 767px) {
  .services-title { font-size: 24px; }
  .service-box { width: 90%; }
}
@media screen and (max-width: 480px) {
  .services-wrapper { padding: 0 10px; }
  .services-title { font-size: 20px; }
  .service-box { height: auto; min-height: 120px; }
}

/* Cloud Solutions Container */
.cloud-solutions-container {
  padding: 60px 0;
  background-color: #fff;
}
.solutions-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.solutions-content .vector-line { background-color: #000; }
.solutions-label { color: #000; background: rgba(0, 0, 0, 0.1); }
.solutions-title { font-size: 32px; color: #000; margin-bottom: 20px; }
.solutions-description, .migration-description {
  color: #000000;
  opacity: 80%;
  margin-bottom: 40px;
  font-family: "Lato";
}
.dropdown-sections { border-top: 1px solid #eee; }
.dropdown-item { border-bottom: 1px solid #eee; }
.dropdown-header {
  display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer;
}
.dropdown-header h3 { margin: 0; font-size: 18px; }
.dropdown-header i{ color: #5481FD; }
.dropdown-content {
  display: none; padding: 15px 0; color: #666666; line-height: 1.6; font-family: "Lato";
}
.dropdown-content.active { display: block; }
.solutions-image img { width: 100%; height: auto; }

/* Cloud Migration Container */
.cloud-migration-container {
  padding: 60px 0;
  background-color: #fff;
}
.migration-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 5rem;
}
.migration-image img { width: 100%; height: auto; }

/* Responsive Design */
@media (max-width: 992px) {
  .services-boxes { /* grid-template-columns: repeat(2, 1fr); */ }
  .solutions-wrapper, .migration-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .services-boxes { display: block; }
  .services-content{ display: block; }
  .service-box{ width: 90%; margin-bottom: 10px; }
  .services-title, .solutions-title { font-size: 28px; }
}
@media (max-width: 480px) {
  .services-container, .cloud-solutions-container, .cloud-migration-container { padding: 40px 0; }
  .services-title, .solutions-title { font-size: 24px; }
}

/* lets collab start */
.vision-banner-container {
  background-color: #000000;
  padding: 0rem 0rem 0rem 4rem;
  position: relative;
  overflow: hidden;
  min-height: 140px;
}
/* Top section styles */
.banner-content {
  max-width: 1400px;
  min-height: 200px;
  margin: auto;
  position: relative;
}
.top-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* margin-bottom: 1.5rem; */
}
.horizontal-line { width: 400px; height: 2px; background-color: #ffffff; margin-top: 1rem; }
.collaborate-section { display: flex; align-items: center; gap: 0.40rem; }
.circle-empty { width: 20px; height: 20px; border: 2px solid #ffffff; border-radius: 50%; position: relative; }
.circle-filled { width: 12px; height: 12px; background-color: #ffffff; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.collaborate-text { color: #ffffff; font-size: 1rem; margin-left: 0.5rem; font-family: 'Roboto Mono'; }

/* Main content styles */
.main-content { display: flex; justify-content: space-between; align-items: center; height: 200px; /* gap: 2rem; */ }
.vision-heading {
  color: #ffffff; font-size: 2rem; font-family: 'Poppins'; font-weight: 600; max-width: 100%; line-height: 1.2; margin: 25px 0px; margin-bottom: 40px;
}
.cta-section { display: flex; align-items: center; gap: 2rem; height: 100%; }
.demo-button {
  background: transparent; border: 1px solid #ffffff; color: #ffffff; padding: 0.40rem 2rem; border-radius: 4px; text-decoration: none; font-size: 1.1rem; transition: all 0.3s ease; font-family: 'Poppins';
}
.demo-button:hover { background-color: #ffffff; color: #000000; }
.decorative-pattern { width: 150px; height: auto; object-fit: contain; }

/* Responsive styles */
@media screen and (max-width: 1024px) {
  .vision-heading { font-size: 2.8rem; }
  .vision-banner-container { padding: 2rem; padding-bottom: 4rem; }
}
@media screen and (max-width: 768px) {
  .main-content { flex-direction: column; align-items: flex-start; }
  .vision-heading { font-size: 2.2rem; max-width: 100%; }
  .cta-section { width: 100%; justify-content: space-between; }
  .decorative-pattern { width: 80px; }
}
@media screen and (max-width: 480px) {
  .vision-banner-container { padding: 1.5rem; padding-bottom: 4rem; }
  .horizontal-line { width: 80px; }
  .vision-heading { font-size: 1.8rem; margin-bottom: 1rem; }
  .collaborate-text { font-size: 0.9rem; }
  .circle-empty, .circle-filled { width: 20px; height: 20px; }
  .demo-button { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
  .decorative-pattern { width: 60px; }
}

/* Main Content Section */
.content__container {
  display: flex;
  padding: 80px 130px;
  gap: 60px;
  background: #FFFFFF;
}
.content__left { flex: 1; max-width: 600px; }
.content__header { display: flex; align-items: center; margin-bottom: 30px; }
.content__line { width: 200px; height: 3px; background: #000000; }
.content__circle { width: 20px; height: 20px; background: #000000; border-radius: 50%; margin: 0 15px; }
.content__label { font-size: 18px; color: #000000; margin-bottom: 5px; }
.content__title {
  font-size: 32px; color: #000; margin-bottom: 15px; margin-top: 20px; font-weight: 600; line-height: 2.4rem; font-family: "Poppins";
}
.content__description { color: #000000; opacity: 80%; margin-bottom: 40px; font-family: "Lato"; }
.content__right { flex: 1; display: flex; align-items: center; }
.content__image { width: 100%; height: auto; }

/* Dropdown Styles */
.dropdown__item { margin-bottom: 15px; }
.dropdown__button {
  width: 100%; padding: 15px 0; background: none; border: none; border-bottom: 1px solid rgba(0, 0, 0, 0.1); text-align: left; font-size: 18px; color: #000000; display: flex; font-weight: 600; justify-content: space-between; align-items: center; cursor: pointer;
}
.dropdown__icon { font-size: 24px; transition: transform 0.3s ease; color: #5481FD; font-weight: 100; }
.dropdown__button.active .dropdown__icon { transform: rotate(45deg); }
.dropdown__content {
  display: none; padding: 15px 0; color: #666666; line-height: 1.6; font-family: "Lato";
}
.dropdown__content.active { display: block; }

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero__container, .content__container { padding: 60px 40px; }
  .hero__cta-button { right: 50px; font-size: 10px; }
  .hero__title { font-size: 28px; }
}
@media (max-width: 768px) {
  .content__container { flex-direction: column; }
  .content__left { max-width: 100%; }
  .hero__decorative-image { width: 120px; height: 120px; }
  .content__line { width: 150px; }
}
@media (max-width: 480px) {
  .hero__container, .content__container { padding: 40px 20px; }
  .hero__cta-button { position: relative; top: auto; right: auto; margin-top: 20px; align-self: flex-start; }
  .hero__title { font-size: 28px; }
}

/* Footer responsive */
@media screen and (max-width: 1024px) {
  .footer-links-section > *:nth-child(-n+3) {
    display: none; /* Hides first three columns */
  }
}