/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@400;600&display=swap");

/* CSS Variables */
:root {
  /* Color Palette */
  --color-primary: #03045e;
  --color-hover: #0077b6;
  --color-accent: #a9d6e5;
  --color-accent-lighter: #f5fbfe;
  --color-text: #000;
  --color-background: #03045e;
  --color-white: #edf2f4;
  --color-light-bg: #f4f4f4;

  /* Layout Dimensions */
  --header-height: 4rem;
  --border-radius: 0.5rem;

  /* Typography */
  --font-primary: "Open Sans", sans-serif;
  --font-size-base: 0.938rem;
  --font-size-small: 0.813rem;

  /* Weights */
  --weight-regular: 400;
  --weight-semi-bold: 800;

  /* Z-Index Hierarchy */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* Transitions */
  --transition-speed: 250ms;
}

/* Responsive Typography */
@media screen and (min-width: 1024px) {
  :root {
    --font-size-base: 1rem;
  }
}

/* Modern CSS Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  background-color: var(--color-white);
  color: var(--color-text);
  line-height: 1.6;
  padding-top: var(--header-height);
}

/* Typography & Links */
ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed) ease;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}/* Custom Properties */
/* Banner Container */
.services-banner {
  display: flex;
  gap: 15px;
  padding: 1.5rem 0rem;
  background: transparent;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  max-width: 1200px;
}

/* Card Base Styles */
.service-card {
  flex: 1;
  min-width: 100px;
  background: var(--color-white);
  border-radius: 16px;
  padding: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-accent);
}

/* Service Content Container */
.service-content {
  flex: 1;
  text-align: left;
}

/* Card Gradient Line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-hover));
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Card Hover Effects */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(3, 4, 94, 0.1);
  border-color: var(--color-hover);
}

.service-card:hover::before {
  opacity: 1;
}

/* Icon Styles */
.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-accent-lighter);
  color: var(--color-primary);
  transition: var(--transition-speed);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: var(--color-primary);
  color: var(--color-white);
}

.service-icon i {
  font-size: 24px;
}

/* Typography */
.service-title {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.service-description {
  font-size: 0.8rem;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.8;
}

/* CTA Button */
.cta-button-nav {
  font-size: 0.8rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.cta-button-nav:hover {
  color: var(--color-hover);
  opacity: 1;
  transform: translateX(3px);
}

/* Slideshow Navigation Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(3, 4, 94, 0.1);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  z-index: 10;
  transition: all 0.2s ease;
}

.slide-arrow:hover {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(3, 4, 94, 0.2);
}

.slide-prev {
  left: 0.5rem;
}

.slide-next {
  right: 0.5rem;
}

/* Slideshow Dots */
.slideshow-controls {
  display: none;
  position: absolute; 
  bottom: 0.5rem;
  left: 0;
  right: 0;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slide-dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .services-banner {
    padding: 1.25rem;
    gap: 12px;
  }

  .service-card {
    min-width: calc(50% - 12px);
    max-width: calc(50% - 12px);
    margin-bottom: 12px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
  }

  .service-icon i {
    font-size: 22px;
  }

  .service-title {
    font-size: 0.95rem;
  }
}

/* Mobile Landscape Styles */
@media (max-width: 768px) {
  .services-banner {
    padding: 1rem;
    height: 280px;
    overflow: hidden;
  }

  .service-card {
    min-width: calc(100% - 2rem);
    max-width: 100%;
    padding: 1rem;
    margin: 0 1rem;
    position: absolute;
    top: 1rem;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .service-card.active {
    opacity: 1;
    transform: translateX(0);
  }

  .service-card.prev {
    transform: translateX(-100%);
  }

  .service-content {
    flex: 1;
  }

  .slide-arrow,
  .slideshow-controls {
    display: flex;
  }
}

/* Mobile Portrait Styles */
@media (max-width: 480px) {
  .services-banner {
    height: 260px;
    padding: 0.75rem;
  }

  .service-card {
    padding: 0.875rem;
    min-width: calc(100% - 1.5rem);
    margin: 0 0.75rem;
  }

  .service-icon {
    width: 38px;
    height: 38px;
  }

  .service-icon i {
    font-size: 18px;
  }

  .service-title {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }

  .cta-button-nav {
    font-size: 0.75rem;
  }

  .slide-arrow {
    width: 28px;
    height: 28px;
  }

  .slide-prev {
    left: 0.25rem;
  }

  .slide-next {
    right: 0.25rem;
  }

  .slideshow-controls {
    bottom: 0.25rem;
  }

  .slide-dot {
    width: 5px;
    height: 5px;
  }
}

/* Small Mobile Styles */
@media (max-width: 320px) {
  .services-banner {
    height: 240px;
  }

  .service-card {
    padding: 0.75rem;
  }

  .service-icon {
    width: 34px;
    height: 34px;
  }

  .service-icon i {
    font-size: 16px;
  }

  .service-title {
    font-size: 0.85rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .service-card:hover {
    transform: none;
    box-shadow: none;
  }

  .service-card:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(3, 4, 94, 0.08);
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card {
    border: 2px solid var(--color-primary);
  }

  .service-title {
    color: var(--color-text);
  }

  .cta-button-nav {
    text-decoration: underline;
  }
}

/* Print Styles */
@media print {
  .services-banner {
    display: block;
    padding: 0;
  }

  .service-card {
    max-width: 100%;
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid var(--color-text);
    margin-bottom: 1rem;
  }

  .slide-arrow,
  .slideshow-controls {
    display: none;
  }
}

/* Ensure Smooth Scrolling on Mobile */
@media (max-width: 768px) {
  .services-banner {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
}

/* Prevent Text Selection During Swipe */
@media (max-width: 768px) {
  .service-card {
    -webkit-user-select: none;
    user-select: none;
  }
}
/* Banner Header Styles */
.services-header-nav {
  text-align: center;
  padding: 2rem 1.5rem 1rem;
  margin: 0 auto;
  background-color: var(--color-primary);
}

.services-header-title {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-white);
}

.services-header-description {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}

.services-list {
  display: inline;
  color: var(--color-accent);
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  
  .services-header-title {
      font-size: 1rem;
  }
  
  .services-header-description {
      font-size: 0.7rem;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .services-header-description {
      opacity: 1;
  }
}

/* Container styles */
.nav-container {
  position: sticky;
  top: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 229, 229, 0.5);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  z-index: 99;
  width: 100%;
  transition: all 0.3s ease;
}

/* Progress bar styles */
.progress-bar {
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
  width: 0;
  transition: width 0.3s ease;
}

/* Navigation styles */
nav {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

/* Navigation tabs container */
.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Individual tab styles */
.nav-tab {
  position: relative;
  padding: 0.625rem 1rem;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.3s ease;
  border-radius: 0.25rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: fit-content;
}

/* Hover effects */
.nav-tab:hover {
  color: #1f2937;
  background-color: rgba(243, 244, 246, 0.8);
}

/* Active indicator line */
.nav-tab::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

/* Active state styles */
.nav-tab.active {
  color: var(--color-background);
  font-weight: 600;
}

.nav-tab.active::after {
  transform: scaleX(1);
}

/* Dropdown button styles - hidden by default */
.mobile-dropdown-btn {
  display: none;
  width: 100%;
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  color: var(--color-background);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  border: 1px solid grey;
}

.mobile-dropdown-btn::after {
  content: "▼";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.mobile-dropdown-btn.active::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
  nav {
    padding: 0.5rem 2rem;
    position: relative;
  }

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

  .nav-tabs {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    margin-top: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    flex-direction: column;
    z-index: 100;
  }

  .nav-tabs.show {
    display: block;
  }

  .nav-tab {
    width: 100%;
    padding: 0.75rem 1rem;
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  .nav-tab::after {
    display: none;
  }
}

/* Tablet devices */
@media screen and (min-width: 481px) and (max-width: 1023px) {
  nav {
    padding: 0.5rem 1rem;
    position: relative;
  }

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

  .nav-tabs {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    margin-top: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    z-index: 100;
  }

  .nav-tabs.show {
    display: block;
  }

  .nav-tab {
    width: 100%;
    padding: 0.75rem 1rem;
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  .nav-tab::after {
    display: none;
  }
}

/* Large desktop styles - original desktop version */
@media screen and (min-width: 1024px) {
  nav {
    padding: 0.5rem 2rem;
  }

  .nav-tabs {
    gap: 1.5rem;
    display: flex;
  }

  .mobile-dropdown-btn {
    display: none;
  }

  .nav-tab {
    padding: 0.875rem 1.5rem;
    font-size: 0.8rem;
  }

  .nav-tab::after {
    display: block;
  }
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 50px 0;
  background-image: url("/public/freepik__retouch__44840.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  display: flex;
  align-items: center;
}

.product-slider {
  overflow: hidden;
  margin-top: 2px;
  padding: 30px 0;
  position: relative;
  background: linear-gradient(135deg, #f0f4ff, #d8e3f9); /* Soft blue gradient */
  background-image: url("/public/freepik__retouch__44840.png");
}

.slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 20s linear infinite; /* faster speed */
}

.slide {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 250px;
  flex: 0 0 auto;
  background-color: #ffffff50;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.slide img {
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.slide p {
  margin: 0;
  font-weight: 600;
  color: #fbfbfb;
  font-size: 16px;
}

.slide:hover {
  transform: scale(1.05);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Optional: pause on hover */
.product-slider:hover .slider-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .product-slider {
    padding: 20px 10px;
    background-size: cover;
    background-position: center;
  }

  .slider-track {
    gap: 15px;
    animation-duration: 25s; /* Slightly slower on mobile for readability */
  }

  .slide {
    min-width: 200px;
    padding: 10px;
    border-radius: 10px;
  }

  .slide img {
    height: 200px;
    border-radius: 6px;
  }

  .slide p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .slide {
    min-width: 160px;
    padding: 8px;
  }

  .slide img {
    height: 160px;
  }

  .slide p {
    font-size: 13px;
  }
}





.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}

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

.hero-content {
  max-width: 800px;
}

.hero-heading {
  font-size: 3rem;
  font-weight: var(--weight-regular);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-heading span {
  color: var(--color-accent);
  font-weight: var(--weight-semi-bold);
  font-size: 3.5rem;
  display: block;
}

.hero-description {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 90%;
}

.hero-btns {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
}

.hero-view-btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-accent);
  color: var(--color-text);
}

.hero-view-btn:hover {
  background-color: var(--color-hover);
  color: var(--color-white);
  transform: translateY(-2px);
}

.hero-view-btn i {
  transition: transform 0.3s ease;
}

.hero-view-btn:hover i {
  transform: translateX(5px);
}

/* Desktop/Laptop (max-width: 1366px) */
@media screen and (max-width: 1366px) {
  .hero-heading,
  .hero-heading span {
    font-size: 3.5rem;
  }

  .hero-content {
    max-width: 600px;
  }
}

/* Tablet Landscape (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  .hero-section {
    padding: 150px 0;
  }

  .hero-heading,
  .hero-heading span {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-content {
    max-width: 500px;
  }
}

/* Tablet Portrait (max-width: 768px) */
@media screen and (max-width: 768px) {
  .hero-section {
    padding: 120px 0;
    background-position: 70% center;
  }

  .hero-heading,
  .hero-heading span {
    font-size: 2.5rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-btns {
    margin-top: 2rem;
  }

  .hero-view-btn {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
}

/* Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
  .hero-section {
    padding: 100px 0;
    background-position: 75% center;
  }

  .hero-container {
    padding: 0 1rem;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .hero-heading span {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.975rem;
    margin-top: 1rem;
  }

  .hero-btns {
    margin-top: 1.5rem;
    flex-direction: column;
    width: 100%;
  }

  .hero-view-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
  }
}

/* Small Mobile (max-width: 360px) */
@media screen and (max-width: 360px) {
  .hero-section {
    padding: 80px 0;
  }

  .hero-heading,
  .hero-heading span {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 0.875rem;
  }
}

/*************************
 * Projects Section
 *************************/
/* Custom Properties */
:root {
  --color-operator: #f5e6d3; /* Deep navy blue */
  --color-service: #03045e; /* Warm cream */
  --color-duration: #d4a5a5; /* Dusty rose */
  --color-text: #1f2937;
  --color-text-light: #4b5563;
  --color-border: #e5e7eb;
  --color-white: #ffffff;
  --container-max-width: 1200px;
  --card-border-radius: 25px;
  --transition-speed: 0.3s;
}
/* Root Variables */
:root {
  --color-white: #ffffff;
  --color-bg-light: #ffffff;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-text-dark: #111827;
  --color-primary: #2563eb;
  --color-border: #e5e7eb;
  --color-operator: #f5e6d3; /* Deep navy blue */
  --color-service: #03045e; /* Warm cream */
  --color-duration: #d4a5a5; /* Dusty rose */
  --transition-speed: 0.3s;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --container-max-width: 1280px;
  --card-height: clamp(350px, 60vh, 400px);
}

/* Base Section Styles */
.projects-section {
  padding: 2rem 1rem;
  background-color: var(--color-white);
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
  max-width: 1200px;
}

.project-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

/* Header Styles */
.services-header {
  max-width: var(--container-max-width);
  margin: 0 auto 1.5rem auto;
}

.services-title {
  font-size: clamp(1.25rem, 5vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.services-title span {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 800;
  background: linear-gradient(
    45deg,
    var(--color-primary) 0%,
    var(--color-hover) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  text-align: left;
  line-height: 1.2;
}

.services-description {
  font-size: clamp(0.875rem, 3vw, 1.15rem);
  color: var(--color-text-light);
  max-width: 800px;
  line-height: 1.6;
}

@media screen and (max-width: 480px) {
  .services-header span {
    font-size: 1.25rem;
  }
}

/* Carousel Container */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 0 -1rem;
  padding: 0 1rem;
}

/* Carousel Track */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  margin: 0 -0.5rem;
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 0 0.5rem;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-light);
  border-radius: 0 25px 0px 0px;
  transition: transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
  overflow: hidden;
  border: 1px solid black;
  height: 400px;
}

.card:hover {
  box-shadow: var(--card-shadow);
  transform: translate(-2px, -2px);
}

.card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

.card-content {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 5;
  transition: opacity 0.3s ease-in-out 0.1s,
    /* Added delay for fade out */ transform 0.3s ease-in-out 0.1s;
}

.card:hover .card-content {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.card-hover-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0s ease-in-out 0.1s,
    /* Added delay for fade in */ visibility 0.3s ease-in-out 0.2s,
    transform 1s ease-in-out 0.2s;
  z-index: 10;
}

.card:hover .card-hover-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

/* Card Tags */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.card-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
}

.card-tag.operator {
  background-color: var(--color-operator);
  color: var(--color-background);
}

.card-tag.service {
  background-color: var(--color-service);
  color: var(--color-white);
}

.card-tag.duration {
  background-color: var(--color-duration);
  color: var(--color-text);
}

.card-tag-static {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  background-color: var(--color-service);
  color: var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-tag-static:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Card CTA */
.card-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.card-cta:hover {
  gap: 0.5rem;
}

/* Navigation Controls */
.carousel-navigation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Carousel Arrows Container */
.carousel-arrows {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Arrow Buttons */
.carousel-button {
  background: var(--color-service);
  color: var(--color-white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed);
  border: 1px solid var(--color-service);
  font-size: 1.25rem;
  position: relative;
  z-index: 2;
}

.carousel-button:hover {
  background: var(--color-white);
  color: var(--color-service);
  transform: translateY(-2px);
}

.carousel-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Dots Navigation */
.carousel-dots {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-speed);
  border: 1px solid var(--color-service);
}

.dot:hover {
  background: var(--color-text-light);
}

.dot.active {
  background: var(--color-service);
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .carousel-navigation {
    flex-direction: column;
    gap: 1.5rem;
  }

  .carousel-arrows {
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  .carousel-dots {
    position: static;
    transform: none;
    order: 1;
  }
}

@media (min-width: 768px) {
  .carousel-button {
    width: 48px;
    height: 48px;
  }

  .dot {
    width: 12px;
    height: 12px;
  }
}

@media (min-width: 1024px) {
  .carousel-navigation {
    margin-top: 1rem;
  }

  .carousel-button {
    opacity: 0.8;
  }

  .carousel-button:hover {
    opacity: 1;
  }
}

/* View All Button */
.view-all-projects {
  text-align: left;
  margin-top: 2rem;
}

.view-all-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background-color: var(--color-service);
  color: var(--color-white);
  border-radius: 0 15px 0 0;
  font-weight: 500;
  transition: all var(--transition-speed);
  border: 1px solid var(--color-service);
}

.view-all-button:hover {
  background-color: var(--color-white);
  color: var(--color-service);
  transform: translateY(-2px);
}

/* Loading States */
.card-image.loading {
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* Tablet Breakpoint */
@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 50%;
  }

  .project-container {
    padding: 0 2rem;
  }

  .card-content {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.25rem;
  }
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 33.333%;
  }

  .projects-section {
    padding: 4rem 1rem;
  }

  .carousel-navigation {
    margin-top: 3rem;
  }

  /* Hover Effects */
  .card {
    cursor: pointer;
  }

  .card:hover .card-content {
    transform: translateY(-10px);
  }
}

/* Large Desktop Breakpoint */
@media (min-width: 1280px) {
  .project-container {
    padding: 0;
  }

  .card-title {
    font-size: 1.375rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .carousel-track,
  .card,
  .card-image img,
  .carousel-button,
  .dot,
  .view-all-button {
    transition: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--color-text);
  }

  .carousel-button,
  .view-all-button {
    border: 2px solid currentColor;
  }

  .dot {
    border: 1px solid var(--color-text);
  }
}

/* Print Styles */
@media print {
  .carousel-navigation,
  .view-all-projects {
    display: none;
  }

  .carousel-track {
    transform: none !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .carousel-slide {
    opacity: 1;
  }
}

/*************************
 * Services Section
 *************************/
.services-section {
  padding: 4rem 1rem;
  background-color: var(--color-white);
  border-radius: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-section-title {
  text-align: left;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-carousel {
  display: flex;
  background-color: var(--color-white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.services-navigation {
  width: 350px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 2rem;
}

.services-navigation h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-hover);
}

.service-nav-item {
  display: block;
  padding: 1rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  position: relative;
  text-decoration: none;
  color: var(--color-white);
}

.service-nav-item:hover,
.service-nav-item.active {
  background-color: var(--color-hover);
}

.service-nav-item::after {
  content: "→";
  position: absolute;
  right: 15px;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.service-nav-item:hover::after,
.service-nav-item.active::after {
  opacity: 1;
}
.services-content {
  flex: 1;
  padding: 2rem;
  background: var(--color-white);
}

.service-panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.service-panel.active {
  display: block;
}

.service-panel-title {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-panel-description {
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  counter-reset: feature;
  margin-bottom: 2rem;
}

.service-feature-item {
  position: relative;
  background: var(--color-accent);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--color-primary);
  transition: transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

.service-feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-feature-item::before {
  content: counter(feature);
  counter-increment: feature;
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.service-cta {
  position: relative;
  text-align: center;
  padding: 2.5rem;
  background: var(--color-accent);
  border-radius: 0.5rem;
  margin-top: 2rem;
  overflow: hidden;
  transition: transform var(--transition-speed) ease;
}

.service-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-speed) ease;
}

.service-cta:hover::before {
  transform: scaleX(1);
}

.cta-title {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-description {
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all var(--transition-speed) ease;
  font-weight: 600;
}

.cta-button.secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.cta-button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-button.secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.cta-arrow {
  margin-left: 0.5rem;
  transition: transform var(--transition-speed) ease;
}

.cta-button:hover .cta-arrow {
  transform: translateX(4px);
}

/* Responsive Design Improvements */
@media (max-width: 1200px) {
  .services-section {
    padding: 3rem 2rem;
  }

  .services-container {
    flex-direction: column;
    max-width: 100%;
  }

  .services-navigation {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
  }

  .services-navigation h2 {
    grid-column: 1 / -1;
    text-align: center;
  }

  .service-nav-item {
    text-align: center;
    margin-bottom: 0;
  }

  .services-content {
    padding: 1.5rem;
  }
}
/* Tablet Styles (768px to 1024px) */
@media screen and (max-width: 1024px) {
  .services-carousel {
    flex-direction: column;
  }

  .services-navigation {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 1.5rem;
  }

  .services-navigation h2 {
    width: 100%;
    margin-bottom: 1rem;
  }

  .service-nav-item {
    flex: 1 1 calc(33.333% - 1rem);
    margin-bottom: 0;
    text-align: center;
    padding: 0.75rem;
  }

  .service-nav-item::after {
    display: none;
  }

  .service-content-wrapper {
    grid-template-columns: 1fr;
  }

  .service-features {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .cta-button-group {
    flex-wrap: wrap;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile Styles (up to 767px) */
@media screen and (max-width: 767px) {
  .services-section {
    padding: 2rem 2rem;
  }

  .services-navigation {
    padding: 1rem;
  }

  .service-nav-item {
    flex: 1 1 100%;
    font-size: 0.9rem;
  }

  .services-content {
    padding: 1rem;
  }

  .service-panel-title {
    font-size: 1.5rem;
  }

  .service-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-feature-item {
    padding: 1.25rem;
    font-size: 0.9rem;
  }

  .service-feature-item::before {
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
  }

  .service-cta {
    padding: 1.5rem;
  }

  .cta-title {
    font-size: 1.25rem;
  }

  .cta-description {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Improve touch targets for mobile */
  .service-nav-item,
  .cta-button {
    min-height: 44px;
  }
}

/* Additional improvements for very small screens */
@media screen and (max-width: 375px) {
  .services-section {
    padding: 1.5rem 2rem;
  }

  .service-panel-title {
    font-size: 1.25rem;
  }

  .service-feature-item {
    padding: 1rem;
  }
}

/* Handle landscape orientation */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .services-navigation {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .service-nav-item {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }
}

/* Print styles */
@media print {
  .services-carousel {
    box-shadow: none;
  }

  .service-nav-item:not(.active) {
    display: none;
  }

  .service-feature-item {
    break-inside: avoid;
  }

  .service-cta {
    display: none;
  }
}

/*************************
 * Values Section
 *************************/
.values-section {
  padding: 4rem 2.5rem;
  background-color: var(--color-accent-lighter);
  color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 2% 5%,
      rgba(3, 4, 94, 0.03) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 98% 98%,
      rgba(0, 119, 182, 0.03) 0%,
      transparent 30%
    );
  pointer-events: none;
}

.main-tagline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(
    45deg,
    var(--color-primary) 0%,
    var(--color-hover) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  text-align: left;
  line-height: 1.2;
}

.introduction {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.6;
  color: #666;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  text-align: left;
  max-width: 800px;
}

.values-container {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.value-card {
  width: 100%;
  padding: clamp(1.25rem, 3vw, 1.5rem);
  background: var(--color-white);
  border-radius: 0 25px 0 25px;
  border: 1px solid #000;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateX(5px);
  border-color: var(--color-hover);
  box-shadow: 0 5px 15px rgba(3, 4, 94, 0.1);
}

.value-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 1rem;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 0.75rem;
}

.value-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-hover);
}

.highlight-letter {
  color: var(--color-hover);
  font-size: clamp(1.5rem, 3.5vw, 1.8rem);
  font-weight: bold;
}

.value-description {
  color: var(--color-text);
  line-height: 1.5;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background-color: var(--color-service);
  color: var(--color-white);
  font-weight: 500;
  transition: transform var(--transition-speed),
    background-color var(--transition-speed);
  border: 1px solid var(--color-service);
}

.cta-button:hover {
  background-color: var(--color-white);
  color: var(--color-service);
  transform: translateY(-2px);
}

/* Values Section Media Queries */
@media screen and (min-width: 1024px) {
  .values-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .values-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .values-container {
    grid-template-columns: 1fr;
  }

  .values-section {
    padding: 2rem 1rem;
  }

  .value-card:hover {
    transform: translateY(-3px);
    transform: none;
  }
}

/* Common Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .carousel-track,
  .service-nav-item,
  .value-card,
  .cta-button,
  .project-card {
    transition: none;
  }

  .service-panel {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .carousel-navigation,
  .services-navigation {
    display: none;
  }

  .project-card,
  .value-card {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* Layout & Components */
.cta {
  background-color: black; /* primary color */
  color: #fff;
  padding: 4rem 0;
}

.cta-container {
  width: 90%;
  max-width: 1110px;
  margin: 0 auto;
}

.columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.heading {
  font-size: 2.5rem;
  font-weight: 700;
}

.subheading {
  font-size: 1.1rem;
  color: #a9d6e5;
  max-width: 45ch;
}

.button-cta {
  background-color: #a9d6e5; /* accent color */
  color: #03045e; /* primary color */
  border: none;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-cta:hover {
  background-color: #0077b6; /* hover color */
  color: #fff;
}

/* Responsive */
@media (max-width: 50em) {
  .columns {
    flex-direction: column;
    text-align: center;
  }

  .heading {
    font-size: 2rem;
  }
}