/* Home Page Specific Styles */

/* Hero Section */

.hero {
  padding: 10rem 0 6rem;
  display: flex;
  align-items: center;
  position: relative;
}

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

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero-content .subheading {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: #000000;
  max-width: 90%;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Square-ish buttons for hero to match design */
.hero-ctas .btn {
  border-radius: 4px;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(36, 51, 83, 0.3);
}

.btn-outline:hover {
  border-color: var(--color-primary);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(36, 51, 83, 0.15);
}

.hero-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Floating Badge */
.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--color-accent);
  color: var(--color-text-dark);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 12px 24px rgba(252, 227, 153, 0.4);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.badge-icon {
  font-size: 1.5rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 1.125rem;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.badge-text span {
  font-size: 0.75rem;
  opacity: 0.8;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Stats Bar */
.stats-bar {
  background-color: var(--color-primary);
  padding: 3rem 0;
  color: var(--color-text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item h3 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-family: var(--font-heading);
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
}

.stat-item p {
  font-family: var(--font-subheading);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

/* Expertise / Services Section */
.expertise {
  background-color: #f8f6fc; /* Very light lavender to match image */
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .subheading {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(36, 51, 83, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(36, 51, 83, 0.08);
}

.service-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(65, 86, 135, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.service-card p {
  color: #000000;
  font-size: 0.95rem;
  flex-grow: 1;
}

/* CTA Card (6th item in grid) */
.service-card.cta-card {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  justify-content: space-between;
}

.cta-card h3 {
  color: var(--color-text-light);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.cta-card .btn {
  border-radius: 4px;
  font-size: 0.9rem;
  align-self: flex-start;
}

/* Bottom CTA Banner */
.bottom-cta {
  padding: 2rem 0 6rem;
  background-color: #f8f6fc;
}

.cta-banner-wrapper {
  background-color: var(--color-primary);
  border-radius: 24px;
  padding: 5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(36, 51, 83, 0.2);
}

.cta-banner-wrapper .subheading {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.cta-banner-wrapper h2 {
  color: var(--color-text-light);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.cta-banner-wrapper p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-family: var(--font-body);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-white {
  background-color: #fff;
  color: var(--color-primary);
  border-radius: 4px;
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.03);
}

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.btn-outline-white:hover {
  border-color: #fff;
  transform: scale(1.03);
}
