:root {
  --primary: #10471dd8;
  --primary-dark: #0a3416;
  --primary-light: #2d5f3a;
  --secondary: #a5b4a5;
  --secondary-light: #c8d4c8;
  --dark-text: #1a1a1a;
  --light-text: #6b7280;
  --white: #ffffff;
  --accent-green: #5e695e;
  --success-green: #22c55e;
  --bg-light: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  background: var(--bg-gradient);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--dark-text);
  font-weight: 400;
  overflow-x: hidden;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
}

/* Navigation - From your original CSS */
#mainNav {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#mainNav .navbar-brand {
  color: var(--dark-text) !important;
  font-weight: 700;
  font-size: 1.25rem;
}

#mainNav .navbar-brand:hover {
  color: var(--primary) !important;
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: var(--dark-text) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 0;
  margin: 0 1rem;
  transition: all 0.3s ease;
  position: relative;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active {
  color: var(--primary) !important;
}

#mainNav .navbar-nav .nav-item .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Hero Module - Clean Solid Background */
.hero-module {
  min-height: 70vh;
  background: var(--primary);
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 72px;
}

.hero-module::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-family: 'Inter', sans-serif;
}

.hero-description {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
  max-width: 700px;
  margin: 0 auto;
}

/* Remove floating elements CSS since they're no longer used */

/* Stats Module - Glassmorphism Cards */
.stats-module {
  padding: 6rem 0;
  position: relative;
  background: transparent;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: rgba(16, 71, 29, 0.3);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.stat-label {
  font-size: 1rem;
  color: var(--light-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Inter', sans-serif;
}

/* Content Modules - Beautiful Cards */
.content-section {
  padding: 6rem 0;
}

.content-module {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  padding: 4rem;
  margin-bottom: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.module-header {
  text-align: center;
  margin-bottom: 4rem;
}

.module-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
}



.module-subtitle {
  font-size: 1.3rem;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* Engagement Items - Modern Cards */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .engagement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.engagement-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.engagement-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(16, 71, 29, 0.2);
}

.engagement-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--white);
  font-size: 2.5rem;
  box-shadow: 0 15px 30px rgba(16, 71, 29, 0.3);
  transition: all 0.3s ease;
}

.engagement-item:hover .engagement-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 40px rgba(16, 71, 29, 0.4);
}

.engagement-item h5 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.engagement-item p {
  color: var(--light-text);
  font-size: 1rem;
  line-height: 1.6;
}

/* Client Categories - Elegant Design */
.client-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.client-categories-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .client-categories-2x2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 992px) {
  .client-categories {
    grid-template-columns: 1fr;
  }
}

.category-module {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  padding: 3rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.category-module:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(16, 71, 29, 0.2);
}

.category-header {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(16, 71, 29, 0.1);
}

.category-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin-right: 1.5rem;
  box-shadow: 0 12px 24px rgba(16, 71, 29, 0.3);
}

.category-header h5 {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0;
}

.client-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.client-list li {
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  color: var(--dark-text);
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.client-list li:hover {
  color: var(--primary);
  background: rgba(16, 71, 29, 0.05);
  padding-left: 1rem;
}

.client-list li i {
  color: var(--success-green);
  margin-right: 1rem;
  font-size: 1.1rem;
}

/* Filter Module - Sophisticated Pills */
.filter-module {
  text-align: center;
  margin-bottom: 4rem;
}

.filter-pills {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.75rem;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-pill {
  background: transparent;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 500;
  color: var(--light-text);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.filter-pill.active,
.filter-pill:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 71, 29, 0.3);
}

.form-select {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(16, 71, 29, 0.2);
  border-radius: 50px;
  color: var(--dark-text);
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  max-width: 320px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}

.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(16, 71, 29, 0.15);
}

/* Testimonials - Hover to Expand Magic */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial-module {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 28px;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 350px;
}

.testimonial-module:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border-color: rgba(16, 71, 29, 0.3);
}

.testimonial-module.hidden {
  display: none;
}

.quote-icon {
  position: absolute;
  top: -5px;
  left: 25px;
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: 'Playfair Display', serif;
}

.industry-tag {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(16, 71, 29, 0.3);
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.client-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(16, 71, 29, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.client-info h5 {
  margin: 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
}

.client-info small {
  color: var(--light-text);
  font-size: 0.95rem;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
}

/* Testimonial Text with Smooth Hover Expand */
.testimonial-content {
  position: relative;
}

.testimonial-text {
  font-style: italic;
  color: var(--dark-text);
  font-size: 1.05rem;
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  transition: all 0.5s ease;
  max-height: 4.5em;
  overflow: hidden;
  position: relative;
}

.testimonial-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5em;
  background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.9) 70%, rgba(255, 255, 255, 0.95) 100%);
  transition: opacity 0.5s ease;
}

.testimonial-module:hover .testimonial-text {
  max-height: 50em;
}

.testimonial-module:hover .testimonial-text::after {
  opacity: 0;
}

/* Hover Indicator */
.hover-indicator {
  position: absolute;
  bottom: 20px;
  right: 25px;
  background: rgba(16, 71, 29, 0.1);
  color: var(--primary);
  padding: 0.5rem;
  border-radius: 50%;
  font-size: 0.9rem;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.testimonial-module:hover .hover-indicator {
  opacity: 0;
  transform: scale(0.8);
}

/* CTA Module - Clean Solid Background */
.cta-module {
  background: var(--bg-light);
  padding: 6rem 0;
  position: relative;
}

.cta-module::before {
  display: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--primary);
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.cta-text {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-family: 'Inter', sans-serif;
}

.cta-button {
  background: var(--white);
  color: var(--primary);
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--white);
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Footer Module */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 5rem 0 3rem 0;
  position: relative;
}

footer h4 {
  color: var(--white);
  margin-bottom: 2rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

.footer-divider {
  width: 60px;
  height: 4px;
  background: var(--white);
  opacity: 0.8;
  margin-bottom: 2rem;
  border-radius: 2px;
}

.footer-text {
  color: rgba(255,255,255,0.95);
  line-height: 1.7;
  margin-bottom: 0.8rem;
  font-family: 'Inter', sans-serif;
}

.footer-link {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .module-title {
    font-size: 2.5rem;
  }
  
  .filter-pills {
    display: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .engagement-grid {
    grid-template-columns: 1fr;
  }
  
  .client-categories {
    grid-template-columns: 1fr;
  }
  
  .content-module {
    padding: 2.5rem;
  }
  
  .stats-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Animation Classes */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide-in {
  animation: slideInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.fade-in-scale {
  animation: fadeInScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Loading States */
.testimonial-module {
  opacity: 0;
  animation: fadeInScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.testimonial-module:nth-child(1) { animation-delay: 0.1s; }
.testimonial-module:nth-child(2) { animation-delay: 0.2s; }
.testimonial-module:nth-child(3) { animation-delay: 0.3s; }
.testimonial-module:nth-child(4) { animation-delay: 0.4s; }
.testimonial-module:nth-child(5) { animation-delay: 0.5s; }
.testimonial-module:nth-child(6) { animation-delay: 0.6s; }