:root {
  --color-primary: #1a202c;
  --color-secondary: #27ae60;
  --color-accent: #f39c12;
  --color-bg: #f9fafb;
  --color-surface: #ffffff;
  --color-text-dark: #1f2937;
  --color-text-light: #4b5563;
  --color-border: #e5e7eb;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;
  
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --navbar-height: 80px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  line-height: 1.2;
  color: var(--color-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #219653;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.section {
  padding: 5rem 0;
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.logo a {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 1px;
}

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

.nav-links a {
  font-weight: 600;
  color: var(--color-text-dark);
  transition: color var(--transition-fast);
}

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

/* Hero */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  background-image: url('assets/Clients_slider1.webp');
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 32, 44, 0.9), rgba(26, 32, 44, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: slideUp var(--transition-normal);
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  opacity: 0.9;
}

.hero-btn {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.trust-badges {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 1.1rem;
}

/* About Section */
.about-section {
  background-color: var(--color-surface);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* Services */
.services-section {
  background-color: var(--color-bg);
}

.services-subtitle {
  color: var(--color-text-light);
  margin-bottom: 4rem;
  font-size: 1.125rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-surface);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.icon-wrapper {
  background-color: #e8f5e9;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon {
  color: var(--color-secondary);
  width: 40px;
  height: 40px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

/* Marquee Section */
.marquee-section {
  background-color: var(--color-surface);
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
}

/* Gradient fade on edges */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--color-surface), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--color-surface), transparent);
}

.marquee-track {
  display: inline-flex;
  animation: scrollMarquee 30s linear infinite;
  gap: 3rem;
  padding: 0 1.5rem;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track img {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  border-radius: var(--radius-md);
  filter: grayscale(100%);
}

.marquee-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

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

/* Carousel */
.carousel-section {
  background-color: var(--color-bg);
}

.carousel-subtitle {
  color: var(--color-text-light);
  margin-bottom: 3rem;
  font-size: 1.125rem;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-btn {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  z-index: 2;
}

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

.carousel-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 250px;
}

.carousel-card {
  background: var(--color-surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--color-border);
  animation: fadeIn var(--transition-normal);
}

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

.stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.stars i {
  color: var(--color-accent);
  fill: var(--color-accent);
  width: 20px;
  height: 20px;
}

.review-text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.review-author {
  color: var(--color-primary);
  font-weight: 700;
  margin: 0;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: var(--color-border);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

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

/* Footer */
footer {
  padding: 2rem 0;
  background: var(--color-primary);
  color: white;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  text-decoration: underline;
}

.footer-links a:hover {
  color: white;
}

/* Privacy Policy Page */
.privacy-page {
  padding: 4rem 0;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.privacy-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.privacy-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile fix, a real menu would use a hamburger */
  }
  
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .carousel-card {
    padding: 2rem 1.5rem;
  }
  .review-text {
    font-size: 1.1rem;
  }
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .carousel-btn.left {
    left: -15px;
  }
  .carousel-btn.right {
    right: -15px;
  }
  .carousel-btn:hover {
    transform: translateY(-50%) scale(1.05);
  }
}
