@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");

:root {
  --light-theme-color: #ffdbb5;
  --dark-theme-color: #ff7b00;
  --base-font-size: 16px;

  --h1-size: 50px;
  --h2-size: 44px;
  --h3-size: 23px;
  --h4-size: 20px;
  --h5-size: 18px;
  --h6-size: 16px;
  --p-size: 16px;
}

.logo object {
  max-width: 200px;
}

@media (max-width: 1024px) {
  .logo object {
    max-width: 150px;
  }
}

@media (max-width: 768px) {
  .dropdown-content {
    display: none !important; 
  }

  .dropdown-mobile {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 10px;
  }

  .dropdown-mobile a {
    padding: 8px 0;
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }

  .dropdown-mobile a:hover {
    color: #ff6600;
  }

  .logo object {
    max-width: 120px;
  }
}


@media (max-width: 480px) {
  .logo object {
    max-width: 100px;
  }
}

@media (max-width: 330px) {
  .logo object {
    max-width: 80px;
  }
}

@media (max-width: 1024px) {
  :root {
    --h1-size: 40px;
    --h2-size: 36px;
    --h3-size: 20px;
    --h4-size: 18px;
    --h5-size: 16px;
    --h6-size: 14px;
    --p-size: 14px;
  }
}

@media (max-width: 768px) {
  :root {
    --h1-size: 32px;
    --h2-size: 28px;
    --h3-size: 18px;
    --h4-size: 16px;
    --h5-size: 14px;
    --h6-size: 13px;
    --p-size: 14px;
  }
}

@media (max-width: 480px) {
  :root {
    --h1-size: 28px;
    --h2-size: 24px;
    --h3-size: 16px;
    --h4-size: 14px;
    --h5-size: 13px;
    --h6-size: 12px;
    --p-size: 13px;
  }
}

@media (max-width: 330px) {
  :root {
    --h1-size: 24px;
    --h2-size: 20px;
    --h3-size: 14px;
    --h4-size: 13px;
    --h5-size: 12px;
    --h6-size: 11px;
    --p-size: 12px;
  }
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  font-size: var(--p-size);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  background-color: rgb(243, 239, 239);
}

header {
  position: fixed;
  z-index: 1;
  width: 100vw;
}

/*  careers dropdown */

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  width: 95vw;
  height: auto;
  padding: 40px 60px;
  z-index: 9999;
  display: none;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  z-index: 999;
}

.dropdown-content span {
  color: grey;
  font-size: medium;
  font-weight: 300;
}

.dropdown-content.show {
  display: flex;
}

/* Show on hover */
.dropdown:hover .dropdown-content {
  display: flex;
}

/* Left Text Section */
.dropdown-left {
  align-items: flex-start;
}

.dropdown-left h3 {
  font-size: 28px;
  margin-top: 0px;
  color: #1a1a1a;
}

.dropdown-left p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #444;
}

.view-all {
  font-weight: bold;
  color: #375e77;
  text-decoration: none;
}

.view-all:hover {
  text-decoration: underline;
}

/* Middle Link Section */
.dropdown-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 60px;
  list-style: none;
  padding: 0;
  margin: 0;
}


.dropdown-links li {
  min-width: 200px;
}


.dropdown-links a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
}

.dropdown-links a:hover {
  color: #ff6600;
}

.dropdown-mobile {
  display: none;
}

#caseStudiesMobile {
  display: none;
}

#caseStudiesMobile.show {
  display: flex;
}

/* Right Image Section */
.banner img {
  max-width: 220px;
  border-radius: 6px;
}

.nav-links li a:hover {
  color: #ee7900;
  font-weight: 500;
}

.logo object {
  max-width: 150px;
}

.breadcrumb {
  display: flex;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.breadcrumb ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
}

.breadcrumb-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.contact-btn {
  font-size: var(--p-size);
  background: var(--dark-theme-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-right: 80px;
}

.contact-btn:hover {
  background: #e65c00;
}

.hero {
  text-align: left;
  padding: 30px 50px 95px;
  position: relative;
  overflow: hidden;
  background-color: rgb(243, 239, 239);
  display: flex;
  gap: 100px;
  align-items: center;
  justify-content: space-between;
  padding-top: 120px;
}

.hero #text-content {
  width: 60%;
}

.hero #illustration {
  margin-top: 40px
}

.hero h1 {
  font-size: var(--h2-size);
  font-weight: 600;
}

.hero p {
  font-size: var(--p-size);
  font-weight: 400;
  margin-top: -20px;
}

.hero span {
  color: var(--dark-theme-color);
}

.hero .contact-btn {
  margin-top: 10px;
}

.content-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 50px;
}

.text-section {
  width: 40%;
}

.text-section h2 {
  font-size: var(--h2-size);
  font-weight: 600;
}

.text-section h3 {
  color: var(--dark-theme-color);
  font-size: var(--h3-size);
  font-weight: 500;
}

.text-section p {
  font-size: var(--p-size);
  font-weight: 400;
}

.card h4,
.feature h3 {
  font-size: var(--h3-size);
}

.cards-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
}

.card {
  background: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  height: 308px;
  width: 268px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 20px;
}

.index-circle-badge {
  width: 50px;
  height: 50px;
  background: #ffedd5;
  color: var(--dark-theme-color);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: var(--p-size);
}

.index-square-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--light-theme-color);
  border-radius: 10px;
  flex-shrink: 0;
  margin-top: 26px;
}

.card h4 {
  font-size: var(--h4-size);
  margin-bottom: 10px;
}

.card p {
  font-size: var(--p-size);
  margin-top: 0;
}

.grid-background {
  position: absolute;
  width: 200px;
  height: 200px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 5px;
  left: -80px;
  top: -50px;
  z-index: -1;
}

.grid-background div {
  width: 10px;
  height: 10px;
  background: #f5f1f1;
  border-radius: 50%;
}

.card:nth-child(1) {
  position: relative;
  margin-top: 50px;
}

.card:nth-child(3) {
  margin-top: 10px;
}

.card:nth-child(4) {
  margin-top: -40px;
}

.about {
  text-align: center;
  margin: 6rem auto 0;
}

.what-we-do {
  margin: 5rem 2rem 0;
}

.about h2 {
  font-size: var(--h2-size);
  font-weight: 600;
  margin-top: -0.2rem;
}

.about>h3 {
  color: var(--dark-theme-color);
  font-size: var(--h3-size);
  font-weight: 500;
}

.about p {
  font-size: var(--p-size);
  font-weight: 400;
  margin-top: -0.4rem;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  position: relative;
}

.feature {
  width: 370px;
  padding: 10px;
  border-radius: 10px;
  position: relative;
  display: flex;
  gap: 15px;
  text-align: left;
}

.feature::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  background: var(--light-theme-color);
  right: -10px;
  top: 0;
}

.feature h3 {
  font-size: var(--h3-size);
  font-weight: 600;
}

.feature p {
  font-size: var(--p-size);
  font-weight: 400;
}

.trusted-by .tech-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.technologies, .trusted-by {
  padding: 30px 50px;
  text-align: center;
  margin-top: 4rem;
}

.technologies h2, .trusted-by h2 {
  font-size: var(--h2-size);
}

.tech-slider {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
}

.tech-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: scroll 8s linear infinite;
  height: 50px;
}

.tech-track img {
  height: 100%;
  width: auto;
  max-height: 80px;
  object-fit: contain;
}

.services {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 2rem 0 8rem;
  flex-wrap: wrap;
}

.service-card {
  background: #fff;
  padding: 20px;
  max-width: 480px;
  text-align: left;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.service-card:hover {
  border-color: #ff6f00;
}

.service-card img {
  width: 100%;
  border-radius: 6px;
}

.service-card h3 {
  font-size: 20px;
  margin: 10px 0;
}

.service-card p {
  font-size: 14px;
  color: #555;
}

.link {
  color: #ff6f00;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.cta {
  background: #fff3e0;
  padding: 40px 20px 70px;
  text-align: center;
}

.cta h2 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 20px;
}

footer {
  background-color: #111722;
  color: white;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  width: 30%;
  line-height: 25px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.footer-left p {
  font-size: 14px;
  color: #aaa;
  margin-top: 10px;
}

.social-icons {
  margin-top: 15px;
}

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

.social-icons img {
  width: 25px;
  transition: 0.3s;
}

.social-icons img:hover {
  opacity: 0.7;
}

footer h3 {
  font-weight: 600;
  font-size: var(--h3-size);
}

footer p {
  font-weight: 400;
  font-size: 13px;
}

footer .icon {
  color: #ff6f00;
  margin-right: 5px;
}

footer .social-icons i {
  color: #ff6f00;
  margin-right: 10px;
  font-size: 28px;
  transition: color 0.3s ease;
}

footer .social-icons a:hover i {
  color: #ff9500;
}

.footer-middle {
  width: 20%;
  text-align: left;
  line-height: 25px;
}

.footer-middle h4,
.footer-right h4 {
  margin-bottom: 10px;
  font-weight: 500;
}

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

.footer-middle ul li {
  margin-bottom: 5px;
}

.footer-middle ul li a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.footer-middle ul li a:hover {
  color: #ff6f00;
}

.footer-right {
  width: 40%;
  text-align: left;
  line-height: 25px;
}

.footer-right p {
  font-size: 14px;
  color: #aaa;
  margin: 5px 0;
}

.footer-right a {
  color: #ff6f00;
  text-decoration: none;
}

.footer-right>.space {
  margin-bottom: 20px;
}

.footer-right a:hover {
  text-decoration: underline;
}

hr {
  border: 0;
  height: 1px;
  background: #ee7900;
  margin: 20px 20px;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #8a8a8a;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-30%);
  }
}

@media (max-width: 1024px) {
  .main {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero {
    text-align: center;
    padding: 60px 80px;
  }

  .content-container {
    flex-direction: column;
    text-align: center;
  }

  .content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px;
  }

  .text-section {
    width: 60%;
    margin-bottom: 4rem;
  }

  .text-section h2 {
    font-size: var(--h2-size);
    font-weight: 600;
  }

  .text-section h3 {
    color: var(--dark-theme-color);
    font-size: var(--h3-size);
    font-weight: 500;
  }

  .text-section p {
    font-size: var(--p-size);
    font-weight: 400;
  }

  .card h4,
  .feature h3 {
    font-size: var(--h3-size);
  }

  .cards-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
  }

  .card {
    background: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: 308px;
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .index-circle-badge {
    width: 50px;
    height: 50px;
    background: #ffedd5;
    color: var(--dark-theme-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: var(--p-size);
  }

  .index-square-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--light-theme-color);
    border-radius: 10px;
    flex-shrink: 0;
    margin-top: 26px;
  }

  .card h4 {
    font-size: var(--h4-size);
  }

  .card p {
    font-size: var(--p-size);
  }

  .grid-background {
    position: absolute;
    width: 200px;
    height: 200px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 5px;
    left: -80px;
    top: -50px;
    z-index: -1;
  }

  .grid-background div {
    width: 10px;
    height: 10px;
    background: #f5f1f1;
    border-radius: 50%;
  }

  .card:nth-child(1) {
    position: relative;
    margin-top: 50px;
  }

  .card:nth-child(3) {
    margin-top: 10px;
  }

  .card:nth-child(4) {
    margin-top: -40px;
  }

  .features {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 30px;
    position: relative;
    width: 100%;
  }

  .feature {
    width: auto;
    padding: 0;
    border-radius: 10px;
    position: relative;
    display: flex;
    text-align: left;
  }

  .feature::after {
    display: none !important;
  }

  .about {
    text-align: center;
    padding: 2rem 4em;
  }

  .technologies {
    padding: 6px 50px;
    text-align: center;
  }

  .what-we-do {
    margin: 0;
  }

  .services {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 0 4rem;
    flex-wrap: wrap;
  }

  .service-card {
    background: #fff;
    max-width: 440px;
    text-align: left;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
  }

  .footer-container {
    flex-wrap: wrap;
    text-align: center;
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (min-width: 1440px) {
  hr {
    margin: 20px 350px;
  }

  .service-card {
    background: #fff;
    padding: 20px;
    max-width: 600px;
    text-align: left;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
  }
}

@media (max-width: 820px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
  }

  .logo object {
    max-width: 150px;
    position: relative;
    left: -18px;
  }

  .breadcrumb {
    display: none;
    position: absolute;
    top: 100%;
    right: 10px;
    background: white;
    flex-direction: column;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    width: auto;
    z-index: 1000;
    text-align: left;
  }

  .breadcrumb.open {
    display: flex;
  }

  .breadcrumb ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }

  .breadcrumb-toggle {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 10px;
    z-index: 1100;
  }

  .contact-btn {
    display: none;
  }

  .hero {
    text-align: center;
    padding: 2em;
  }

  .content-container {
    padding: 2em;
  }

  .cards-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    text-align: left;
  }

  .card {
    background: #fff;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: 308px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .card {
    margin-top: 0 !important;
  }

  .about {
    text-align: center;
    padding: 6rem 2em;
  }
}

@media (max-width: 480px) {
  header>.contact-btn {
    display: none;
  }

  header {
    position: fixed;
    z-index: 1;
  }

  .breadcrumb-toggle {
    margin-right: 80px;
  }

  .breadcrumb {
    margin-right: 76px;
  }

  .hero {
    text-align: center;
    display: flex;
    justify-content: center;
    background-color: rgb(243, 239, 239);
    padding: 100px 0 60px;
  }

  .hero #text-content {
    width: 100%;
    margin: 0 auto;
  }

  .hero #illustration {
    display: none;
  }

  .hero h1 {
    font-size: var(--h2-size);
    font-weight: 600;
  }

  .hero p {
    font-size: var(--p-size);
    font-weight: 400;
    margin-top: 5px;
  }

  .hero .contact-btn {
    margin-top: 20px;
  }

  .cards-section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    position: relative;
    text-align: left;
  }

  .card {
    background: #fff;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: 308px;
    width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .grid-background {
    display: none;
  }

  .text-section {
    width: 100%;
    margin-bottom: 1.2rem;
  }

  .features {
    margin: 0;
  }

  .about,
  .technologies {
    margin: 0;
  }

  .what-we-do {
    padding: 3rem 24px 1rem;
  }

  .cta {
    background: #fff3e0;
    padding: 40px 20px 50px;
    text-align: center;
  }

  .cta h2 {
    font-size: var(--h3-size);
    font-weight: 600;
    margin-bottom: 20px;
  }

  .contact-btn {
    display: flex;
    margin: 0 auto;
  }

  .footer-left {
    text-align: left;
  }

  .footer-middle {
    margin-top: 1rem;
  }

  .footer-middle ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .footer-middle ul li {
    width: 50%;
    box-sizing: border-box;
  }

  .footer-middle ul li a {
    display: block;
    padding: 5px 0;
  }
}