
/* Base Styles and Variables */
:root {
  --main-color: #583962;
  --main-color2: #c49a70;
  --dark-bg: #000000;
  --light-text: #ffffff;
  --gray-text: #cccccc;
  --gradient-primary: linear-gradient(135deg, var(--main-color), #7a4d8a);
  --gradient-secondary: linear-gradient(135deg, var(--main-color2), #e0b78c);
  --section-padding: 100px 0;
  --card-border-radius: 10px;
  --transition: all 0.3s ease;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--light-text);
}

p {
  margin-bottom: 15px;
  color: var(--gray-text);
}

a {
  text-decoration: none;
  color: var(--light-text);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--card-border-radius);
}

section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-subtitle {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--main-color2);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
  padding: 0 10px;
}

.section-subtitle:before,
.section-subtitle:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--main-color2);
}

.section-subtitle:before {
  left: -40px;
}

.section-subtitle:after {
  right: -40px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--light-text);
  margin-bottom: 15px;
  position: relative;
}

.underline {
  height: 4px;
  width: 70px;
  background: var(--gradient-primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary span,
.btn-secondary span {
  position: relative;
  z-index: 2;
  margin-right: 10px;
}

.btn-primary i,
.btn-secondary i {
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--light-text);
  box-shadow: 0 4px 15px rgba(88, 57, 98, 0.3);
}

.btn-primary:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-secondary);
  transition: 0.5s ease;
  z-index: 0;
}

.btn-primary:hover:before {
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(88, 57, 98, 0.4);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--dark-bg);
  box-shadow: 0 4px 15px rgba(196, 154, 112, 0.3);
}

.btn-secondary:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: 0.5s ease;
  z-index: 0;
}

.btn-secondary:hover:before {
  width: 100%;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(196, 154, 112, 0.4);
  color: var(--light-text);
}

/* Text Effects */
.gradient-text {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 15px 5%;
  background-color: rgba(0, 0, 0, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--main-color2);
  position: relative;
  z-index: 2;
}

.logo-accent {
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--main-color);
  border-radius: 50%;
  top: -5px;
  left: -5px;
  z-index: 1;
  opacity: 0.6;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin: 0 15px;
  position: relative;
}

.nav-links a {
  color: var(--light-text);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient-secondary);
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

.nav-links a:hover:before {
  visibility: visible;
  transform: scaleX(1);
}

.nav-links a:hover {
  color: var(--main-color2);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--main-color2);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

.hamburger.active span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger.active span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}



/* Case Hero Section */
.case-hero {
  height: 60vh;
  min-height: 500px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
    url('') center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 80px; /* Account for fixed navbar */
}

.case-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(88, 57, 98, 0.7), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.case-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.case-hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--light-text);
}

.case-hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: var(--gray-text);
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-secondary);
  color: var(--dark-bg);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(196, 154, 112, 0.3);
}

.hero-search {
  display: flex;
  max-width: 600px;
  margin: 40px auto 0;
  gap: 15px;
}

.search-box {
  flex: 1;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 15px 20px 15px 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--light-text);
  font-size: 1rem;
}

.search-box i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-text);
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--main-color);
  top: -100px;
  right: -100px;
  animation: float 8s infinite alternate;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--main-color2);
  bottom: -50px;
  left: -50px;
  animation: float 6s infinite alternate-reverse;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}

/* Case Filter Section */
.case-filter {
  padding: 0 0 50px;
  background-color: var(--dark-bg);
}

.filter-container {
  background: linear-gradient(135deg, rgba(88, 57, 98, 0.1), rgba(0, 0, 0, 0.2));
  border-radius: var(--card-border-radius);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--box-shadow);
}

.filter-title h3 {
  font-size: 1.3rem;
  margin-bottom: 0;
  color: var(--main-color2);
}

.filter-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-size: 0.9rem;
  color: var(--gray-text);
  white-space: nowrap;
}

.filter-group select {
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--light-text);
  font-size: 0.9rem;
  min-width: 180px;
}

/* Featured Case Study Section */
.featured-case {
  background-color: var(--dark-bg);
  position: relative;
  padding: 80px 0;
}

.featured-case-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.featured-case-image {
  position: relative;
}

.featured-case-image img {
  width: 100%;
  height: auto;
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
}

.case-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-secondary);
  color: var(--dark-bg);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(196, 154, 112, 0.3);
}

.featured-case-details {
  background: linear-gradient(135deg, rgba(88, 57, 98, 0.1), rgba(0, 0, 0, 0.2));
  border-radius: var(--card-border-radius);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--box-shadow);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-text);
}

.meta-item i {
  color: var(--main-color2);
}

.case-summary,
.case-approach,
.case-outcome {
  margin-bottom: 25px;
}

.featured-case-details h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--main-color2);
}

.approach-list {
  margin-top: 15px;
}

.approach-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--gray-text);
}

.approach-list li i {
  color: var(--main-color2);
  margin-top: 5px;
}

.case-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* Case Grid Section */
.case-grid {
  background-color: var(--dark-bg);
  position: relative;
  padding: 100px 0;
}

.cases-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.case-card {
  background: linear-gradient(135deg, rgba(88, 57, 98, 0.1), rgba(0, 0, 0, 0.2));
  border-radius: var(--card-border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-10px);
  border-color: var(--main-color2);
}

.case-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.case-card:hover .case-image img {
  transform: scale(1.1);
}

.case-content {
  padding: 25px;
}

.case-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--light-text);
}

.case-excerpt {
  color: var(--gray-text);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.case-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.read-more {
  color: var(--main-color2);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.read-more i {
  transition: var(--transition);
}

.read-more:hover {
  color: var(--light-text);
}

.read-more:hover i {
  transform: translateX(5px);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.page-prev,
.page-next,
.page-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  color: var(--light-text);
  transition: var(--transition);
}

.page-number.active,
.page-number:hover,
.page-prev:hover,
.page-next:hover {
  background: var(--gradient-primary);
}

/* Case Process Section */
.case-process {
  background-color: var(--dark-bg);
  position: relative;
  padding: 100px 0;
}

.process-steps {
  max-width: 900px;
  margin: 50px auto 0;
  position: relative;
}

.process-steps:before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background: var(--gradient-primary);
  z-index: 1;
}

.process-step {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-text);
  flex-shrink: 0;
}

.step-content {
  background: linear-gradient(135deg, rgba(88, 57, 98, 0.1), rgba(0, 0, 0, 0.2));
  border-radius: var(--card-border-radius);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--box-shadow);
  flex: 1;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--main-color2);
}

/* Testimonials Section */
.case-testimonials {
  background: url("/placeholder.svg?height=1080&width=1920") center / cover no-repeat;
  position: relative;
  padding: 100px 0;
}

.testimonial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(88, 57, 98, 0.9), rgba(0, 0, 0, 0.9));
  z-index: 1;
}

.case-testimonials .section-header {
  position: relative;
  z-index: 2;
}

.testimonial-slider {
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

.testimonial-navigation {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}

.nav-btn {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: var(--light-text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  pointer-events: auto;
}

.nav-btn:hover {
  transform: scale(1.1);
}

.prev-btn {
  left: -25px;
}

.next-btn {
  right: -25px;
}

.testimonial-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--card-border-radius);
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  max-width: 800px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--main-color2);
  opacity: 0.5;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--light-text);
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.author-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--main-color2);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.author-info p {
  color: var(--gray-text);
  margin-bottom: 0;
  font-style: normal;
  font-size: 0.9rem;
}

.testimonial-indicators {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background-color: var(--main-color2);
  transform: scale(1.2);
}

/* CTA Section */
.case-cta {
  background-color: var(--dark-bg);
  position: relative;
  padding: 100px 0;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--gray-text);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.cta-contact {
  color: var(--gray-text);
}

.cta-contact a {
  color: var(--main-color2);
  transition: var(--transition);
}

.cta-contact a:hover {
  color: var(--light-text);
  text-decoration: underline;
}

/* Footer Section */
.footer {
  background-color: rgba(0, 0, 0, 0.95);
  position: relative;
}

.footer-top {
  padding: 80px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-logo h2 {
  font-size: 2.2rem;
  color: var(--main-color2);
  margin-bottom: 10px;
}

.footer-desc {
  margin-top: 15px;
}

.footer-links h3,
.footer-courses h3,
.footer-newsletter h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--main-color2);
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3:after,
.footer-courses h3:after,
.footer-newsletter h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
}

.footer-links ul li,
.footer-courses ul li {
  margin-bottom: 12px;
}

.footer-links ul li a,
.footer-courses ul li a {
  color: var(--gray-text);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links ul li a i,
.footer-courses ul li a i {
  margin-right: 10px;
  font-size: 0.8rem;
}

.footer-links ul li a:hover,
.footer-courses ul li a:hover {
  color: var(--main-color2);
  padding-left: 5px;
}

.footer-newsletter p {
  margin-bottom: 20px;
}

.newsletter-form {
  margin-bottom: 20px;
}

.newsletter-form .form-group {
  position: relative;
  margin-bottom: 0;
}

.newsletter-form input {
  width: 100%;
  padding: 12px 50px 12px 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--light-text);
}

.newsletter-form button {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 0 5px 5px 0;
  color: var(--light-text);
  cursor: pointer;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  transform: translateY(-5px);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--gray-text);
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: var(--main-color2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .case-hero h1 {
    font-size: 3.5rem;
  }

  .featured-case-content {
    grid-template-columns: 1fr;
  }

  .featured-case-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 992px) {
  .case-hero h1 {
    font-size: 3rem;
  }

  .filter-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-options {
    width: 100%;
  }

  .cases-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .testimonial-navigation {
    display: none;
  }
}

@media (max-width: 768px) {
  .case-hero h1 {
    font-size: 2.5rem;
  }

  .hero-search {
    flex-direction: column;
    align-items: stretch; /* Ensures full width */
    gap: 10px; /* Adds spacing */
  }
.hero-badge{
  padding: 5px 5px !important;
}

.page-title{
  font-size: 1.4rem !important;
}

.btn-primary, .btn-secondary{
  padding: 10px 15px;
}
  .filter-options {
    flex-direction: column;
    align-items: stretch;
    gap: 10px; /* Adds spacing */
  }

  .filter-group {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .filter-group label {
    font-size: 1rem; /* Ensures readability */
    margin-bottom: 5px;
  }

  .filter-group select {
    width: 100%;
    padding: 10px; /* Improves touch usability */
    font-size: 1rem;
  }

  .cases-wrapper {
    grid-template-columns: 1fr;
    gap: 15px; /* Better spacing between items */
  }

  .case-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .case-hero h1 {
    font-size: 2rem;
  }

  .case-hero p {
    font-size: 1rem;
  }

  .process-step {
    flex-direction: column;
  }

  .process-steps:before {
    left: 30px;
    height: calc(100% - 60px);
    top: 60px;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
}




