:root {
  --bg-primary: hsl(0, 0%, 100%);
  --bg-secondary: hsl(210, 20%, 99%);
  --bg-accent: hsl(210, 20%, 98%);
  --bg-card: hsl(0, 0%, 100%);
  --text-primary: hsl(215, 25%, 20%);
  --text-secondary: hsl(215, 15%, 40%);
  --text-muted: hsl(215, 10%, 60%);
  --text-black: #3a3a3a;
  --accent-blue: hsl(210, 15%, 10%);
  --accent-blue-hover: hsl(210, 15%, 15%);
  --accent-blue-light: hsl(210, 20%, 95%);
  --accent-blue-lighter: hsl(210, 20%, 98%);
  --accent-blue-dark: hsl(210, 15%, 5%);
  --accent-sky: hsl(210, 20%, 60%);
  --accent-navy: hsl(210, 20%, 45%);
  --border-color: hsl(210, 30%, 85%);
  --shadow-sm: 0 1px 3px hsla(210, 20%, 40%, 0.08);
  --shadow-md: 0 4px 12px hsla(210, 20%, 40%, 0.1);
  --shadow-lg: 0 10px 30px hsla(210, 20%, 40%, 0.12);
  --rainbow: linear-gradient(
    95deg,
    hsl(220, 85%, 55%) 0%,
    hsl(150, 65%, 45%) 25%,
    hsl(45, 90%, 55%) 50%,
    hsl(0, 75%, 55%) 75%,
    hsl(270, 75%, 60%) 100%
  );
  --gradient-blue: linear-gradient(
    135deg,
    hsl(345, 30%, 45%),
    hsl(210, 20%, 40%)
  );
  /* --gradient-blue: linear-gradient(
    135deg,
    hsl(210, 10%, 15%),
    hsl(200, 10%, 8%)
  ); */
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  /* border-bottom: 1px solid var(--accent-blue); */
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: radial-gradient(
    ellipse at top,
    var(--accent-blue-lighter),
    var(--bg-primary)
  );
  padding: 3rem 8% 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-header {
  display: flex;
  justify-content: space-between;
  /* flex-direction: column; */
  position: fixed;
  /* right: 1rem;
  top: 50%;
  transform: translateY(-50%); */
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--accent-blue);
  padding: 0.2rem 8%;
  /* gap: 1.5rem; */
  z-index: 10000;
}

.opportunities {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.3rem;
  height: fit-content;
  padding: 0 0.4rem;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  color: var(--accent-blue);
  background-color: var(--accent-blue-light);
  font-size: 0.8rem;
  text-decoration: none;
}

.opportunities i {
  color: hsl(123, 98%, 50%);
  font-size: 0.4rem;
}

.floating-social-links {
  display: flex;
  gap: 1rem;
}

.floating-social-links a {
  color: var(--bg-primary);
  /* font-size: 1.8rem; */
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.floating-social-links a:hover {
  transform: scale(1.2);
  /* color: var(--accent-sky); */
}

header h1 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-black);
  text-transform: uppercase;
  display: inline-flex;
  flex-direction: column;
  align-items: start;
  background: var(--text-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* gap: 0.8rem; */
}

/* header i {
  font-size: 1.5rem;
  color: #3a3a3a;
} */

header h1 span {
  font-size: 0.7rem;

  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 0.3rem;
  list-style: none;
}

.nav-links a {
  color: var(--accent-blue);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  padding: 0.5rem;
  border-radius: 0.5rem 0.5rem 0 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  top: 2rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  background-color: hsl(210, 100%, 93%);
}

/* Mobile Menu */
.close-menu {
  display: none;
  transition: all 0.3s ease;
}

.close-menu.open {
  display: inline;
}

.open-menu {
  transition: all 0.3s ease;
}

.open-menu.close {
  display: none;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu-btn i {
  color: var(--accent-blue);
}
.mobile-menu-btn i:hover {
  color: var(--text-primary);
}

.mobile-menu {
  position: fixed;
  top: 5rem;
  left: 0;
  right: 0;
  height: auto;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  transform: translateY(-100%);
  padding: 3rem 0 2rem;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu li {
  list-style: none;
  width: 100%;
}

.mobile-menu li:hover {
  background-color: var(--bg-accent);
}

.mobile-menu li a {
  display: block;
  padding: 0.8rem 2rem;
  width: 100%;
  text-decoration: none;
  color: var(--text-primary);
}

.mobile-menu li:nth-child(1):hover a {
  color: hsl(220, 85%, 55%);
}
.mobile-menu li:nth-child(2):hover a {
  color: hsl(150, 65%, 45%);
}
.mobile-menu li:nth-child(3):hover a {
  color: hsl(45, 90%, 55%);
}
.mobile-menu li:nth-child(4):hover a {
  color: hsl(0, 75%, 55%);
}
.mobile-menu li:nth-child(5):hover a {
  color: hsl(270, 75%, 60%);
}

/* Hero Section */
.hero {
  padding: 8rem 5% 6rem;
  max-width: 90rem;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding: 0 10%; */
  gap: 1rem;
  /* background-color: aquamarine; */
}

.hero-image {
  aspect-ratio: 1/1;
  max-width: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--accent-blue);
  /* box-shadow: 0 0 24px hsla(270, 75%, 60%, 0.9); */
}

.hero-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  box-shadow: 0 0 12px var(--accent-blue);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  transform: scale(1.05);
}

.btn-secondary {
  background-color: #fff;
  color: var(--accent-blue-dark);
  border: 1px solid var(--accent-blue);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-card);
  transform: scale(1.05);
}

.hero h1 {
  font-size: 2.7rem;
  width: 50%;
  line-height: 1.1;
  font-weight: 500;
  color: var(--text-primary);
  padding-bottom: 0.5rem;
  text-transform: capitalize;
}

/* .hero h1 {
  font-size: 3rem;
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: 400;
  padding-bottom: 0.3rem;
} */

.hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  width: 45%;
  /* background-color: aquamarine; */
  padding-bottom: 2rem;
  justify-self: center;
}

.blue-text {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

.black-text {
  color: var(--text-black);
  font-weight: 500;
}

.hero-image,
.hero-text {
  flex: 1;
}

.main-content {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  /* font-family: Arial, sans-serif; */
  line-height: 1.6;
  /* padding: 0 10%; */
}

.section-title,
.main-title {
  font-size: 3rem;
  font-weight: 500;
  color: var(--text-black);
  text-align: center;
  margin-bottom: 0;
}

.overline {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--accent-blue);
  font-weight: 600;
  letter-spacing: 0.1rem;
  text-align: center;
}
.subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 4rem;
  width: 50%;
  justify-self: center;
}

/* 1. Case Studies Section */
.case-studies-section {
  background-color: var(--bg-accent);
  padding: 7rem 8%;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.case-study-layout {
  display: flex;
  align-items: start;
  gap: 2rem;
}

/* Sidebar */
.case-study-sidebar {
  flex: 0 0 15rem; /* Fixed width */
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.case-study-nav {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0 1.5rem;
  height: 10rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0.5rem;
  align-items: start;
  row-gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-item:hover {
  background-color: var(--accent-blue-lighter);
  border: 1px solid var(--accent-blue);
  transform: scale(1.03);
}

.nav-item.active {
  background-color: var(--accent-blue-lighter);
  color: var(--accent-blue-dark);
  /* font-weight: 700; */
  border: 1px solid var(--accent-blue-dark);
  box-shadow: 0 0 8px var(--accent-blue-dark);
}

.nav-item.active span:last-child {
  font-size: 0.7rem;
  color: var(--accent-blue-dark);
  border: 1px solid var(--accent-blue);
  border-radius: 0.5rem;
  padding: 0.1rem 0.5rem;
  margin-top: 0.5rem;
}

.nav-item.active:hover {
  transform: scale(1);
}

.nav-item span:nth-child(2) {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-item span:last-child {
  font-size: 0.7rem;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.1rem 0.5rem;
  margin-top: 0.5rem;
}

/* Featured Card */
.case-study-card {
  flex: 1;
  background-color: var(--bg-card);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  width: 100%;
}

.case-study-card.hidden {
  display: none;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.case-study-card-texts {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-black);
  margin-bottom: 1rem;
}

.card-title-button {
  display: flex;
  gap: 1rem;
}

.card-title-button span {
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  background-color: var(--accent-blue-light);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.card-title-button span:first-child {
  background-color: hsl(220, 85%, 98%);
}
.card-title-button span:nth-child(2) {
  background-color: hsl(150, 65%, 98%);
}
.card-title-button span:nth-child(3) {
  background-color: hsl(0, 75%, 98%);
}

.card-title-button span i {
  color: var(--accent-blue-dark);
}

.case-study-image {
  background-color: #000;
  background-image: url(../images/ordersounds\ case\ study.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 480px;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 2rem 0.7rem;
}

.product-details {
  width: 100%;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  overflow: hidden;
}

.product-details p {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 300;
}

.case-study-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.challenge-solution {
  display: flex;
  gap: 2rem;
}

.challenge-solution-card {
  flex: 1;
  background-color: var(--accent-blue-lighter);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.cs-title {
  margin-bottom: 0.7rem;
  color: hsl(0, 75%, 55%);
  font-size: 1.3rem;
}

.cs-details {
  color: var(--text-primary);
}

.challenge-solution .challenge-solution-card:last-child .cs-title {
  color: hsl(150, 65%, 45%);
}

.results-summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-title {
  font-size: 1.3rem;
  text-align: center;
  font-weight: 500;
  color: var(--accent-blue);
}

.result-boxes {
  display: flex;
  align-items: stretch;
  gap: 1.2rem;
}

.result-box {
  flex: 0 1 12rem;
  min-height: 13rem;
  align-items: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
}
.result-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(220, 85%, 55%);
  line-height: 1;
  margin-bottom: 1rem;
}
.result-text {
  font-size: 0.75rem;
  color: var(--text-black);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.results-summary p:last-child {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.strategies-tools {
  display: flex;
  justify-content: space-between;
}

.strategies,
.tools {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sub-sub-title {
  color: var(--accent-blue);
  font-size: 1.3rem;
  font-weight: 500;
}

.strategies-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.strategies-details span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.strategies-details span i {
  font-size: 1.2rem;
  color: hsl(45, 90%, 55%);
}

.tools {
  width: 45%;
}

.tools-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.tools-details span {
  background-color: hsl(270, 75%, 95%);
  padding: 0 0.4rem;
  border-radius: 0.5rem;
}

.case-studies-section button {
  width: fit-content;
  padding: 1rem;
  border-radius: 2rem;
  align-self: center;
  outline: none;
  border: none;
  background-color: var(--accent-blue-dark);
  color: var(--bg-primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.case-studies-section button:hover {
  transform: scale(1.05);
}

/* 2. Expertise Section */
.expertise-section {
  padding: 6rem 10%;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
/* .expertise-title {
  text-transform: uppercase;
} */

.expertise-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.expertise-item {
  background-color: var(--bg-secondary);
  border: 0.1rem solid var(--border-color);
  padding: 1.5rem;
  flex: 1;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.expertise-volume {
  margin-bottom: 0.5rem;
}

.item-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  margin-top: 0;
  /* margin-bottom: 0.5rem; */
  font-weight: 600;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-blue);
  border-radius: 0.4rem;
}

.expertise-column .expertise-item:first-child .item-title i {
  color: hsl(220, 85%, 55%);
}
.expertise-column
  .expertise-item:first-child
  .expertise-volume
  .progress-bar-container
  .progress-bar {
  background: hsl(220, 85%, 55%);
}
.expertise-column .expertise-item:nth-child(2) .item-title i {
  color: hsl(150, 65%, 45%);
}
.expertise-column
  .expertise-item:nth-child(2)
  .expertise-volume
  .progress-bar-container
  .progress-bar {
  background: hsl(150, 65%, 45%);
}
.expertise-column .expertise-item:nth-child(3) .item-title i {
  color: hsl(0, 75%, 55%);
}
.expertise-column
  .expertise-item:nth-child(3)
  .expertise-volume
  .progress-bar-container
  .progress-bar {
  background: hsl(0, 75%, 55%);
}

.progress-bar-container {
  background-color: var(--accent-blue-light);
  gap: 1rem;
  height: 0.7rem;
  border-radius: 0.4rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.tools-platforms {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.left-tools {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  /* margin-right: 1rem; */
}

.tools-platform-title {
  position: absolute;
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--accent-blue);
  font-size: 1.3rem;
  font-weight: 500;
}

.tool-platform {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.platform-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-content i {
  font-size: 0.5rem;
}

.apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.blue {
  color: blue;
}
.green {
  color: green;
}
.yellow {
  color: yellow;
}
.pink {
  color: palevioletred;
}
.red {
  color: red;
}
.purple {
  color: purple;
}
.orange {
  color: orange;
}

.apps span {
  text-align: center;
  font-size: 0.8rem;
  background-color: var(--accent-blue-light);
  border: 1px solid var(--border-color);
  padding: 0.3rem 1rem;
  border-radius: 0.5rem;
}

.certifications {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cert-title {
  text-align: center;
}

.cert-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cert-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 8px hsla(210, 20%, 50%, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px hsla(210, 20%, 45%, 0.9);
}

.top-cert-card {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.top-cert-card i {
  padding: 0.5rem;
  font-size: 2rem;
  border-radius: 50%;
  background-color: var(--accent-blue-light);
  color: var(--accent-blue-dark);
}

.cert-date {
  font-size: 0.8rem;
  background-color: transparent;
  color: var(--text-primary);
}

.cert-date i {
  font-size: 0.85rem;
  background-color: transparent;
  color: var(--text-secondary);
}

.bottom-cert-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.cert-card-title {
  color: var(--text-black);
  font-size: 1.1rem;
}
.cert-company {
  color: var(--accent-blue);
  font-size: 0.9rem;
}
.cert-details {
  color: var(--text-black);
  font-size: 0.8rem;
}

/* 3. Testimonials Section */
.testimonial-section {
  padding: 6rem 10%;
  background-color: var(--bg-accent);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.project-title .subtitle {
  margin-bottom: 0;
}

.project-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.designs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  padding: 1rem 2rem;
  background-color: var(--bg-primary);
  border-radius: 1rem;
}

.designs .sub-sub-title i {
  color: var(--accent-blue-dark);
  font-size: 2rem;
}
.designs .sub-sub-title {
  font-size: 1.5rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.designs .sub-sub-title span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
}

.designs .sub-sub-title span span {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.design {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - (2rem / 3));
  gap: 1rem;
  width: 100%;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

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

.design-card {
  overflow: hidden;
  border-radius: 1rem;
  scroll-snap-align: start;
}

.design-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  padding: 0.5rem;
  background-color: var(--accent-blue);
  color: var(--bg-primary);
  outline: none;
  border: none;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.left-arrow {
  left: 0;
}
.right-arrow {
  right: 0;
}

.design.carousel {
  grid-auto-columns: 100%;
}

.testimonial-content {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}
.testimonial-item {
  flex: 1;
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  border-top: 0.5rem solid var(--accent-blue);
}
.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-author {
  font-size: 0.9rem;
  color: var(--text-black);
  font-weight: 500;
}

/* 4. CTA Section */
.cta-section {
  padding: 6rem 5% 7rem;
  background: var(--bg-primary);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.cta-container {
  max-width: 80rem;
}
.cta-container .subtitle {
  margin-bottom: 2rem;
}
.cta-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 0.1rem solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.why-choose-me {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--accent-blue);
  gap: 2.5rem;
  padding: 2rem;
  border-radius: 1rem;
}

.why-choose-content {
  display: flex;
  gap: 2rem;
}

.why-choose-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  flex: 1;
}

.why-choose-card i {
  background-color: hsl(210, 100%, 80%);
  padding: 0.5rem;
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--accent-blue-dark);
}

.why-choose-card span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-blue-dark);
}

.why-choose-card p {
  font-size: 0.9rem;
  color: var(--text-primary);
}

footer {
  padding: 4rem 5% 2rem;
  background-color: var(--accent-blue);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  row-gap: 2rem;
  padding-bottom: 2rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-about h3 {
  font-size: 1.1rem;
  transition: all 0.3s ease;
  color: var(--bg-primary);
}

.footer-about a {
  color: var(--bg-primary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-about a:hover {
  color: var(--bg-secondary);
  transform: translateY(-2px);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--bg-primary);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--bg-card);
  transform: translateY(-4px);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 3rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--bg-primary);
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.9rem;
  /* font-weight: 600; */
  transition: color 0.3s;
  display: block;
  /* padding-bottom: 0.5rem; */
}

.footer-links a:hover {
  color: var(--accent-blue-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  /* border-top: 1px solid var(--border-color); */
  color: var(--bg-primary);
  font-size: 0.85rem;
}

.case-studies-section,
.testimonial-section,
.cta-section,
.expertise-section {
  padding-inline: 8%;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .card-content {
    flex-direction: column; /* Stack image and details on smaller screens */
    min-height: auto;
  }

  .hero h1 {
    width: 70%;
  }
  .hero p {
    width: 60%;
  }

  .case-studies-section,
  .testimonial-section,
  .cta-section,
  .expertise-section {
    padding-inline: 5%;
  }

  header,
  .top-header {
    padding-inline: 5%;
  }
}

@media (max-width: 1000px) {
  .case-study-layout {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .case-study-sidebar {
    flex: 1;
    width: 100%;
    flex-direction: row;
  }
  .case-study-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .design {
    grid-auto-columns: calc((100% / 2) - (1rem / 2));
  }

  .nav-item {
    flex: 1;
    border-right: 0.1rem solid var(--border-color);
    border-bottom: 0.1rem solid var(--border-color);
  }
  .nav-item.active {
    border-left: none;
    border-bottom: 0.3rem solid var(--accent-blue);
    padding-left: 1.5rem;
  }
  .expertise-grid {
    flex-wrap: wrap;
  }
  .expertise-column {
    flex-basis: 45%;
    min-width: unset;
  }
  .testimonial-content {
    flex-direction: column;
    padding-inline: 10%;
  }
}

@media (max-width: 768px) {
  .result-box {
    min-height: 0rem;
  }

  .hero h1 {
    width: 100%;
  }

  header,
  .top-header {
    padding-inline: 3%;
  }

  .case-studies-section,
  .testimonial-section,
  .cta-section,
  .expertise-section {
    padding-inline: 3%;
  }

  .section-title,
  .main-title {
    font-size: 2.5rem;
  }

  .apps {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .expertise-column {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 0 5%;
  }

  .hero p {
    width: 100%;
  }

  .why-choose-content {
    flex-direction: column;
    align-items: center;
  }

  .why-choose-card {
    background-color: var(--accent-blue-lighter);
    border: 1px solid var(--border-color);
    padding: 1rem;
    width: fit-content;
    border-radius: 0.5rem;
  }

  .footer-content,
  .footer-links {
    flex-direction: column;
  }
  .footer-right {
    align-items: start;
  }
}

@media (max-width: 650px) {
  .case-study-sidebar {
    flex: 1;
    width: 100%;
    flex-direction: row;
  }
  .case-study-nav {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .nav-item {
    padding-block: 1rem;
  }

  .hero-text h1,
  .main-title,
  .section-title {
    font-size: 2rem;
    margin-bottom: 0;
  }

  .hero-text h2 {
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
  }

  .hero-text p,
  .subtitle {
    font-size: 1.02rem;
    margin-bottom: 2rem;
    width: 85%;
  }

  .hero-text p {
    margin-bottom: 0;
  }

  .overline {
    font-size: 0.7rem;
  }

  .apps {
    grid-template-columns: 1fr;
  }

  .expertise-column {
    flex-basis: 100%;
  }
  .results-summary {
    flex-direction: column;
  }
  .cta-form {
    flex-direction: column;
    max-width: 40rem;
  }

  .designs .sub-sub-title span span {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .design {
    grid-auto-columns: 100%;
  }

  .design {
    aspect-ratio: 3/5;
    background-color: #000;
    border-radius: 1rem;
    max-height: 480px;
  }

  .challenge-solution {
    gap: 1rem;
    width: 100%;
  }

  .cta-container .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .cs-title {
    font-size: 0.95rem;
  }
  .cs-details {
    font-size: 0.85rem;
  }

  .strategies-details span {
    font-size: 0.7rem;
  }

  .result-number {
    font-size: 1.5rem;
  }

  .result-text,
  .tools-details span {
    font-size: 0.65rem;
  }

  .card-title-button {
    flex-direction: column;
  }

  .results-summary p:last-child {
    font-size: 0.55rem;
  }
}

@media (max-width: 500px) {
  .result-box {
    flex: 1;
    min-height: 0rem;
    padding: 0.5rem;
  }

  .cert-card-title {
    font-size: 0.95rem;
  }

  .top-cert-card i {
    padding: 0.5rem;
    font-size: 1.5rem;
  }

  .hero-content {
    padding: 0;
  }

  /* .hero-text {
    background-color: #000;
  } */

  .hero-text h1 {
    width: 90%;
  }

  .hero-text p,
  .subtitle {
    font-size: 0.95rem;
    width: 100%;
  }

  .hero-text p {
    width: 90%;
  }

  .cert-date i {
    font-size: 0.85rem;
  }

  .hero-text h1,
  .main-title,
  .section-title,
  .card-title {
    font-size: 1.7rem;
  }

  .cert-company {
    font-size: 0.8rem;
  }
  .cert-details {
    font-size: 0.7rem;
  }

  .strategies .sub-sub-title,
  .tools .sub-sub-title,
  .result-title {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }
}
