:root {
  --primary: #0d6efd;
  --primary-light: rgba(13, 110, 253, 0.1);
  --primary-dark: #0b5ed7;
  --dark: #343a40;
  --light: #f8f9fa;
  --white: #ffffff;
  --navbar-height: 80px;
  --navbar-height-mobile: 70px;
  --transition: all 0.3s ease;
  --border-radius: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  line-height: 1.6;
  padding-top: var(--navbar-height);
  background-color: var(--white);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  margin-top: calc(-1 * var(--navbar-height));
  padding-top: var(--navbar-height);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
}

.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.3) 100%);
  z-index: -1;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

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

.service-card {
  height: 100%;
}

.icon-box {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

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

/* Testimonials */
.testimonial-item {
  background-color: var(--light);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

/* Footer */
.footer {
  background-color: var(--dark);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

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

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px) scale(1.1);
}

/* Animations */
@keyframes fadeIn {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Utility Classes */
.section {
  padding: 5rem 0;
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  body {
    padding-top: var(--navbar-height-mobile);
  }
  
  .hero-section {
    margin-top: calc(-1 * var(--navbar-height-mobile));
    padding-top: var(--navbar-height-mobile);
  }
  
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .icon-box {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 2.5rem 0;
  }
}