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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* hero section start */
.main-container {
  width: 100%;
  overflow-x: hidden;
}

.hero-section {
  height: 800px;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 100px 60px 80px 60px;
  overflow: hidden;
}

/* Video background with proper object-fit to prevent cutoff on mobile */
.hero-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  color: white;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: "Poppins", sans-serif;
}

.hero-subtitle,
.hero-description {
  font-size: 18px;
  line-height: 1.2;
  margin: 8px 0;
  font-family: "Lato", sans-serif;
}

/* Hero buttons container for equal sizing and responsive layout */
.hero-buttons-container {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-button {
  display: inline-block;
  padding: 12px 24px;
  border: 1.5px solid white;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.hero-button1 {
  display: inline-block;
  padding: 12px 24px;
  border: 1.5px solid white;
  border-radius: 4px;
  color: #11418b;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: rgb(255, 255, 255);
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.hero-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.hero-button1:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Certificate styles */
.certificates-container {
  position: relative;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 500px;
}

.certificate {
  position: relative;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.certificate:hover {
  transform: scale(1.05);
}

.certificate-1 {
  width: 125px;
  height: 125px;
  z-index: 3;
}

.certificate-2 {
  width: 171px;
  height: 171px;
  margin-left: -20px;
  z-index: 2;
}

.certificate-3 {
  width: 125px;
  height: 125px;
  margin-left: -20px;
  z-index: 1;
}

.capabilities-section {
  background-color: white;
  padding: 80px 60px;
}

.capabilities-header {
  margin-bottom: 60px;
}

.capabilities-title {
  font-size: 36px;
  font-weight: 600;
  color: #333;
}

.capabilities-subtitle {
  font-size: 18px;
  color: #666;
}

.capabilities-wrapper {
  display: flex;
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
}

.frame-left,
.frame-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.left-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.right-row-one {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.capability-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0d0d0d;
  cursor: pointer;
  transition: transform .45s ease, box-shadow .45s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.capability-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.capability-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.capability-card:hover .capability-image {
  transform: scale(1.3);
}

.capability-card.wide {
  height: 300px;
}

.capability-card.tall {
  height: 440px;
}

.capability-label {
  position: absolute;
  top: 28px;
  left: 28px;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  z-index: 3;
  font-family: "Lato";
  line-height: 1.3;
}

.capability-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 55%);
  z-index: 1;
}

.capability-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
  transition: transform .3s ease;
}

.capability-arrow img {
  width: 30px;
  height: 30px;
}

.capability-arrow:hover {
  transform: scale(1.18);
}

/* Responsive */
@media (max-width: 992px) {
  .capabilities-wrapper {
    flex-direction: column;
  }
  .frame-left,
  .frame-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .left-row-two,
  .right-row-one {
    grid-template-columns: 1fr;
  }
  .capability-card.tall {
    height: 380px;
  }
}

/* Responsive hero buttons for mobile - stack vertically and equal width */
@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section {
    padding: 80px 40px 60px 40px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 600px;
    padding: 60px 30px 40px 30px;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  /* Stack buttons vertically and make equal width on tablet */
  .hero-buttons-container {
    flex-direction: column;
    gap: 15px;
  }

  .hero-button,
  .hero-button1 {
    flex: none;
    width: 100%;
    min-width: auto;
  }

  .certificates-container {
    margin-top: 30px;
    max-width: 400px;
  }

  .certificate-1 {
    width: 90px;
    height: 90px;
  }

  .certificate-2 {
    width: 120px;
    height: 120px;
    margin-left: -15px;
  }

  .certificate-3 {
    width: 90px;
    height: 90px;
    margin-left: -15px;
  }

  .capabilities-section {
    padding: 60px 30px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    height: 550px;
    padding: 50px 25px 30px 25px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  /* Ensure button sizing consistency on mobile */
  .hero-buttons-container {
    flex-direction: column;
    gap: 12px;
  }

  .hero-button,
  .hero-button1 {
    padding: 12px 20px;
    font-size: 15px;
  }

  .certificates-container {
    margin-top: 25px;
    max-width: 350px;
  }

  .certificate-1 {
    width: 80px;
    height: 80px;
  }

  .certificate-2 {
    width: 105px;
    height: 105px;
    margin-left: -12px;
  }

  .certificate-3 {
    width: 80px;
    height: 80px;
    margin-left: -12px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 500px;
    padding: 40px 20px 30px 20px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-subtitle,
  .hero-description {
    font-size: 14px;
  }

  .hero-button,
  .hero-button1 {
    margin-top: 0;
    padding: 10px 16px;
    font-size: 14px;
  }

  .hero-buttons-container {
    gap: 10px;
  }

  .certificates-container {
    margin-top: 20px;
    max-width: 300px;
    justify-content: flex-start;
  }

  .certificate-1 {
    width: 70px;
    height: 70px;
  }

  .certificate-2 {
    width: 90px;
    height: 90px;
    margin-left: -10px;
  }

  .certificate-3 {
    width: 70px;
    height: 70px;
    margin-left: -10px;
  }

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

  .capabilities-title {
    font-size: 28px;
  }
}

@media (max-width: 400px) {
  .hero-section {
    height: 450px;
    padding: 35px 15px 25px 15px;
  }

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

  .certificates-container {
    margin-top: 15px;
    max-width: 280px;
  }

  .certificate-1 {
    width: 60px;
    height: 60px;
  }

  .certificate-2 {
    width: 80px;
    height: 80px;
    margin-left: -8px;
  }

  .certificate-3 {
    width: 60px;
    height: 60px;
    margin-left: -8px;
  }
}

@media (max-width: 360px) {
  .hero-section {
    height: 420px;
    padding: 30px 12px 20px 12px;
  }

  .hero-title {
    font-size: 22px;
  }

  .certificates-container {
    margin-top: 12px;
    max-width: 250px;
  }

  .certificate-1 {
    width: 55px;
    height: 55px;
  }

  .certificate-2 {
    width: 70px;
    height: 70px;
    margin-left: -6px;
  }

  .certificate-3 {
    width: 55px;
    height: 55px;
    margin-left: -6px;
  }
}

/* lets collab start */
.vision-banner-container {
  background-color: #000000;
  padding: 0rem 0rem 0rem 4rem;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.banner-content {
  max-width: 1400px;
  min-height: 200px;
  margin: auto;
  position: relative;
}

.top-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.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 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 200px;
}

.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;
}

@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;
  }

  .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;
}

.content__title {
  font-size: 36px;
  color: #000000;
  margin-bottom: 20px;
}

.content__description {
  color: #666666;
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.8;
}

.content__right {
  flex: 1;
  display: flex;
  align-items: center;
}

.content__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 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;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.dropdown__icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.dropdown__button.active .dropdown__icon {
  transform: rotate(45deg);
}

.dropdown__content {
  display: none;
  padding: 20px 0;
  color: #666666;
  line-height: 1.6;
}

.dropdown__content.active {
  display: block;
}

@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;
  }
}

/* form section start */
.contact-container {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  width: 100%;
}

.contact-heading {
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  font-family: "Poppins";
}

.contact-description {
  font-size: 16px;
  line-height: 1.3;
  color: #4a4a4a;
  margin-bottom: 40px;
  font-family: "Lato";
}

.contact-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.form-left,
.form-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 16px;
  border: none;
  border-radius: 4px;
  background-color: #f1f1f1;
  font-size: 16px;
  color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #232a3f;
  font-family: "Poppins";
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-submit {
  margin-top: 20px;
}

.submit-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: transparent;
  border: 1.5px solid #0470d2;
  border-radius: 4px;
  color: #0470d2;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: rgba(0, 123, 255, 0.1);
}

.alert-popup {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4caf50;
  color: white;
  padding: 16px 24px;
  border-radius: 4px;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alert-content {
  font-size: 16px;
}

@media (max-width: 768px) {
  .contact-container {
    padding: 40px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-heading {
    font-size: 28px;
  }

  .contact-description br {
    display: none;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 30px 15px;
  }

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

  .form-group input,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* Digital Brains Processing Section Styles */
.digital-brains-processing-section {
  background-color: #ffffff;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.main-container-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.primary-heading-digital-brains {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.2;
  color: #000000;
  margin: 0 0 60px 0;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.processing-flow-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

.input-stage-wrapper,
.processing-stage-wrapper,
.readout-stage-wrapper,
.output-stage-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 220px;
}

.input-image-container,
.processing-image-container,
.readout-image-container {
  width: 200px;
  height: 220px;
  margin-bottom: 20px;
}

.input-spider-image,
.processing-network-image,
.readout-pattern-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.input-stage-heading,
.processing-stage-heading,
.readout-stage-heading,
.output-stage-heading {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: #000000;
  margin: 0 0 8px 0;
  text-align: center;
}

.input-stage-subheading,
.processing-stage-subheading,
.readout-stage-subheading,
.output-stage-subheading {
  font-family: "Lato";
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: #000000;
  margin: 0;
  text-align: center;
}

.arrow-connector-first,
.arrow-connector-second,
.arrow-connector-third {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  flex-shrink: 0;
}

.arrow-svg-element {
  width: 41px;
  height: 10px;
}

.output-display-container {
  width: 200px;
  height: 220px;
  background-color: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 8px;
}

.output-result-text {
  font-family: "Inter";
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: #000000;
  margin: 0;
  text-align: center;
}

.spider-result-highlight {
  font-family: "Inter";
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: #22c55e;
}

@media (min-width: 1025px) and (max-width: 1199px) {
  .digital-brains-processing-section {
    padding: 80px 40px;
  }

  .processing-flow-container {
    gap: 20px;
  }

  .input-stage-wrapper,
  .processing-stage-wrapper,
  .readout-stage-wrapper,
  .output-stage-wrapper {
    max-width: 190px;
  }

  .input-image-container,
  .processing-image-container,
  .readout-image-container,
  .output-display-container {
    width: 170px;
    height: 190px;
  }

  .arrow-svg-element {
    width: 30px;
  }

  .input-stage-heading,
  .processing-stage-heading,
  .readout-stage-heading,
  .output-stage-heading {
    font-size: 22px;
  }

  .input-stage-subheading,
  .processing-stage-subheading,
  .readout-stage-subheading,
  .output-stage-subheading {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .digital-brains-processing-section {
    padding: 50px 25px;
    overflow-x: hidden;
  }

  .main-container-wrapper {
    max-width: 100%;
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
  }

  .primary-heading-digital-brains {
    font-size: 26px;
    margin-bottom: 40px;
    padding: 0 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }

  .processing-flow-container {
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .input-stage-wrapper,
  .processing-stage-wrapper,
  .readout-stage-wrapper,
  .output-stage-wrapper {
    max-width: 160px;
    flex-shrink: 1;
  }

  .input-image-container,
  .processing-image-container,
  .readout-image-container,
  .output-display-container {
    width: 150px;
    height: 170px;
  }

  .input-stage-heading,
  .processing-stage-heading,
  .readout-stage-heading,
  .output-stage-heading {
    font-size: 18px;
  }

  .input-stage-subheading,
  .processing-stage-subheading,
  .readout-stage-subheading,
  .output-stage-subheading {
    font-size: 14px;
  }

  .arrow-connector-first,
  .arrow-connector-second,
  .arrow-connector-third {
    margin-top: 70px;
  }

  .arrow-svg-element {
    width: 25px;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .digital-brains-processing-section {
    padding: 40px 30px;
  }

  .primary-heading-digital-brains {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .processing-flow-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .arrow-connector-first,
  .arrow-connector-second,
  .arrow-connector-third {
    margin-top: 0;
    transform: rotate(90deg);
  }

  .input-stage-wrapper,
  .processing-stage-wrapper,
  .readout-stage-wrapper,
  .output-stage-wrapper {
    max-width: 280px;
  }

  .input-image-container,
  .processing-image-container,
  .readout-image-container,
  .output-display-container {
    width: 200px;
    height: 180px;
  }

  .input-stage-heading,
  .processing-stage-heading,
  .readout-stage-heading,
  .output-stage-heading {
    font-size: 20px;
  }

  .input-stage-subheading,
  .processing-stage-subheading,
  .readout-stage-subheading,
  .output-stage-subheading {
    font-size: 16px;
  }

  .output-result-text {
    font-size: 18px;
  }

  .spider-result-highlight {
    font-size: 18px;
  }
}

@media (min-width: 280px) and (max-width: 319px) {
  .digital-brains-processing-section {
    padding: 30px 20px;
  }

  .primary-heading-digital-brains {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .input-image-container,
  .processing-image-container,
  .readout-image-container,
  .output-display-container {
    width: 180px;
    height: 160px;
  }

  .input-stage-heading,
  .processing-stage-heading,
  .readout-stage-heading,
  .output-stage-heading {
    font-size: 18px;
  }

  .input-stage-subheading,
  .processing-stage-subheading,
  .readout-stage-subheading,
  .output-stage-subheading {
    font-size: 14px;
  }

  .output-result-text,
  .spider-result-highlight {
    font-size: 16px;
  }
}

/* testimonials.css */
.reviews__wrapper {
  background: linear-gradient(to bottom, #000000 0%, #0a1b2a 50%, #0d2233 75%, #002244 100%);
  width: 100%;
  min-height: 976px;
  opacity: 1;
  font-family: Arial, sans-serif;
  position: relative;
  padding: 80px 0;
}

.reviews__container {
  max-width: 1932px;
  margin: 0 auto;
  padding: 0 141px;
  position: relative;
  color: #ffffff;
}

.reviews__header {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.reviews__line {
  width: 590px;
  height: 3px;
  background: #ffffff;
}

.reviews__title-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviews__circle-empty {
  width: 20px;
  height: 20px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.reviews__circle-filled {
  width: 12px;
  height: 12px;
  position: absolute;
  border-radius: 50%;
  background-color: #ffffff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.reviews__label {
  font-size: 18px;
  color: #ffffff;
  font-family: "Roboto Mono", monospace;
}

.reviews__content {
  max-width: 830px;
  margin-bottom: 80px;
}

.reviews__heading {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 46px;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 24px;
}

.reviews__subheading {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: #ffffff;
  max-width: 618px;
}

.testimonials__grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: nowrap;
}

.testimonial__card {
  flex: 1;
  max-width: 450px;
  min-width: 300px;
  height: 370px;
  border-radius: 8px;
  position: relative;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.testimonial__card:hover {
  transform: translateY(-5px);
}

.testimonial__card--silver {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(200, 200, 200, 0.1));
}

.testimonial__card--gold {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(255, 193, 7, 0.1));
}

.testimonial__card--copper {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(205, 127, 50, 0.1));
}

.testimonial__image-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0a1b2a;
}

.testimonial__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.8;
}

.testimonial__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 30px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
}

.testimonial__quote {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 12px;
}

.testimonial__text {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: #ffffff;
}

.reviews__decorative-image {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px;
  height: 200px;
  opacity: 0.8;
}

@media (max-width: 1600px) {
  .reviews__container {
    padding: 0 60px;
    max-width: 1400px;
  }

  .reviews__line {
    width: 400px;
  }

  .testimonials__grid {
    gap: 18px;
  }

  .testimonial__card {
    max-width: 400px;
    min-width: 280px;
    height: 350px;
  }

  .reviews__heading {
    font-size: 40px;
  }

  .reviews__subheading {
    font-size: 20px;
  }

  .reviews__decorative-image {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 1200px) {
  .reviews__container {
    padding: 0 40px;
  }

  .reviews__line {
    width: 300px;
  }

  .testimonials__grid {
    gap: 15px;
  }

  .testimonial__card {
    max-width: 350px;
    min-width: 250px;
    height: 320px;
  }

  .reviews__heading {
    font-size: 36px;
  }

  .reviews__subheading {
    font-size: 18px;
  }

  .testimonial__content {
    padding: 25px;
  }

  .testimonial__quote {
    font-size: 20px;
  }

  .testimonial__text {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .testimonials__grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  .testimonial__card {
    flex: none;
    width: 400px;
    max-width: 400px;
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .reviews__wrapper {
    padding: 60px 0;
    min-height: auto;
  }

  .reviews__container {
    padding: 0 20px;
  }

  .reviews__header {
    margin-bottom: 40px;
  }

  .reviews__line {
    width: 200px;
  }

  .reviews__content {
    margin-bottom: 60px;
  }

  .reviews__heading {
    font-size: 32px;
    line-height: 1.2;
  }

  .reviews__subheading {
    font-size: 16px;
    line-height: 1.4;
  }

  .testimonials__grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .testimonial__card {
    width: 100%;
    max-width: 400px;
    min-width: auto;
    height: 300px;
  }

  .testimonial__content {
    padding: 20px;
  }

  .testimonial__quote {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .testimonial__text {
    font-size: 15px;
    line-height: 1.3;
  }

  .reviews__decorative-image {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .reviews__wrapper {
    padding: 40px 0;
  }

  .reviews__container {
    padding: 0 15px;
  }

  .reviews__line {
    width: 150px;
    height: 2px;
  }

  .reviews__label {
    font-size: 16px;
  }

  .reviews__heading {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .reviews__subheading {
    font-size: 15px;
  }

  .testimonials__grid {
    gap: 25px;
  }

  .testimonial__card {
    max-width: 350px;
    height: 280px;
  }

  .testimonial__content {
    padding: 18px;
  }

  .testimonial__quote {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .testimonial__text {
    font-size: 14px;
    line-height: 1.3;
  }

  .reviews__decorative-image {
    width: 80px;
    height: 80px;
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 360px) {
  .testimonial__card {
    max-width: 320px;
    height: 260px;
  }

  .testimonial__content {
    padding: 15px;
  }

  .testimonial__quote {
    font-size: 16px;
  }

  .testimonial__text {
    font-size: 13px;
  }

  .reviews__heading {
    font-size: 26px;
  }
}

/* Onboarding Journey Section */
.onboarding-journey-section {
  width: 100%;
  background: #ffffff;
  position: relative;
  padding: 80px 60px;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
}

.onboarding-container {
  max-width: 1800px;
  width: 100%;
  position: relative;
  margin: 0 auto;
}

.onboarding-header {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.onboarding-line {
  width: 600px;
  height: 2px;
  background-color: #000000;
}

.onboarding-title-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.onboarding-circle-empty {
  width: 20px;
  height: 20px;
  border: 2px solid #000000;
  border-radius: 50%;
  position: relative;
}

.onboarding-circle-filled {
  width: 12px;
  height: 12px;
  background-color: #000000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.onboarding-label {
  font-family: "Roboto Mono", monospace;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: #000000;
}

.onboarding-content {
  margin-bottom: 60px;
}

.onboarding-heading {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 100%;
  color: #000000;
  margin-bottom: 20px;
}

.onboarding-description {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
  color: #000000;
  margin-top: 15px;
}

/* Journey steps grid - fixed for equal sizing on all devices */
.journey-steps-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-right: 50px;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 346px;
}

.step-number {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 62px;
  line-height: 100%;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-frame {
  width: 100%;
  max-width: 346px;
  height: 347px;
  border-radius: 25px;
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
}

.step-frame-image {
  background: #f0f0f0;
}

.step-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

.step-overlay-text {
  position: absolute;
  top: 48px;
  left: 52px;
  width: 250px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 38px;
  color: #ffffff;
  z-index: 2;
}

.step-frame-blue {
  background: #2f54fa;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 45px 47px;
}

.step-text {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 38px;
  color: #ffffff;
}

.step-title {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 30px;
  color: #000000;
  text-align: center;
  max-width: 285px;
}

/* Large Desktop (1600px - 1920px) */
@media (min-width: 1600px) and (max-width: 1920px) {
  .onboarding-journey-section {
    padding: 80px 60px;
  }

  .step-frame {
    max-width: 346px;
    height: 347px;
  }
}

/* Desktop (1200px - 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
  .onboarding-journey-section {
    padding: 60px 40px;
  }

  .onboarding-heading {
    font-size: 36px;
  }

  .onboarding-description {
    font-size: 20px;
  }

  .journey-steps-grid {
    gap: 20px;
    margin-right: 20px;
  }

  .step-frame {
    max-width: 300px;
    height: 300px;
  }

  .step-text,
  .step-overlay-text {
    font-size: 28px;
    line-height: 30px;
  }

  .step-title {
    font-size: 24px;
  }

  .step-number {
    font-size: 50px;
  }
}

/* Tablet (768px - 1199px) - EQUAL SIZED BOXES FOR SURFACE DUO */
@media (min-width: 768px) and (max-width: 1199px) {
  .onboarding-journey-section {
    padding: 50px 30px;
  }

  .onboarding-heading {
    font-size: 32px;
  }

  .onboarding-description {
    font-size: 16px;
    margin-top: 8px;
  }

  .journey-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-right: 0;
  }

  .journey-step {
    max-width: 100%;
  }

  .step-frame {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  /* Increased font-size from 22px to 26px for better readability on tablets */
  .step-text,
  .step-overlay-text {
    font-size: 26px;
    line-height: 28px;
  }

  /* Increased title font-size from 20px to 24px and adjusted line-height */
  .step-title {
    font-size: 24px;
    line-height: 28px;
  }

  .step-number {
    font-size: 45px;
    margin-bottom: 15px;
  }

  /* Increased padding inside blue boxes for better spacing and text visibility */
  .step-frame-blue {
    padding: 55px 52px;
  }

  /* Adjusted overlay text positioning for tablets */
  .step-overlay-text {
    top: 40px;
    left: 45px;
    width: auto;
    max-width: calc(100% - 90px);
  }
}

/* Mobile (320px - 767px) */
@media (min-width: 320px) and (max-width: 767px) {
  .onboarding-journey-section {
    padding: 40px 20px;
  }

  .onboarding-heading {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .onboarding-description {
    font-size: 16px;
    margin-top: -10px;
  }

  .onboarding-description br {
    display: none;
  }

  .journey-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-right: 0;
  }

  .journey-step {
    max-width: 100%;
  }

  .step-frame {
    max-width: 100%;
    width: 100%;
    height: 250px;
  }

  .step-text,
  .step-overlay-text {
    font-size: 20px;
    line-height: 22px;
  }

  .step-title {
    font-size: 20px;
    line-height: 22px;
    text-align: center;
  }

  .step-number {
    font-size: 40px;
    margin-bottom: 15px;
  }
}

/* Extra Small Mobile (280px - 319px) */
@media (min-width: 280px) and (max-width: 319px) {
  .onboarding-journey-section {
    padding: 30px 15px;
  }

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

  .onboarding-description {
    font-size: 14px;
  }

  .journey-steps-grid {
    gap: 20px;
  }

  .step-frame {
    height: 200px;
  }

  .step-number {
    font-size: 35px;
  }
}

/* case studies section */
.case-studies-main-section {
  width: 100%;
  max-width: 100%;
  background: #000000;
  position: relative;
  padding: 60px 80px 40px 80px;
  margin: 0 auto;
  opacity: 1;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.case-studies-container {
  width: 100%;
  max-width: 1640px;
  height: 100%;
  position: relative;
  margin: 0 auto;
}

.case-studies-header {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 0;
}

.case-studies-horizontal-line {
  width: 500px;
  height: 2px;
  background: #ffffff;
  opacity: 1;
  flex-shrink: 0;
}

.case-studies-collaborate-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

.case-studies-circle-empty {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  flex-shrink: 0;
}

.case-studies-circle-filled {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
}

.case-studies-our-work-text {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
}

.case-studies-heading-wrapper {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.case-studies-main-heading {
  width: auto;
  height: auto;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 120%;
  color: #ffffff;
  margin: 0;
  position: static;
}

.view-more-button {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.view-more-button:hover {
  background-color: #ffffff;
  color: #000000;
}

.case-studies-description {
  position: absolute;
  top: 110px;
  left: 0;
  width: auto;
  height: auto;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 140%;
  color: #ffffff;
  margin: 0;
}

.case-studies-large-frame {
  position: absolute;
  top: 170px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: 398px;
  background: #ffffff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.case-studies-large-image-container {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 790px;
  height: 340px;
  border-radius: 10px;
  overflow: hidden;
}

.case-studies-large-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.case-studies-large-text-frame {
  position: absolute;
  top: 20px;
  left: 830px;
  width: 546px;
  height: 317px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-left: 2%;
}

.case-studies-large-heading {
  width: 364px;
  height: 53px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 35px;
  line-height: 100%;
  color: #000000;
  margin: 0;
  vertical-align: middle;
}

.case-studies-large-subtext {
  position: absolute;
  top: 53.5px;
  left: 0.5px;
  width: 546px;
  height: 76px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 100%;
  color: #000000;
  margin: 0;
  vertical-align: middle;
}

.case-studies-large-read-more-btn {
  position: absolute;
  bottom: 40px;
  right: 30px;
  width: 219px;
  height: 64px;
  border-radius: 6px;
  padding: 16px 24px;
  border: 1px solid #000000;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 18px;
  text-align: center;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.case-studies-large-read-more-btn:hover {
  background: #000000;
  color: #ffffff;
}

.case-studies-large-read-time {
  position: absolute;
  bottom: 5px;
  left: 20px;
  width: 83px;
  height: 18px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  color: #000000;
  margin: 0;
  vertical-align: middle;
}

.case-studies-bottom-frames-container {
  position: absolute;
  top: 600px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: 352px;
  display: flex;
  justify-content: space-between;
  gap: 47px;
  box-sizing: border-box;
}

.case-studies-small-frame {
  width: calc(50% - 23.5px);
  height: 352px;
  background: #ffffff;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.case-studies-small-image-container {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 333px;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
}

.case-studies-small-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.case-studies-small-text-content {
  position: absolute;
  top: 20px;
  left: 373px;
  width: calc(100% - 393px);
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-studies-small-heading {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  color: #000000;
  margin: 0;
}

.case-studies-small-subtext {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  color: #000000;
  margin: 0;
}

.case-studies-small-read-time {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #000000;
  margin: 0;
  margin-top: 166px;
}

.case-studies-small-read-more-btn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 180px;
  height: 50px;
  border-radius: 6px;
  padding: 14px 20px;
  border: 1px solid #000000;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 18px;
  text-align: center;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.case-studies-small-read-more-btn:hover {
  background: #000000;
  color: #ffffff;
}

@media (min-width: 1600px) {
  .case-studies-main-section {
    min-height: 1200px;
    padding: 60px 80px;
  }

  .case-studies-container {
    max-width: 1640px;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .case-studies-main-section {
    min-height: 1000px;
    padding: 50px 60px;
  }

  .case-studies-container {
    max-width: 1400px;
  }

  .case-studies-horizontal-line {
    width: 400px;
  }

  .case-studies-main-heading {
    font-size: 36px;
  }

  .case-studies-description {
    font-size: 20px;
  }

  .case-studies-large-frame {
    height: 320px;
  }

  .case-studies-large-image-container {
    width: 45%;
    height: 280px;
  }

  .case-studies-large-text-frame {
    left: 48%;
    width: 48%;
  }

  .case-studies-large-heading {
    font-size: 30px;
    width: auto;
  }

  .case-studies-large-subtext {
    font-size: 20px;
    width: 100%;
  }

  .case-studies-bottom-frames-container {
    gap: 30px;
  }

  .case-studies-small-frame {
    width: calc(50% - 15px);
    height: 300px;
  }

  .case-studies-small-image-container {
    width: 200px;
    height: 260px;
  }

  .case-studies-small-text-content {
    left: 220px;
    width: calc(100% - 240px);
  }

  .case-studies-small-heading {
    font-size: 24px;
  }

  .case-studies-small-subtext {
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .case-studies-main-section {
    min-height: auto;
    padding: 40px 30px;
  }

  .case-studies-container {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .case-studies-header {
    position: static;
    align-self: flex-start;
  }

  .case-studies-horizontal-line {
    width: 200px;
  }

  .case-studies-heading-wrapper {
    position: static;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
  }

  .case-studies-main-heading {
    position: static;
    font-size: 32px;
    width: auto;
    height: auto;
  }

  .view-more-button {
    white-space: nowrap;
  }

  .case-studies-description {
    position: static;
    font-size: 18px;
    width: auto;
    height: auto;
  }

  .case-studies-large-frame {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 0;
  }

  .case-studies-large-image-container {
    position: static;
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
    border-radius: 10px;
  }

  .case-studies-large-text-frame {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .case-studies-large-heading {
    position: static;
    font-size: 28px;
    width: auto;
    height: auto;
  }

  .case-studies-large-subtext {
    position: static;
    font-size: 18px;
    width: auto;
    height: auto;
  }

  .case-studies-large-read-more-btn {
    position: static;
    width: 180px;
    height: 50px;
    font-size: 16px;
    align-self: flex-start;
    margin-top: 10px;
  }

  .case-studies-large-read-time {
    position: static;
    font-size: 14px;
    width: auto;
    height: auto;
    margin: 10px 0 0 0;
  }

  .case-studies-bottom-frames-container {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
  }

  .case-studies-small-frame {
    width: calc(50% - 10px);
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
  }

  .case-studies-small-image-container {
    position: static;
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
  }

  .case-studies-small-text-content {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .case-studies-small-heading {
    font-size: 24px;
  }

  .case-studies-small-subtext {
    font-size: 16px;
  }

  .case-studies-small-read-more-btn {
    position: static;
    width: 160px;
    height: 45px;
    font-size: 16px;
    align-self: flex-start;
    margin-top: 10px;
  }

  .case-studies-small-read-time {
    font-size: 13px;
    margin-top: 10px;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .case-studies-main-section {
    padding: 30px 20px;
    overflow-x: hidden;
    min-height: auto;
  }

  .case-studies-container {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    max-width: 100%;
  }

  .case-studies-header {
    position: static;
    align-self: flex-start;
    margin-bottom: 15px;
  }

  .case-studies-horizontal-line {
    width: 80px;
    height: 2px;
  }

  .case-studies-our-work-text {
    font-size: 14px;
    width: auto;
    height: auto;
  }

  .case-studies-circle-empty {
    width: 24px;
    height: 24px;
  }

  .case-studies-circle-filled {
    width: 12px;
    height: 12px;
  }

  .case-studies-heading-wrapper {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  .case-studies-main-heading {
    position: static;
    font-size: 26px;
    width: 100%;
    height: auto;
    line-height: 1.2;
  }

  .view-more-button {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 12px 20px;
  }

  .case-studies-description {
    position: static;
    font-size: 15px;
    width: 100%;
    height: auto;
    line-height: 1.5;
  }

  .case-studies-large-frame {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 15px;
    box-sizing: border-box;
    margin-bottom: 0;
  }

  .case-studies-large-image-container {
    position: static;
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 10px;
  }

  .case-studies-large-text-frame {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .case-studies-large-heading {
    position: static;
    font-size: 22px;
    width: 100%;
    height: auto;
    line-height: 1.2;
  }

  .case-studies-large-subtext {
    position: static;
    font-size: 15px;
    width: 100%;
    height: auto;
    line-height: 1.4;
  }

  .case-studies-large-read-more-btn {
    position: static;
    width: 140px;
    height: 40px;
    font-size: 14px;
    align-self: flex-start;
    padding: 10px 16px;
    margin-top: 10px;
  }

  .case-studies-large-read-time {
    position: static;
    font-size: 12px;
    width: auto;
    height: auto;
    margin: 8px 0 0 0;
  }

  .case-studies-bottom-frames-container {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start;
  }

  .case-studies-small-frame {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 15px;
    box-sizing: border-box;
  }

  .case-studies-small-image-container {
    position: static;
    width: 100%;
    height: 180px;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .case-studies-small-text-content {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .case-studies-small-heading {
    font-size: 20px;
    line-height: 1.2;
  }

  .case-studies-small-subtext {
    font-size: 14px;
    line-height: 1.4;
  }

  .case-studies-small-read-more-btn {
    position: static;
    width: 130px;
    height: 38px;
    font-size: 14px;
    align-self: flex-start;
    padding: 10px 14px;
    margin-top: 10px;
  }

  .case-studies-small-read-time {
    font-size: 12px;
    margin-top: 8px;
  }

  .case-studies-left-frame,
  .case-studies-right-frame {
    width: 100%;
  }
}

@media (max-width: 319px) {
  .case-studies-main-section {
    padding: 25px 15px;
  }

  .case-studies-main-heading {
    font-size: 22px;
  }

  .case-studies-description {
    font-size: 14px;
  }

  .view-more-button {
    font-size: 14px;
    padding: 10px 16px;
  }
}
