/* 4D Blocks Theme
   Optimised mobile-first stylesheet built around the client brand kit. */

:root {
  /* Brand colours */
  --color-primary: #031665;
  --color-accent: #F13ECE;
  --color-accent2: #882C94;
  --color-background: #FBFBFB;
  --color-surface: #FFFFFF;
  --color-border: #E5E5E5;
  --color-surface-alt: #E5E6EB;
  --color-surface-alt2: #CACCD6;
  --color-text: #1D1D1B;
  --color-text-muted: rgba(29, 29, 27, 0.72);
  --color-text-subtle: rgba(29, 29, 27, 0.56);
  --gradient-primary: linear-gradient(90deg, var(--color-primary), var(--color-accent));

  /* Typography (Poppins) */
  --font-family-base: 'Poppins', Arial, Helvetica, sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Font sizes derived from brand kit */
  /* TODO: convert to rem */
  --fs-title: 30px;          /* Mobile titles */
  --fs-subtitle: 20px;       /* Mobile subtitles */
  --fs-running: 15px;        /* Mobile body text */
  --fs-small: 12px;          /* Mobile small text */
  --fs-button: 15px;         /* Mobile button text */
  --fs-button-sm: 8px;       /* Mobile micro buttons */
  --fs-number: 50px;         /* Mobile metrics */

  /* Spacing scale */
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 3.5rem;
  --space-2xl: 4.625rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Radii & shadows */
  --radius-sm: 0.625rem;
  --radius-md: 1.25rem;
  --radius-lg: 2.25rem;
  --radius-pill: 999px;
  --shadow: 0.75px 0.75px 2.26px rgba(0, 0, 0, 0.5);
  --shadow-active-card: 1px 1px 3px rgba(0, 0, 0, 0.5);
  --container-max: 72rem;

  /* cards  */
  --card-width-mobile: 14rem; 
  --card-width-tablet: 10rem; 
  --card-width-desktop: 10rem;
  --active-card-width-mobile: 16rem;
  --active-card-width-tablet: 15rem;
  --active-card-width-desktop: 20rem;
  /* --card-width-mobile: 7.313rem;  
  --card-width-desktop: 14rem;
  --active-card-width-mobile: 9.313rem;
  --active-card-width-desktop: 18rem; */

}

/* Base reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-family-base);
  color: var(--color-text);
  background: var(--color-surface);
  line-height: 1.1;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

button {
  font: inherit;
  color: inherit;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
  padding-bottom: 1rem;
}

li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--fs-running);
  color: var(--color-text-muted);
  /* list-style-image: url("../img/bullet.svg"); */
}

li::before {
  content: '';
  display: inline-block;
  width: 1rem; /* Desired width */
  height: 1rem; /* Desired height */
  background-image: url('../img/bullet.svg');
  background-size: contain; /* Or 'cover', '20px 20px', etc. */
  background-repeat: no-repeat;
  margin-right: 5px; /* Adjust spacing */
  vertical-align: middle; /* Align with text */
}

p {
  font-size: var(--fs-running);
  font-weight: var(--fw-light);
  color: var(--color-text-muted);
  padding-bottom: var(--space-md);
}

::placeholder {
  color: var(--color-primary);
  font-family: var(--font-family-base);
  text-align: left;
}

h1,
h2,
h3,
h4 {
  font-weight: var(--fw-bold);
  /* line-height: 1.2; */
  color: var(--color-text);
}

h1 {
  font-size: var(--fs-title);
      letter-spacing: normal;
}

h2 {
  font-size: var(--fs-subtitle);
}

h3 {
  font-size: var(--fs-running);
}

small {
  font-size: var(--fs-small);
  color: var(--color-text-subtle);
}

.wrapper {
  width: min(100%, var(--container-max));
  margin: 0 auto;
  padding-inline: var(--space-md);
}

section {
  padding: var(--space-xl) var(--space-md);
}

.top-btn {
  display: block;
  position: fixed;
  background: var(--color-surface);
  border-radius: 50%;
  /* width: 99%; */
  right: var(--space-sm);
  bottom: var(--space-sm);
  z-index: 9999;
}

.top-btn i {
   font-size: 3rem;
}

/* Utilities */
.gradient-text {
  background: var(--gradient-primary)  !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

.gradient-text2 {
  background: #031665;
background: linear-gradient(90deg,rgba(3, 22, 101, 1) 0%, rgba(123, 42, 154, 1) 22%, rgba(241, 62, 206, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.gradient-btn {
  color: var(--color-surface);
}

.gradient-btn:hover {
  color: var(--color-primary);
  background: var(--color-surface);  
}

.btn,
.gradient-btn,
.white-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-bold);
  font-size: var(--fs-button);
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.gradient-btn {
  background: var(--gradient-primary);
  color: var(--color-surface);
}

.gradient-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.white-btn {
  background: var(--color-surface);
  /* color: var(--color-primary); */
  border: 1px solid var(--color-border);
  box-shadow: none;
  font-size: var(--fs-small);
}

.white-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: var(--gradient-primary);
  color: var(--color-surface) !important;
}

.white-btn:hover .gradient-text {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: var(--color-surface) !important;
  background-clip: initial !important;
  color: var(--color-surface) !important;
}

.gradient-btn--sm {
  font-size: var(--fs-button-sm);
  padding: 0.5rem 1.25rem;
}

.section-heading {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--fs-title);
}

.section-heading::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 4rem;
  background: var(--color-border);
  box-shadow: var(--shadow);
}

/* Header & navigation */
header {
  background: var(--color-surface);
  box-shadow: 0 1px 0 var(--color-border);
}

.top-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  justify-content: space-between;
}



img.logo {
  height: 3rem;
}

.navbar {
  /* margin: 0 auto; */
  display: flex;
  align-items: center;
  position: relative;
  order: 3;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 2.125rem;
  height: 2.125rem;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle-label span {
  display: block;
  height: 0.1875rem;
  width: 100%;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links {
  position: absolute;
  top: calc(100% + var(--space-xs));
  right: 0;
  display: none;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  z-index: 999;
  list-style-type: none;
}

.nav-links li::before {
  display: none;
}

.nav-links li {
  padding: 0;
}

.nav-links li a {
  font-weight: var(--fw-medium);
  font-size: 1rem;
  color: var(--color-text);
}

.nav-links li a:hover {
  color: var(--color-accent);
}

.nav-toggle:checked ~ .nav-links {
  display: flex;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
  transform: translateY(0.5rem) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
  transform: translateY(-0.5rem) rotate(-45deg);
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: var(--space-sm);
  background: transparent;
  padding: 0;
  border-radius: 1.5625rem;
  font-weight: var(--fw-semibold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  height: 40px;
  width:165px;
}

.call-button:hover {
  transform: translateY(-2px);
}

.call-button span {
  display: none;
}

.call-button img {
  display: block;
  height: 2.75rem;
}

/* Hero */
.intro {
  position: relative;
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  color: var(--color-surface);
  background: url('../img/pictures/hero-img.jpg') center/cover no-repeat;
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.9;
}

.intro > * {
  position: relative;
  z-index: 1;
}

.intro h1 {
  font-size: var(--fs-title);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  color: var(--color-surface);
}

.intro h2 {
  font-size: var(--fs-subtitle);
  font-weight: var(--fw-light);
  margin-bottom: var(--space-lg);
  color: var(--color-surface);
  /* line-height: 1.4; */
}

.intro a {
  display: inline-block;
  background: var(--color-surface);
  color: var(--color-surface);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.75rem;
}

.intro a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
}



.intro a span, .book-call a span {
  font-weight: var(--fw-bold);
  margin: 0;
  color: var(--color-surface);
  font-size: var(--fs-button);
}
/* Services carousel */

.services-carousel .viewport {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  overflow-x: clip;      /* keeps horizontal scroll hidden */
  overflow-y: visible;   /* allows the active card’s shadow to show */
}

.services-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-xl) 0;
  padding-bottom: var(--space-2xl);
  width: 100%;
  overflow: visible;
  margin-top: -6rem;
  z-index: 999;
  position: relative;
}

.services-carousel .prev-btn, .services-carousel .next-btn {
    display: none;
  }

.services-carousel .services.track .card {
  display: grid;
  grid-template-areas: 
      "img"
      "title";
  text-align: center;
  align-items: center;
  justify-items: center;
}

.services-carousel .services.track .card.active {
   grid-template-areas: 
      "img title"
      "desc desc"
      "btn btn";
    grid-template-columns: 3rem 1fr;
    gap: var(--space-2xs);
}

.services-carousel .services.track .card.active img {
  grid-area: img;
  height: 3rem;
  margin-bottom: var(--space-xs);

}

.services-carousel .services.track .card img {
  grid-area: img;
  height: 4rem;
  margin-bottom: var(--space-xs);
}

.services-carousel .services.track .card h2 {
  grid-area: title;
  margin-bottom: var(--space-xs);
  color: black;
  font-size: var(--fs-running);
  font-weight: var(--fw-medium);
}

.services-carousel .services.track .card.active h2 {
  text-align: left;
  color: var(--color-accent2);

}

.services-carousel .services.track .card p {
  grid-area: desc;
  text-align: center;
  font-size: var(--fs-small);
  padding-bottom: 0;
}

.services-carousel .services.track .card a {
  grid-area: btn;
  font-size: var(--fs-small);
  justify-self: right;
  /* margin-top: var(--space-sm); */
}

.prev-btn,
.next-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

/* .services-carousel .prev-btn, .services-carousel .next-btn {
    width: 2.75rem;
    height: 2.75rem;
} */

.prev-btn:hover,
.next-btn:hover {
  transform: translateY(-2px);
  /* background: var(--color-accent); */
}

.track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding-inline: calc(50% - (var(--card-width) / 2));
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  list-style: none;
  margin: 0;
  scrollbar-width: none;
}

.track::-webkit-scrollbar {
  display: none;
}

.track .card {
  flex: 0 0 var(--card-width-mobile);
  width: var(--card-width-mobile);
  height: var(--card-width-mobile);
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-active-card);
  scroll-snap-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  text-align: left;
  background: var(--color-surface);
  cursor: pointer;
}

.track .card img {
  width: auto;
}

.track .card p {
  /* font-size: clamp(0.95rem, 2vw, 1.125rem); */
  color: var(--color-text-muted);
}

.track .card.active {
  box-shadow: var(--shadow);
  color: var(--color-surface);
  background: var(--color-border);
  width: var(--active-card-width-mobile);
  height: auto;
  /* 18rem = 288px */
}



.services.track {
  /* Use the closed-card width for centering at load */
  --card-width: var(--card-width-mobile);
  --services-center-offset: 0px;
  --services-active-padding: 0px;
  height: auto;
  padding-inline: 0;
  padding-block: 1rem; /* preserve inline padding from .track for centering */
}

.services.track.is-idle {
  padding-inline: var(--services-center-offset, 0px);
}

/* Why choose us */
.why-choose {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
}

.why-choose h2 {
  align-self: flex-start;
}

.why-choose ul {
  display: grid;
  gap: var(--space-xs);
  margin-top: -7rem;
  padding-left: 0;
}

.why-choose .image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  position: relative;
  top: -9.5rem;
  left: 0;
  z-index: 999;
  width: 100%;
}

.why-choose .image::before {
    content: '';
    width: 8.438rem;
    height: 9.875rem;
    display: block;
    background: var(--color-border);
    border-radius: var(--radius-md);
    position: relative;
    top: -1rem;
    left: -1rem;
}

.why-choose .gradient-btn {
  margin-inline: auto;
}

/* Trusted by */
.trusted-by {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-border);
  color: var(--color-text);
}

.trusted-by h2 {
  margin-bottom: var(--space-sm);
}

/* Industries carousel */
.industries {
  position: relative;
  /* padding: var(--space-xl) 0; */
  background: var(--color-surface);
  background-image: url('../img/industry-bg.svg');
  background-repeat: no-repeat;
  background-size: 20%;
  background-position: top right;
  box-shadow: var(--shadow-sm);
}

.industries .section-heading {
  padding-left: var(--space-md);

}

.industries h3 {
  font-size: 18px;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-sm);
  color: var(--color-surface);
}


.industries a {
  margin: 0 3rem;
  display: block;
  text-align: center;
  width: 12.5rem;
  padding: 0.75rem 0.75rem;
}

.industries a span {
  font-weight: var(--fw-bold);
  color: var(--color-surface);
  text-align: center;
  font-size: var(--fs-running);
  margin: 0 auto;
}

.industries-carousel {
  position: relative;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.industries-carousel .ctrl-btns {
  display: none;
  flex-direction: row;
  gap: var(--space-md);
  justify-content: center;
  padding-top: var(--space-md);
}

.industries .track {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: var(--space-md);
  padding-bottom: var(--space-2xs);
  padding-inline: var(--space-md);
}

.industries .track .card h3 {
  color: var(--color-text)
}


.industries .track .card {
  height: 17.188rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  flex-basis: var(--card-width-mobile);
}

.industries .track .card:hover {
  background: var(--gradient-primary);
  /* color: var(--color-surface); */
  color: #FFFFFF;
}

.industries .track .card:hover h3 {
  color: var(--color-surface);
}

.industries .track .card.active {
  box-shadow: var(--shadow);
  background: var(--gradient-primary);
  color: var(--color-surface);
}

.industries .track .card.active h3 {
  color: var(--color-surface);
}

.industries .track .card img {
  width: 7rem;
  padding-bottom: var(--space-xs);
}

.industries .prev-btn, .industries .next-btn {
  display: none;
}

/* How we work */
.how-we-work {
  width: 100%;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  padding-bottom: var(--space-xl);
  background: url(../img/how-we-work-bg.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--color-surface);
}

.how-we-work__steps {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  /* gap: var(--space-sm); */
  padding: 0;
}

.work-step {
  /* display: flex; */
  flex-direction: row;
  align-items: center;
  gap: var(--space-xs);
  position: relative;
}

.work-step:not(:first-child) {
  margin-top: -3rem;
}

.work-step--right {
  flex-direction: row-reverse;
  text-align: right;
}

.work-step__badge {
  /* width: 5rem; */
  left:10%;
  height: 6rem;
  /* flex-shrink: 0; */
}

.work-step__card {
  /* flex: 1; */
  background: url(../img/step-left-02.svg) right / contain no-repeat;
  color: var(--color-text);
  padding: 0 var(--space-sm);
  padding-left: 4rem;
  padding-top: var(--space-md);
  padding-bottom: var(--space-sm);
  min-height: 5rem;
  position: relative;
  top: -3rem;
}

.work-step--right .work-step__card {
  background: url('../img/step-right-02.svg') left / contain no-repeat;
  text-align: left;
}

.work-step--right .work-step__badge {
  display: inline-block;
  right: 10%;
  position: relative;
}

.work-step__card h3 {
  font-size: var(--fs-running);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin-bottom: 0;
}

.work-step__card p {
  font-size: var(--fs-running);
  color: var(--color-text-muted);
  margin-bottom: 0;
  padding-bottom: 0;
}

.blob {
  max-height: 13.5rem;
  margin-top: -22%;
}

/* Blog */
.blog {
  margin-top: -20%;
}

.blog ul {
  padding: 0;
}

.blog ul li {
  padding-bottom: var(--space-xs);
}

.blog ul li:last-child {
  padding-bottom: 0;
}

.blog ul li a, .blog ul li a:hover {
  text-decoration: underline;
}

/* Numbers */
.numbers {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  overflow: hidden;
  color: var(--color-surface);
  background: url('../img/pictures/numbers.jpg') center / cover no-repeat;
  background-position-x: -28rem;
  overflow: hidden;
  border-top: 2.5rem solid var(--color-surface-alt);
  border-bottom: 2.5rem solid var(--color-surface-alt);
}

.numbers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.85;
}

.numbers__content {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  justify-items: center;
  margin: 0 auto;
}

.numbers h2 {
  text-align: center;
  color: var(--color-surface);
  font-weight: var(--fw-semibold);
}

.numbers__grid {
  width: 100%;
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.numbers__item {
  display: grid;
  gap: var(--space-xs);
  text-align: center;
}

.numbers__value {
  font-size: var(--fs-number);
  font-weight: var(--fw-semibold);
  line-height: 1;
}

.numbers__label {
  font-size: var(--fs-subtitle);
  /* letter-spacing: 0.08em; */
  /* text-transform: uppercase; */
  font-weight: var(--fw-light);
  line-height: 1;
}

/* Client feedback */
.client-fdbk {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  width: min(100%, 48rem);
  margin: 0 auto;
  display: flex;
  gap: var(--space-lg);
  flex-direction: column;
}

.client-fdbk__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
}

.client-fdbk p {
  margin: 0; 
  padding: 0;
  font-size: var(--fs-subtitle);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
}

.client-fdbk .quote {
  font-weight: var(--fw-light);
}

.client-fdbk__cta {
  margin-top: var(--space-sm);
  max-width: 11rem;
}

.client-fdbk__carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-sm);
}

.client-fdbk__carousel .prev-btn, .client-fdbk__carousel .next-btn {
  display: none;
}

.client-fdbk .prev-btn,
.client-fdbk .next-btn {
  flex-shrink: 0;
}

.client-fdbk .track {
  --card-width: var(--card-width-mobile);
  gap: var(--space-lg);
  padding-inline: calc(50% - (var(--card-width) / 2));
  scroll-padding-inline: var(--space-sm);
}

.client-fdbk .testimonial.card {
  flex: 0 0 var(--card-width-mobile);
  scroll-snap-align: center;
  margin-top: 0;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-surface-alt);
  box-shadow: var(--shadow);
  display: grid;
  gap: var(--space-md);
}

.testimonial.card p {
  margin-bottom: 0;
  padding-bottom: 0;
}

.testimonial .stars {
  display: inline-flex;
  gap: var(--space-xs);
  margin-bottom: 1rem;
}

.testimonial .stars span {
  width: 1.6rem;
  height: 1.6rem;
  background: url('../img/star.svg') center/contain no-repeat;
}

.testimonial .stars .outline {
  background: url('../img/star-white.svg') center/cover no-repeat;
}

.testimonial .quote {
  font-size: var(--fs-running);
  color: var(--color-text);
  /* max-width: 4rem; */
}

.testimonial .info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial.card .avatar {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transform: rotate(-45deg)
}

.testimonial .info h3 {
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  font-weight: var(--fw-semibold);
  margin: 0;
}

.testimonial .info p {
  margin: 0.2rem 0 0;
  font-size: var(--fs-running);
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

/* Case study */
.case-study {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  width: min(100%, 36rem);
  margin: 0 auto;
}

.case-study .subtitle {
  margin: 0 0 1rem 0;
  padding: 0;
  font-size: var(--fs-subtitle);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
}

.case-study__cta {
  margin-top: var(--space-sm);
  max-width: 11rem;
}

.case-card {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-surface-alt);
  box-shadow: var(--shadow);
  display: grid;
  gap: var(--space-sm);
  color: var(--color-text);
}

.case-card h3 {
  font-size: var(--fs-subtitle);
  font-weight: var(--fw-semibold);
}

.case-card > p:not(.case-card__label) {
  /* font-size: clamp(1rem, 2.4vw, 1.125rem); */
  color: var(--color-text-muted);
  padding: 0;
}

.case-card__label {
  font-weight: var(--fw-light);
  font-size: var(--fs-subtitle);
}

.case-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  text-align: center;
}

.case-card__metrics div {
  display: grid;
  gap: var(--space-2xs);
}

.case-card__metrics span {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}

.case-card__metrics p {
  font-size: var(--fs-running);
  color: var(--color-text-subtle);
}

.tabs {
  display: none;
}

/* Numbers call-to-action */
.book-call {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--gradient-primary);
  color: var(--color-surface);
}

.book-call h2 {
  color: inherit;
  font-size: var(--fs-title);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.book-call h3 {
  font-size: var(--fs-subtitle);
  font-weight: var(--fw-light);
  margin-bottom: var(--space-xl);
  color: inherit;
}

.book-call a {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  font-weight: var(--fw-bold);
  box-shadow: var(--shadow-sm);
}

/* .book-call a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: #ffffff;
} */

footer {
  padding: var(--space-2xl);
  font-size: var(--fs-small);
  background: var(--color-surface-alt2);
}

footer .brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

footer .logo {
  height: 7.188rem;
  width: auto;
  margin-bottom: var(--space-md);
}

footer .motto {
  text-align: center;
  margin: 0;
  padding: 0;
}

footer .newsletter, footer .info {
  padding: var(--space-sm) var(--space-md);
  margin-top: var(--space-sm);
}


footer .gradient-btn {
  margin: 1rem 0 0 0;
}

footer h2 {
  margin-bottom: var(--space-sm);
}

footer input {
  border: none;
  padding: var(--space-sm) var(--space-md);
  margin-right: var(--space-sm);
  font-family: var(--font-family-base);
  color: var(--color-accent2);
  outline: 5px solid var(--color-accent2);
  border-radius: 40px 40px 40px 40px;
}

footer input::placeholder {
  color: var(--color-accent2);
}

footer .info ul {
  padding-left: 0;
}

footer .info ul img {
  display: inline-block;
  height: 1.563rem;
  margin-right: var(--space-xs);
}

footer .info ul li {
  padding-left: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

footer .info ul li::before {
  display: none;
}

/* Responsive enhancements */

@media (min-width: 425px) {
  .how-we-work {
  width: min(100%, 46rem);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
  padding-bottom: 0;
  background: url(../img/how-we-work-bg.svg);
  background-position-x: 2rem;
  background-repeat: no-repeat;
  background-size: 100%;
  background-color: var(--color-surface);
  }

  .industries {
    background-size: 38%;
  }

  .industries a {
    width: 15rem;
  }

  .how-we-work__steps {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 var(--space-md);
  }


  .work-step {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    align-items: flex-start;
  }

  .work-step--right {
    align-items: flex-end;
  }

  .work-step__badge {
    width: 6rem;
    height: 6rem;
  }

  .work-step__card {
    max-width: 100%;
    background: url(../img/step-left-02.svg) right / contain no-repeat;
    color: var(--color-text);
    position: relative;
    top: -3.5rem;
    z-index: 99;
    padding-right: 1.5rem;
  }


  .work-step--right .work-step__card {
    background: url('../img/step-right-02.svg') left/contain no-repeat;
    text-align: left;
  }

  .work-step__card h3 {
    letter-spacing: 0.04em;
    margin-bottom: var(--space-xs);
    font-weight: var(--fw-medium);
  }

  .work-step__card p {
    font-size: clamp(0.95rem, 2.4vw, 1.125rem);
    color: var(--color-text-muted);
  }

  .client-fdbk .testimonial.card {
    flex: 0 0 17.3rem;
    scroll-snap-align: center;
    margin-top: 0;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xs);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--color-surface-alt);
    box-shadow: var(--shadow);
    display: grid;
    gap: var(--space-md);
  }
}

/* 48rem = 768px */
@media (min-width: 768px) {
  :root {
    --fs-title: 56px; /*u*/ 
    --fs-subtitle: 30px;
    --fs-running: 25px;
    --fs-small: 15px;
    --fs-button: 18px;
    --fs-button-sm: 12px;
    --fs-number: 85px;
  }
  
  .top-bar {
    padding-inline: var(--space-xl);
  }

  .nav-toggle-label {
    display: none;
  }

  .navbar {
    order: 0;
  }

  .nav-links {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
    width: auto;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .nav-links li a {
    font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  }

  .call-button {
    background: linear-gradient(135deg, #5B2C91 0%, #D946A6 100%);
    color: #ffffff;
    padding: 0.75rem 2rem;
    font-size: var(--fs-button);
  }

  .call-button:hover {
    box-shadow: 0 4px 12px rgba(91, 44, 145, 0.3);
    color: #ffffff;
  }

  .call-button span {
    display: inline;
  }

  .call-button img {
    display: none;
  }

  section {
    padding: var(--space-xl) var(--space-2xl);
  }

  .section-heading {
    padding: 0;
  }

  .section-heading::before {
    height: 10rem;
  }

  a.logo {
    order:-1;
  }
  .services.track {
    --card-width: 19rem;
  }

  .services-carousel .services.track .card h2 {
    font-size: var(--fs);
  }

  .services-carousel .prev-btn, .services-carousel .next-btn {
    display: grid;
  }
  

  

  .how-we-work {
    width: 100%;
    padding-bottom: var(--space-3xl);
  }

  
  .industries a {
    width: 22rem;
  }

  .industries-carousel {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
  }

  .numbers__grid {
    padding: 0;
  }

  .client-fdbk {
    width: min(100%, 56rem);
  }

  .client-fdbk__header {
    flex-direction: column;
    /* align-items: center; */
    justify-content: space-between;
  }

  .client-fdbk__cta {
    margin-top: 0;
    align-self: s;
  }

  .client-fdbk .testimonial.card {
      flex: 0 0 34.3rem;
  }

  .industries {
    background-size: 32%;
  }

  .how-we-work__steps {
    gap: var(--space-xl);
  }

  .work-step {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .work-step--right {
    flex-direction: row-reverse;
  }

  .work-step__badge {
    width: 11.5rem;
    height: 12.5rem;
  }

  .work-step__card {
      max-width: 37rem;
      border-radius: var(--radius-lg);
      top: 0;
      padding: 1rem 2rem;
      /* background-position-x: 70px; */
  }

  .blog {
    margin-top: 0;
  }

  .blog ul {
    padding-left: var(--space-md);
  }

  .numbers {
    padding-inline: var(--space-4xl);
  }

  .industries .prev-btn, .industries .next-btn {
    display: grid;
  }

  .client-fdbk,
  .case-study {
    padding-inline: var(--space-lg);
  }

  .client-fdbk__carousel .prev-btn, .client-fdbk__carousel .next-btn {
    display: grid;
  } 

  .testimonial.card,
  .case-card {
    padding: var(--space-lg) var(--space-2xl);
    background: var(--color-surface-alt);
    border: none;
    box-shadow: var(--shadow);
  }

 ::placeholder {
    text-align: center;
  }

  footer {
    font-size: var(--fs-button);
  }

  footer p {
    font-size: inherit;
  }

}


/* 64rem = 1024px */
@media (min-width: 1024px) {

  .services-carousel {
    top: -2rem;
  }

  .track .card.active {
    min-width: var(--active-card-width-tablet);
  }
  .industries {
    background-size: 28%;
  }

  /* How we work - Desktop layout */
  .how-we-work {
    /* max-width: 60rem; */
    padding: var(--space-2xl) var(--space-4xl);
    margin-left: 2rem;  
  }

  .how-we-work__steps {
    position: relative;
    margin-left: 8rem;
    --work-step-badge-size: 15rem;
    --work-step-badge-left-from-right: 61rem;
    --work-step-badge-right-offset: 4rem;
    --work-step-badge-left-nudge: 0rem;
    --work-step-badge-right-nudge: -2.75rem;
  }

  .work-step {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
    position: relative;
  }

  .work-step:not(:first-child) {
    margin-top: -4rem;
  }

  .work-step__badge {
    position: absolute;
    top: 50%;
    left: auto;
    right: var(--work-step-badge-left-from-right);
    width: var(--work-step-badge-size);
    height: var(--work-step-badge-size);
    transform: translate(var(--work-step-badge-left-nudge), -50%);
  }

  .work-step--right .work-step__badge {
    left: auto;
    right: var(--work-step-badge-right-offset);
    transform: translate(var(--work-step-badge-right-nudge), -50%);
  }

  .work-step__card {
    width: 100%;
    max-width: 40rem;
    padding: var(--space-md) var(--space-xl);
    padding-left: 8rem;
    padding-right: 8rem;
    background-size: 100% 100%;
  }

  .work-step--right .work-step__card {
    padding: 1rem 1rem 1rem 4rem;
    background-size: 125% 100%;
  }

  .work-step__card h3 {
    font-size: var(--fs-subtitle);
    font-weight: var(--fw-semibold);
  }

  .work-step__card p {
    font-size: var(--fs-running);
  }

  .numbers {
    background-position-x: 0;
  }

  .numbers__grid {
    gap: var(--space-lg);
    /* padding: 0 var(--space-2xl); */
  }

  .numbers {
    padding: 11rem 0;
  }

  .intro {
    padding: 11rem 9rem;
  }

  .why-choose {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 10rem 5rem 17rem 10rem 3rem;
    align-items: center;
    grid-template-areas: 
    "heading img"
    "subheading img"
    "ul img"
    "text img"
    "link img";
    gap: var(--space-sm);
    margin-left: 0.5rem;
  }

  .why-choose .section-heading {
    grid-area: heading;
    justify-self: start;
    margin: 0;
    padding: 0;
  }

  .why-choose .image {
    grid-area: img;
    align-self: start;
    padding-top: 1rem;
    padding-left: 1rem;
  }

  .why-choose .image img {
    width: 100%;
  }

  .why-choose .box {
    width: 17.5rem;
    height: 20.5rem;
  }

  .why-choose p:nth-of-type(1) {
    grid-area: subheading;
    padding: 0;
  }

  .why-choose ul {
    grid-area: ul;
    display: block;
    gap: 0;
    margin: 0;
    font-weight: var(--fw-light);
  }
  

  .why-choose p:nth-of-type(2) {
    grid-area: text;
  }

 .why-choose a {
  grid-area: link;
 }
  .why-choose .gradient-btn {
    margin: 0;
    justify-self: start;
  }

  .industries h3 {
    font-size: 22px;
  }

  .work-step {
    position: relative;
    left: -3rem;
    margin-left: -1rem;
  }

  .work-step--right {
    margin-left: 3rem;
  }

  .client-fdbk, .case-study {
    display: none;
  }

  .tabs {
    display: block;
    background: var(--color-background);
  }

  .tabs li::before {
    background: none;
    font-family: var(--font-family-base);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-subtitle);
  }

  .tabs .nav-link {
    font-size: var(--fs-subtitle);
    font-weight: var(--fw-semibold);
    position: relative;
    padding: 0px 15px 0px 20px;
    /* top: 17px; */
  }
  
  .tabs .nav-link.active {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  
  .tabs p.subtitle {
    font-weight: var(--fw-semibold);
    font-size: 37px;
    line-height: 1;
  }

  .tabs .tab-content {
    padding: var(--space-lg);
    /* border: 1px solid red; */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    background: var(--color-surface);
    position: relative;
    z-index: 99;
  }
  .tabs .nav-tabs {
    border-bottom: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
  }



  .tabs .tab-content>.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "subgrp card";
    gap: var(--space-md)
  }

  .tabs .subtitle-grp {
    grid-area: subgrp;
    align-content: center;
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
  }

  .tabs .testimonial-slider {
    grid-area: card;
  }

  .tabs .testimonial-stage {
    position: relative;
    min-height: 100%;
  }

  .tabs .testimonial-stage .prev-btn,
  .tabs .testimonial-stage .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .tabs .testimonial-stage .prev-btn {
    left: var(--space-md);
  }

  .tabs .testimonial-stage .next-btn {
    right: var(--space-md);
  }

  .tabs .testimonial-stage .testimonial-indicators {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
  }

  .tabs .testimonial-indicators .indicator {
    width: 1rem;
    height: 1rem;
    border: none;
    border-radius: 0.2rem;
    transform: rotate(45deg);
    background: var(--color-surface);
    /* opacity: 0.4; */
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  
  .tabs .testimonial-indicators .indicator.active {
    opacity: 1;
    background: var(--gradient-primary);
    transform: rotate(45deg) scale(1.1);
  }

  .tabs .testimonial.card {
    grid-area: card;
    border-radius: var(--radius-lg);
    display: none;
  }

  .tabs .testimonial.card.active {
    display: block;
  }

  .tabs .testimonial.card p {
    padding-bottom: var(--space-sm);
  }

  .tabs .case-card {
    margin: 0;
  }

  footer {
    display: grid;
    grid-template-areas:
    "brand  news info";
    grid-template-columns: 1fr 1fr 1fr;
    padding: var(--space-lg) var(--space-4xl);
    gap: var(--space-2xl);
  }
  
  footer p, footer h2, footer ul li {
    font-size: var(--fs-small);
  }

  footer .brand {
    grid-area: brand;
  }

  footer .newsletter h2, footer .newsletter p, footer .newsletter form{
    grid-area: news;
  }

  footer .info h2, footer .info ul {
    grid-area: info;  
  } 
}

/* 75rem = 1200px  */
@media (min-width: 1200px) {
  .industries .track .card {
    flex-basis: 14rem;
  }

  .industries .track .card.active {
    width: var(--active-card-width-desktop);
  }

  footer p, footer h2, footer ul li {
    font-size: var(--fs-button);
  }

  .work-step--right .work-step__card {
    padding: 1rem 1rem 1rem 8rem;
    background-position: -4rem;
  }

}

/* 1440px = 90rem */
@media(min-width: 1440px) {
  .why-choose {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 10rem 5rem 13rem 5rem 3rem;
  }
  .why-choose img {
    width: 93.55%;
    top: -18.5rem;
    left: 2rem;
  }

  .how-we-work {
    
  }
  
  .work-step--right .work-step__card {
    padding: 1rem 3rem 1rem 12rem;
    background-position: 1rem;
    background-size: cover;
    background-size: 100% 100%;
    height: 10rem;
  }

  .work-step--right .work-step__badge {
        right: var(--work-step-badge-right-offset);
        top: 7rem;
  }

  .how-we-work__steps {
    margin-left: 8rem;
  }

  .numbers__grid {
    padding: 0;
  }

  .blog {
    margin-top: var(--space-4xl);
  }

  
  /* .tabs {
    padding: var(--space-xl) 20rem;
  } */

}


/* Bootstrap Carousel  */
.carousel img {
  width: 70px;
  max-height: 70px;
  border-radius: 50%;
  margin-right: 1rem;
  overflow: hidden;
}
.carousel-inner {
  padding: 1em;
}

@media screen and (min-width: 576px) {
  .carousel-inner {
    display: flex;
    width: 90%;
    margin-inline: auto;
    padding: 1em 0;
    overflow: hidden;
  }
  .carousel-item {
    display: block;
    margin-right: 0;
    flex: 0 0 calc(100% / 2);
  }
}
@media screen and (min-width: 768px) {
  .carousel-item {
    display: block;
    margin-right: 0;
    flex: 0 0 calc(100% / 3);
  }
}
.carousel .card {
  margin: 0 0.5em;
  border: 0;
}

.carousel-control-prev,
.carousel-control-next {
  width: 3rem;
  height: 3rem;
  background-color: grey;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: #1a1a1a;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 7%;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    padding: 0px 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.rounded-box-header-left
{
  padding-top:5px;
  padding-left:10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    

}
 
.logo-icon {
    height: 60px;
    
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #5B2C91;
}

.nav-link-button {
    background: linear-gradient(135deg, #5B2C91 0%, #D946A6 100%);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 44, 145, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #001F5C 0%, #2D1B69 30%, #5B2C91 60%, #D946A6 100%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.mobile-menu-header .logo {
    color: #ffffff;
}

.mobile-menu-header .logo-text {
    color: #ffffff;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #ffffff;
    width: 40px;
    height: 40px;
}

.mobile-menu-close svg {
    width: 100%;
    height: 100%;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 0 40px;
}

.mobile-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 36px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.mobile-nav-link.active {
    font-weight: 700;
}

.mobile-nav-link:hover {
    opacity: 0.8;
}

/* Main Content */
.main {
    padding: 60px 0;
}

.contact-section {
    margin-bottom: 40px;
}

.contact-header {
    text-align: center;
    
}

.contact-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.contact-subtitle {
    font-size: 16px;
    color: #666;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 40px;
}

/* Contact Info Card */
.contact-info-card {
    background: linear-gradient(180deg, #2D1B69 0%, #5B2C91 40%, #D946A6 100%);
    border-radius: 12px;
    padding: 40px 30px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-info-content {
    position: relative;
    z-index: 2;
}

.contact-info-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.contact-info-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 80px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    flex-shrink: 0;
}

.contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
}

.contact-info-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="rgba(255,255,255,0.15)" stroke-width="30"/><circle cx="100" cy="100" r="50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="20"/></svg>');
    background-size: contain;
    opacity: 0.6;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.form-input,
.form-textarea {
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    font-size: 15px;
    color: #1a1a1a;
    background-color: transparent;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-bottom-color: #5B2C91;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    align-self: flex-end;
    background: linear-gradient(135deg, #D946A6 0%, #5B2C91 100%);
    color: #ffffff;
    padding: 14px 48px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 70, 166, 0.4);
}

/* Footer */
.footer {
    background-color: #c5c9d1;
    padding: 60px 0 40px;
    color: #1a1a1a;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    max-width: 320px;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #2D1B69;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 14px;
    background-color: #ffffff;
}

.newsletter-input::placeholder {
    color: #D946A6;
}

.newsletter-input:focus {
    outline: none;
    border-color: #5B2C91;
}

.footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
}

.footer-icon {
    width: 20px;
    height: 20px;
    color: #5B2C91;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-wrapper {
        padding: 0;
        box-shadow: none;
        background-color: transparent;
        gap: 20px;
    }

    .contact-info-card {
        padding: 30px 24px;
    }

    .contact-info-subtitle {
        margin-bottom: 40px;
    }

    .contact-form {
        background-color: #ffffff;
        padding: 30px 20px;
        border-radius: 12px;
    }

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

    .form-submit {
        width: 100%;
    }

    .footer {
        padding: 40px 0 30px;
    }

    .footer-content {
        gap: 30px;
    }

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

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

    .header {
        padding: 16px 0;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .main {
        padding: 40px 0;
    }

    .contact-header {
         margin-bottom: 30px;
    }

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

    .contact-subtitle {
        font-size: 14px;
    }

    .contact-info-title {
        font-size: 20px;
    }

    .contact-details {
        gap: 30px;
    }

    .contact-item {
        gap: 16px;
    }

    .contact-icon {
        width: 20px;
        height: 20px;
    }

    .contact-item > div {
        font-size: 14px;
    }
}
