/* Custom Variables */
:root {
  --font-size: 14px;
  --background: #ffffff;
  --foreground: #333333;
  --primary: #F45927;
  --primary-foreground: #ffffff;
  --secondary: #45187E;
  --secondary-foreground: #ffffff;
  --muted: #F5F5F5;
  --accent: #FFDCB0;
  --border: rgba(0, 0, 0, 0.1);
  
  /* Mobile-first responsive typography */
  --text-h1: 2rem;
  --text-h2: 1.5rem;
  --text-h3: 1.25rem;
  --text-body: 0.875rem;
  --text-body-large: 1rem;
  --text-cta: 1rem;
  
  /* Spacing variables */
  --section-padding: 3rem 0;
  --container-padding: 1rem;
}

/* Responsive Typography */
@media (min-width: 576px) {
  :root {
    --text-h1: 2.5rem;
    --text-h2: 1.75rem;
    --text-h3: 1.375rem;
    --text-body: 0.9375rem;
    --text-body-large: 1.0625rem;
    --text-cta: 1.0625rem;
    --container-padding: 1.25rem;
  }
}

@media (min-width: 768px) {
  :root {
    --text-h1: 3rem;
    --text-h2: 2rem;
    --text-h3: 1.5rem;
    --text-body: 1rem;
    --text-body-large: 1.125rem;
    --text-cta: 1.125rem;
    --section-padding: 4rem 0;
    --container-padding: 2rem;
  }
}

@media (min-width: 992px) {
  :root {
    --text-h1: 3.5rem;
    --text-h2: 2.25rem;
    --text-h3: 1.75rem;
    --container-padding: 2.5rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --text-h1: 3rem;
    --text-h2: 2.25rem;
    --text-h3: 1.75rem;
    --container-padding: 3.75rem;
  }
}

/* Base Styles */
body {
  font-family: 'Lato', sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  font-size: var(--font-size);
}

/* Container Utilities */
.container-fluid.header-container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.max-width-container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .max-width-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 992px) {
  .max-width-container {
    padding: 0 2rem;
  }
}

.max-width-container-sm {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .max-width-container-sm {
    padding: 0 1.5rem;
  }
}

.hero-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  padding: 2rem var(--container-padding);
}

@media (min-width: 768px) {
  .hero-container {
    min-height: 100vh;
    padding: 4rem var(--container-padding);
  }
}



@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}



@keyframes brandScale {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes navSlideUp {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  opacity: 0.9;
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(244, 89, 39, 0.3);
}

.btn-primary:active {
  transform: scale(0.95);
}

.cta-button {
  border-radius: 32px;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  animation: buttonScale 0.4s ease-out 0.9s both;
}

@media (max-width: 767.98px) {
  .cta-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 24px;
  }
}

@keyframes buttonScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cta-button-lg {
  border-radius: 32px;
  padding: 1rem 2rem;
  font-size: var(--text-cta);
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .cta-button-lg {
    padding: 0.875rem 1.5rem;
    border-radius: 24px;
    width: 100%;
    max-width: 280px;
  }
}

/* Responsive Button Utilities */
@media (max-width: 767.98px) {
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn-lg {
    min-height: 48px;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background-color: var(--accent);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.bg-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}

.bg-element-1 {
  top: 5rem;
  right: 2.5rem;
  width: 8rem;
  height: 8rem;
  background-color: var(--primary);
  animation: float 8s ease-in-out infinite;
}

.bg-element-2 {
  bottom: 10rem;
  left: 2.5rem;
  width: 6rem;
  height: 6rem;
  background-color: var(--secondary);
  animation: float 6s ease-in-out infinite reverse;
}

.bg-element-3 {
  top: 50%;
  right: 25%;
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 0.5rem;
  transform: rotate(45deg);
  animation: spin 10s linear infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(0) rotate(180deg);
  }
  75% {
    transform: translateY(-10px) rotate(270deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(45deg) scale(1);
  }
  50% {
    transform: rotate(225deg) scale(0.8);
  }
  to {
    transform: rotate(405deg) scale(1);
  }
}

.trust-indicator {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.trust-stars {
  gap: -0.5rem;
}

.trust-star {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary);
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  margin-left: -0.5rem;
  position: relative;
  animation: trustStarScale 0.3s ease-out both;
}

.trust-star:nth-child(1) { animation-delay: 0.5s; }
.trust-star:nth-child(2) { animation-delay: 0.6s; }
.trust-star:nth-child(3) { animation-delay: 0.7s; }

@keyframes trustStarScale {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.trust-star:hover {
  transform: scale(1.2) rotate(360deg);
  transition: all 0.3s ease;
}

.trust-star-purple {
  background-color: var(--secondary);
}

.trust-star::before {
  content: "★";
}

.trust-text {
  font-size: 0.875rem;
  color: var(--foreground);
  animation: fadeInLeft 0.5s ease-out 0.8s both;
}

@keyframes fadeInLeft {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-title {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
  max-width: 60rem;
}

@media (max-width: 767.98px) {
  .hero-title {
    line-height: 1.3;
    margin-bottom: 1.5rem !important;
  }
}

.hero-description {
  font-size: var(--text-body-large);
  line-height: 1.6;
  color: var(--foreground);
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

@media (max-width: 767.98px) {
  .hero-description {
    margin-bottom: 2rem !important;
  }
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .hero-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .hero-features {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: featureSlideIn 0.5s ease-out both;
}

@media (max-width: 767.98px) {
  .feature-item {
    gap: 0.75rem;
  }
}

.feature-item:nth-child(1) { animation-delay: 1.0s; }
.feature-item:nth-child(2) { animation-delay: 1.1s; }
.feature-item:nth-child(3) { animation-delay: 1.2s; }
.feature-item:nth-child(4) { animation-delay: 1.3s; }

@keyframes featureSlideIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.feature-item:hover {
  transform: translateY(-5px);
  transition: transform 0.2s ease;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.feature-item span {
  font-size: 1rem;
  color: var(--foreground);
}

/* Hero Image */
.hero-image-container {
  position: relative;
  max-width: 32rem;
  width: 100%;
  margin: 0 auto;
  animation: fadeInRight 0.8s ease-out 0.5s both;
}

@keyframes fadeInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-image-container:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.hero-image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background-color: white;
  animation: imageFloat 0.8s ease-out 0.7s both;
}

@keyframes imageFloat {
  from {
    transform: translateY(20px);
  }
  to {
    transform: translateY(0);
  }
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  background: white;
  border-radius: 1rem;
  padding: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
  animation: cardFloat 3s ease-in-out infinite;
}

.floating-card-1 {
  top: 1rem;
  right: 1rem;
}

.floating-card-2 {
  bottom: 1rem;
  left: 1rem;
  animation-delay: 1.5s;
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.status-indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.status-green {
  background-color: #10b981;
}

.status-orange {
  background-color: var(--primary);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.tech-stack {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-stack-right {
  right: -3rem;
  animation: techSlideInRight 0.6s ease-out 1.2s both;
}

.tech-stack-left {
  left: -3rem;
  animation: techSlideInLeft 0.6s ease-out 1.4s both;
}

@keyframes techSlideInRight {
  from {
    transform: translateY(-50%) translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}

@keyframes techSlideInLeft {
  from {
    transform: translateY(-50%) translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}

.tech-item {
  background: white;
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.3s ease;
  animation: techItemScale 0.3s ease-out both;
}

.tech-stack-right .tech-item:nth-child(1) { animation-delay: 1.4s; }
.tech-stack-right .tech-item:nth-child(2) { animation-delay: 1.6s; }
.tech-stack-right .tech-item:nth-child(3) { animation-delay: 1.8s; }

.tech-stack-left .tech-item:nth-child(1) { animation-delay: 1.6s; }
.tech-stack-left .tech-item:nth-child(2) { animation-delay: 1.8s; }
.tech-stack-left .tech-item:nth-child(3) { animation-delay: 2.0s; }

@keyframes techItemScale {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.tech-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.hero-decorative {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}

.hero-decorative-1 {
  top: -1.5rem;
  right: -1.5rem;
  width: 6rem;
  height: 6rem;
  background-color: var(--secondary);
  animation: rotate 20s linear infinite;
}

.hero-decorative-2 {
  bottom: -1.5rem;
  left: -1.5rem;
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 0.5rem;
  animation: rotateReverse 15s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateReverse {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

/* Typography */
.section-title {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.3;
  color: var(--foreground);
}

.section-description {
  font-size: var(--text-body-large);
  line-height: 1.6;
  color: var(--foreground);
}

.section-text {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--foreground);
}

/* Responsive Section Padding */
section {
  padding: var(--section-padding);
}

/* Responsive Utilities */
.py-5 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

@media (min-width: 768px) {
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

@media (min-width: 992px) {
  .py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
}

/* Responsive Text Alignment */
@media (max-width: 767.98px) {
  .text-center,
  .text-start {
    text-align: center !important;
  }
}

/* Overview Section */
.overview-section {
  background: linear-gradient(135deg, #FFF5F2, #FFEAE6);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.overview-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: rgba(244, 89, 39, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.overview-section::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: -5%;
  width: 150px;
  height: 150px;
  background: rgba(69, 24, 126, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.overview-content {
  position: relative;
  z-index: 2;
}

.overview-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--foreground);
}

.benefit-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.overview-visual {
  position: relative;
  z-index: 2;
}

.laptop-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.laptop-screen {
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Floating Tags */
.floating-tag {
  position: absolute;
  background: white;
  padding: 1.25rem 2rem;
  border-radius: 24px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 3;
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
  min-width: 120px;
  text-align: center;
}

.mobile-tag {
  top: 10%;
  left: -20%;
  animation-delay: 0s;
}

.web-tag {
  top: 45%;
  left: -25%;
  animation-delay: 0.5s;
}

.iot-tag {
  bottom: 20%;
  left: -20%;
  animation-delay: 1s;
}

.multichannel-tag {
  bottom: 0%;
  left: 15%;
  animation-delay: 1.5s;
}

.react-tag {
  top: 10%;
  right: -20%;
  animation-delay: 2s;
}

.api-tag {
  top: 25%;
  right: -25%;
  background: #E8F5E8;
  color: #2D8F2D;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation-delay: 2.5s;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #2D8F2D;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.cms-tag {
  bottom: 20%;
  right: -20%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Mobile responsive for overview section */
@media (max-width: 768px) {
  .overview-section {
    padding: 4rem 0;
  }
  
  .floating-tag {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    border-radius: 18px;
    min-width: 90px;
  }
  
  .mobile-tag,
  .web-tag,
  .iot-tag {
    left: -15%;
  }
  
  .react-tag,
  .api-tag,
  .cms-tag {
    right: -15%;
  }
  
  .laptop-screen {
    max-width: 500px;
  }
  
  .status-dot {
    width: 8px;
    height: 8px;
  }
}

/* Why Go Headless Section */
.why-headless-section {
  background-color: var(--background);
  padding: 6rem 0;
  position: relative;
}

.why-headless-content {
  padding-right: 2rem;
}

.why-headless-description {
  font-size: var(--text-body-large);
  line-height: 1.7;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: var(--text-body);
  color: var(--foreground);
  line-height: 1.6;
}

.benefit-dot {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.stats-section {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.stat-item {
  text-align: center;
  transition: transform 0.3s ease;
  padding: 1rem;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
  display: block;
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
}

.stat-label {
  font-size: var(--text-body);
  color: var(--foreground);
  font-weight: 500;
  line-height: 1.4;
}

/* Mobile responsive for Why Go Headless section */
@media (max-width: 992px) {
  .why-headless-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .stats-section {
    margin-top: 3rem;
    padding-top: 3rem;
  }
}

@media (max-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
    max-width: 900px;
  }
  
  .client-logo img {
    max-height: 50px;
  }
}

@media (max-width: 768px) {
  .why-headless-section {
    padding: 4rem 0;
  }
  
  .why-headless-description {
    font-size: var(--text-body);
    text-align: left;
  }
  
  .stats-section {
    margin-top: 2rem;
    padding-top: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.875rem;
  }
}

@media (max-width: 576px) {
  .benefit-item {
    gap: 0.75rem;
  }
  
  .benefit-dot {
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.4rem;
  }
  
  .stat-item {
    padding: 0.5rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
}

/* Stats Section */
.stats-section {
  margin-top: 4rem;
}

.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
}

.stat-label {
  font-size: var(--text-body);
  color: var(--foreground);
}

/* Clients Section */
.clients-section {
  background-color: var(--muted);
  padding: 6rem 0;
  position: relative;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3rem 2rem;
  align-items: center;
  justify-items: center;
  margin: 3rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.client-logo {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
}

.client-logo.empty {
  visibility: hidden;
}

.client-logo:hover {
  transform: scale(1.05);
  box-shadow: none;
}

.client-logo.empty:hover {
  transform: none;
}

.client-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* Services Section */
.services-section {
  background-color: var(--accent);
  padding: 6rem 0;
}

.service-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: none;
}

@media (max-width: 767.98px) {
  .service-card {
    padding: 1.5rem;
    border-radius: 24px;
    margin-bottom: 1.5rem;
  }
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
  .service-card:hover {
    transform: translateY(-3px);
  }
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
  .service-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: 1.4;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.service-description {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--foreground);
  margin: 0;
}

/* Case Studies Section */
.case-studies-section {
  background-color: var(--background);
  padding: 6rem 0;
}

.case-study-card {
  background: white;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border);
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.case-study-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.05);
}

.case-study-content {
  padding: 2rem;
}

.case-study-title {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.case-study-card:hover .case-study-title {
  color: var(--primary);
}

.case-study-description {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.case-study-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.metric-item i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.metric-item span {
  font-size: var(--text-body);
  font-weight: 500;
  color: var(--foreground);
}

.btn-outline-secondary {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
  border-radius: 32px;
  padding: 1rem 2rem;
  font-size: var(--text-cta);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: var(--secondary);
  color: white;
  transform: scale(1.05);
}

/* Platforms Section */
.platforms-section {
  background-color: var(--muted);
  padding: 6rem 0;
}

.platform-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: none;
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.platform-logo {
  width: 4rem;
  height: 4rem;
  background: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  padding: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.platform-logo.shopify {
  background: #96bf48;
}

.platform-logo.magento {
  background: #ec6737;
}

.platform-logo.woocommerce {
  background: #96588a;
}

.platform-logo.prestashop {
  background: #df1f1f;
}

.platform-logo.wordpress {
  background: #21759b;
}

.platform-logo.opencart {
  background: #1e5aa8;
}

.platform-logo.drupal {
  background: #0073bb;
}

.platform-logo.bigcommerce {
  background: #121118;
}

.platform-logo.commercetools {
  background: #212b36;
}

.platform-card:hover .platform-logo {
  transform: scale(1.1) rotate(5deg);
}

.platform-title {
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: 1.4;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.platform-description {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--foreground);
  margin: 0;
}

.platform-cta {
  background-color: var(--accent);
  border-radius: 32px;
  padding: 3rem;
  text-align: center;
}

.platform-cta-title {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.platform-cta .cta-button-lg {
  box-shadow: 0 4px 15px rgba(244, 89, 39, 0.3);
}

.platform-cta .cta-button-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 89, 39, 0.4);
}

/* Tech Stack Section */
.tech-stack-section {
  background-color: var(--background);
  padding: 6rem 0;
}

.tech-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.tech-category {
  background: #f8f9fa;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.tech-category:nth-child(1) {
  background: #ffecd1;
}

.tech-category:nth-child(2) {
  background: #f0f0f0;
}

.tech-category:nth-child(3) {
  background: #ffecd1;
}

.tech-category:nth-child(4) {
  background: #f0f0f0;
}

.tech-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tech-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.tech-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tech-pill {
  background: white;
  border-radius: 2rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tech-pill:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tech-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.js-icon {
  background: #f7df1e;
  color: #000;
}

.node-icon {
  background: #68a063;
  font-size: 1.2rem;
}

.ts-icon {
  background: #3178c6;
}

.python-icon {
  background: #3776ab;
  font-size: 1.2rem;
}

.java-icon {
  background: #ed8b00;
  font-size: 1.2rem;
}

.react-icon {
  background: #61dafb;
  color: #000;
  font-size: 1.2rem;
}

.angular-icon {
  background: #dd0031;
}

.vue-icon {
  background: #4fc08d;
}

.next-icon {
  background: #000;
}

.express-icon {
  background: #68a063;
}

.mongo-icon {
  background: #47a248;
  font-size: 1.2rem;
}

.postgres-icon {
  background: #336791;
  font-size: 1.2rem;
}

.mysql-icon {
  background: #4479a1;
  font-size: 1.2rem;
}

.redis-icon {
  background: #dc382d;
  font-size: 1.2rem;
}

.elastic-icon {
  background: #005571;
  font-size: 1.2rem;
}

.git-icon {
  background: #f05032;
  font-size: 1.2rem;
}

.docker-icon {
  background: #2496ed;
  font-size: 1.2rem;
}

.postman-icon {
  background: #ff6c37;
  font-size: 1.2rem;
}

.jenkins-icon {
  background: #d33833;
  font-size: 1.2rem;
}

.graphql-icon {
  background: #e10098;
  font-size: 1.2rem;
}

.tech-pill span {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--foreground);
}

/* Global Responsive Optimizations */
@media (max-width: 479.98px) {
  /* Extra small devices */
  .container,
  .container-fluid.header-container {
    padding: 0 0.75rem;
  }
  
  .max-width-container,
  .max-width-container-sm {
    padding: 0 0.75rem;
  }
  
  /* Typography adjustments */
  .section-title {
    font-size: 1.375rem;
    line-height: 1.3;
    margin-bottom: 1rem !important;
  }
  
  .section-description {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem !important;
  }
  
  /* Card adjustments */
  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
  
  /* Trust indicator */
  .trust-indicator {
    margin-bottom: 1.5rem !important;
  }
  
  .trust-text {
    font-size: 0.875rem;
  }
}

/* Small devices improvements */
@media (max-width: 575.98px) {
  /* Hero adjustments */
  .hero-container {
    min-height: 70vh;
    padding: 1.5rem var(--container-padding);
  }
  
  /* Spacing adjustments */
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  .mt-5 {
    margin-top: 2rem !important;
  }
  
  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

/* Medium devices and up improvements */
@media (min-width: 768px) {
  /* Better card spacing */
  .row > [class*="col-"] {
    margin-bottom: 2rem;
  }
  
  /* Enhanced hover effects */
  .service-card:hover,
  .platform-card:hover,
  .usp-card:hover {
    transform: translateY(-8px);
  }
}
@media (max-width: 768px) {
  .tech-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .tech-category {
    padding: 1.5rem;
  }
  
  .tech-pill {
    padding: 0.625rem 0.875rem;
  }
  
  .tech-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
  }
  
  .tech-pill span {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .tech-categories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .tech-category {
    padding: 1.25rem;
  }
  
  .tech-items {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .tech-categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Benefits Section */
.benefits-section {
  background-color: var(--muted);
  padding: 6rem 0;
}

.benefit-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
  background-color: var(--secondary);
}

.benefit-title {
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: 1.4;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.benefit-description {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--foreground);
  margin: 0;
}

/* Process Section */
.process-section {
  background-color: var(--background);
  padding: 6rem 0;
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-step:nth-child(even) .process-content {
  text-align: right;
  padding-right: 3rem;
  padding-left: 0;
}

.process-step:nth-child(odd) .process-content {
  text-align: left;
  padding-left: 3rem;
  padding-right: 0;
}

.process-number {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin: 0 2rem;
}

.process-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.process-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.process-title {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.process-description {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--foreground);
  margin: 0;
}

/* Mobile responsive for process section */
@media (max-width: 768px) {
  .process-timeline::before {
    left: 2rem;
  }
  
  .process-step {
    flex-direction: row !important;
  }
  
  .process-step:nth-child(even) .process-content,
  .process-step:nth-child(odd) .process-content {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .process-number {
    margin: 0 1rem 0 0;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .tech-item {
    padding: 1rem;
    min-height: 100px;
  }
  
  .tech-item img {
    width: 30px;
    height: 30px;
  }
  
  .tech-item span {
    font-size: 0.75rem;
  }
}

/* Use Cases Section */
.use-cases-section {
  background-color: var(--accent);
  padding: 6rem 0;
}

.use-case-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.use-case-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.use-case-card:hover .use-case-icon {
  transform: scale(1.1);
  background-color: var(--secondary);
}

.use-case-title {
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: 1.4;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.use-case-description {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--foreground);
  margin: 0;
}

/* Industries Section */
.industries-section {
  background-color: var(--background);
  padding: 6rem 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.industry-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 250px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.industry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.industry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.industry-item:hover img {
  transform: scale(1.1);
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 89, 39, 0.8), rgba(69, 24, 126, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industry-item:hover .industry-overlay {
  opacity: 1;
}

.industry-overlay h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

/* USPs Section */
.usps-section {
  background-color: var(--muted);
  padding: 6rem 0;
}

.usp-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.usp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.usp-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.usp-card:hover .usp-icon {
  transform: scale(1.1) rotate(5deg);
}

.usp-title {
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: 1.4;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.usp-description {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--foreground);
  margin: 0;
}

/* Mobile responsive for new sections */
@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .industry-item {
    height: 200px;
  }
  
  .industry-overlay h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .use-case-card,
  .usp-card {
    padding: 1.5rem;
  }
  
  .use-case-icon,
  .usp-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }
  
  .use-case-title,
  .usp-title {
    font-size: 1.25rem;
  }
}

/* FAQs Section */
.faqs-section {
  background-color: var(--background);
  padding: 6rem 0;
}

@media (max-width: 767.98px) {
  .faqs-section {
    padding: 3rem 0;
  }
}

.accordion-item {
  background-color: var(--muted);
  border-radius: 32px !important;
  border: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .accordion-item {
    border-radius: 16px !important;
    margin-bottom: 0.75rem;
  }
}

.accordion-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.accordion-button {
  background-color: transparent !important;
  border: none !important;
  border-radius: 32px !important;
  padding: 2rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--foreground) !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
  .accordion-button {
    padding: 1.5rem !important;
    font-size: 0.9rem !important;
    border-radius: 16px !important;
  }
}

.accordion-button:hover {
  color: var(--primary) !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary) !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F45927'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 2rem 2rem 2rem !important;
  font-size: var(--text-body-large);
  line-height: 1.6;
  color: var(--foreground);
}

/* Final CTA Section */
.final-cta-section {
  background-color: var(--secondary);
  padding: 6rem 0;
}

.cta-title {
  font-size: var(--text-h1);
  font-weight: 700;
  color: white;
}

.cta-subtitle {
  font-size: var(--text-h2);
  font-weight: 700;
  color: white;
}

.cta-description {
  font-size: var(--text-body-large);
  color: white;
}

/* Footer */
.footer {
  background-color: var(--foreground);
  color: white;
}

.footer-brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.footer-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-title {
  font-size: 1.125rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

/* Intersection Observer Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.animate-on-scroll-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.animate-on-scroll-scale.animate {
  opacity: 1;
  transform: scale(1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-subtitle {
    font-size: 1.75rem;
  }
  
  .hero-container {
    min-height: auto;
    padding: 2rem 1.25rem;
  }
  
  .hero-features {
    gap: 1rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .client-logo {
    padding: 1.5rem 1rem;
    min-height: 5rem;
  }
  
  .client-logo.empty {
    display: none;
  }
  
  .client-logo img {
    max-height: 40px;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .accordion-button {
    padding: 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .client-logo.empty {
    display: none;
  }
  
  .client-logo img {
    max-height: 35px;
  }
  
  .hero-features {
    margin-bottom: 2rem;
  }
  
  .stats-section {
    margin-top: 2rem;
  }
}

/* Modern Industry Cards Styles */
.industries-carousel-container {
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .industries-carousel-container {
    max-width: 100%;
    margin: 0;
  }
}

.industry-card-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 280px;
  display: flex;
  flex-direction: column;
  margin: 0 0.5rem;
}

@media (max-width: 767.98px) {
  .industry-card-modern {
    height: 250px;
    margin: 0;
    border-radius: 16px;
  }
}

.industry-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767.98px) {
  .industry-card-modern:hover {
    transform: translateY(-4px);
  }
}

.industry-image-container {
  height: 200px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 767.98px) {
  .industry-image-container {
    height: 170px;
  }
}

.industry-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.industry-card-modern:hover .industry-image-container img {
  transform: scale(1.05);
}

.industry-card-content {
  padding: 1.5rem 1.25rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 767.98px) {
  .industry-card-content {
    padding: 1rem 0.75rem;
  }
}

.industry-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
  line-height: 1.3;
}

/* Carousel Navigation Styles */
.carousel-navigation {
  padding: 0 1rem;
}

.carousel-nav-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #666;
  font-size: 1.2rem;
}

.carousel-nav-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.carousel-dots {
  gap: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 767.98px) {
  .carousel-dots {
    gap: 0.15rem;
  }
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #d0d0d0;
  transition: all 0.3s ease;
  padding: 0;
  cursor: pointer;
}

@media (max-width: 767.98px) {
  .carousel-dot {
    width: 3px !important;
    height: 3px !important;
    min-width: 3px !important;
    min-height: 3px !important;
  }
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--primary);
  transform: scale(1.3);
}

@media (max-width: 767.98px) {
  .carousel-dot.active,
  .carousel-dot:hover {
    transform: scale(1.1);
  }
}

@media (max-width: 479.98px) {
  .carousel-dot {
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    min-height: 6px !important;
  }
  
  .carousel-dots {
    gap: 0.1rem;
  }
  
  .carousel-dot.active,
  .carousel-dot:hover {
    transform: scale(1.2) !important;
  }
}

/* Final Responsive Optimizations */

/* Touch device optimizations */
@media (pointer: coarse) {
  .btn, .accordion-button {
    min-height: 44px;
    min-width: 44px;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-bg-elements .bg-element {
    transform: scale(0.9);
  }
}

/* Landscape mobile phones */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-container {
    min-height: 60vh;
    padding: 1rem var(--container-padding);
  }
  
  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
}

/* Print styles */
@media print {
  .hero-bg-elements,
  .btn,
  .carousel-dots,
  nav {
    display: none !important;
  }
  
  .hero-container {
    min-height: auto;
    padding: 1rem;
  }
  
  section {
    page-break-inside: avoid;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-bg-elements .bg-element {
    animation: none;
  }
}

/* Focus improvements for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .accordion-button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
}

/* Responsive adjustments for industry cards */
@media (max-width: 768px) {
  .industries-carousel-container {
    max-width: 100%;
  }
  
  .industry-card-modern {
    height: 240px;
  }
  
  .industry-image-container {
    height: 160px;
  }
  
  .industry-card-content {
    padding: 1rem;
  }
  
  .industry-card-title {
    font-size: 1rem;
  }
  
  .carousel-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}
