/* TeamLMI Hero Component */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--hero-bg, #0066cc);
}

.hero--primary {
  min-height: 500px;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 102, 204, 0.7);
  z-index: 1;
}

/* Hero Background */
.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero__bg-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  width: 100%;
}

.hero__text {
  max-width: 800px;
  color: var(--hero-text, #ffffff);
}

.hero__title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold, 700);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #003e7e;
  text-shadow: none;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 2rem;
  display: inline-block;
}

.hero__subtitle {
  font-size: var(--font-size-xl, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--hero-text, #ffffff);
  opacity: 0.95;
}

.hero__subtitle p {
  margin-bottom: 0.5rem;
  color: inherit;
}

/* Hero Actions */
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Service Highlight Sections */
.section--blue {
  background-color: var(--service-section-bg, #0066cc);
  color: var(--service-section-text, #ffffff);
  padding: 4rem 0;
}

.section--blue:nth-child(odd) {
  background-color: #0066cc;
}

.section--blue:nth-child(even) {
  background-color: #004499;
}

.section--blue h2,
.section--blue h3 {
  color: var(--service-section-text, #ffffff);
}

.section--blue .section__title {
  font-size: var(--font-size-3xl, 1.875rem);
  margin-bottom: 0.5rem;
}

.section--blue .section__subtitle {
  font-size: var(--font-size-xl, 1.25rem);
  font-weight: var(--font-weight-normal, 400);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.section--blue .section__content {
  font-size: var(--font-size-lg, 1.125rem);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.section--blue .section__content p,
.section--blue .section__content li {
  color: var(--service-section-text, #ffffff);
}

.section--blue .section__content ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.section--blue .section__content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.section--blue .section__content li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #66ccff;
  font-weight: bold;
}

.section--blue .section__link {
  color: var(--service-section-text, #ffffff);
  text-decoration: underline;
  font-weight: 500;
  font-size: var(--font-size-base, 1rem);
  transition: opacity 0.2s ease;
}

.section--blue .section__link:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* Contact CTA Section */
.section--contact {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
}

.contact-cta {
  max-width: 800px;
  margin: 0 auto;
}

.contact-cta h2 {
  font-size: var(--font-size-4xl, 2.25rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-cta p {
  font-size: var(--font-size-xl, 1.25rem);
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.contact-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-cta__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-lg, 1.125rem);
}

.phone-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--font-size-xl, 1.25rem);
}

/* Text Utilities */
.text-center {
  text-align: center;
}

/* Hero Carousel */
.hero-carousel {
  background: #f8f9fa;
  padding: 0;
  position: relative;
}

.carousel__slides {
  position: relative;
  min-height: 200px;
}

.carousel__slide {
  padding: 3rem 0;
  display: none;
  color: white;
}

.carousel__slide--active {
  display: block;
  background-color: #0066cc;
}

.carousel__slide[data-bg="#004499"] {
  background-color: #004499;
}

.carousel__slide[data-bg="#303030"] {
  background-color: #303030;
}

.carousel__title {
  font-size: 1.875rem;
  color: white;
  text-align: center;
  margin: 0;
  font-weight: 700;
}

.carousel__taglines {
  padding: 2rem 0;
  text-align: center;
  background: white;
}

.carousel__tagline {
  color: #007dc3;
  font-size: 1.125rem;
  margin: 0.5rem 0;
}

/* Coaching Carousel */
.coaching-carousel {
  position: relative;
}

.coaching-carousel__items {
  position: relative;
  min-height: 200px;
}

.coaching-item {
  display: none;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.coaching-item.active {
  display: block;
}

.coaching-item h3 {
  color: #0066cc;
  margin-bottom: 1rem;
}

.coaching-item h3 a {
  color: inherit;
}

.readmore {
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
}

.readmore:hover {
  text-decoration: underline;
}

.coaching-carousel__nav {
  text-align: center;
  margin-top: 1rem;
}

.carousel-nav {
  background: #dee2e6;
  border: none;
  color: #666;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-nav.active,
.carousel-nav:hover {
  background: #0066cc;
  color: white;
}

/* Partners Grid */
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
}

.partner-logo {
  height: 60px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.partner-logo:hover {
  opacity: 1;
}

/* Section Variations */
.section--gray {
  background-color: #f8f9fa;
}

.section--gray h2 {
  color: #0066cc;
}

.section--gray p {
  color: #333;
}

.section__link--blue {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.section__link--blue:hover {
  text-decoration: underline;
}

.section__float-image {
  float: right;
  margin: 0 0 1rem 2rem;
  max-width: 300px;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero {
    min-height: 300px;
  }

  .hero--primary {
    min-height: 350px;
  }

  .hero__title {
    font-size: var(--font-size-4xl, 2.25rem);
    padding: 0.75rem 1rem;
    word-wrap: break-word;
    max-width: 100%;
  }

  .hero__subtitle {
    font-size: var(--font-size-lg, 1.125rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

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

  .section--blue {
    padding: 2.5rem 0;
  }

  .section--blue .section__title {
    font-size: var(--font-size-2xl, 1.5rem);
  }

  .contact-cta h2 {
    font-size: var(--font-size-3xl, 1.875rem);
  }

  .section__float-image {
    float: none;
    margin: 0 auto 1.5rem;
    max-width: 100%;
    display: block;
  }
}

/* Small phones */
@media (max-width: 375px) {
  .hero {
    min-height: 250px;
  }

  .hero__title {
    font-size: 1.75rem;
    padding: 0.5rem 0.75rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .carousel__title {
    font-size: 1.5rem;
  }
}