/* ==========================================================================
   Riverrine homepage ? cohesive brand theme
   River teal + mist atmosphere (not dark-navy islands / purple AI)
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --rr-ink: #0f2a32;
  --rr-ink-soft: #334155;
  --rr-teal: #0d9488;
  --rr-teal-bright: #14b8a6;
  --rr-aqua: #1ab7d8;
  --rr-mist: #f0f7f8;
  --rr-mist-deep: #e2eef0;
  --rr-sand: #f7faf9;
  --rr-white: #ffffff;
  --rr-line: rgba(15, 42, 50, 0.1);
  --rr-shadow: 0 18px 48px rgba(15, 42, 50, 0.1);
}

body {
  font-family: "Source Sans 3", "Open Sans", sans-serif;
  color: var(--rr-ink-soft);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(20, 184, 166, 0.12), transparent 55%),
    radial-gradient(900px 420px at 95% 8%, rgba(26, 183, 216, 0.1), transparent 50%),
    var(--rr-sand);
}

h1, h2, h3, h4, h5,
.section-header .section-title,
.navbar-brand {
  font-family: "Outfit", "Montserrat", sans-serif;
  color: var(--rr-ink);
}

a {
  color: var(--rr-teal);
}

a:hover, a:focus {
  color: var(--rr-aqua);
}

.section {
  padding: 72px 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header .section-title {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.section-header .section-title:before {
  display: none;
}

.section-header .section-subtitle,
.creatives-section .section-subtitle,
#services .section-subtitle {
  color: var(--rr-ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 42rem;
  margin: 0.65rem auto 0;
}

.btn-common {
  background: linear-gradient(135deg, var(--rr-teal) 0%, var(--rr-aqua) 100%);
  border: none;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.bg-defult {
  background: linear-gradient(135deg, #0f766e 0%, #0e7490 55%, #1ab7d8 100%) !important;
}

/* Nav ? Get a Quote prominence */
.navbar-expand-md .navbar-nav .nav-link.btn-quote-nav {
  margin-left: 0.5rem;
  padding: 0.45rem 1.15rem !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rr-teal) 0%, var(--rr-aqua) 100%);
  color: #fff !important;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.35);
}

.navbar-expand-md .navbar-nav .nav-link.btn-quote-nav:before {
  display: none;
}

.navbar-expand-md .navbar-nav .nav-link.btn-quote-nav:hover,
.bg-white .navbar-nav .nav-link.btn-quote-nav:hover,
.menu-bg .navbar-nav .nav-link.btn-quote-nav:hover {
  color: #fff !important;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.navbar-expand-md .navbar-nav .nav-link.btn-login-nav {
  background: transparent;
  color: var(--rr-ink) !important;
  border: 1.5px solid rgba(13, 148, 136, 0.45);
  border-radius: 999px;
  padding: 0.4rem 1rem !important;
  font-weight: 600;
}

.navbar-expand-md .navbar-nav .nav-link.btn-login-nav:before {
  display: none;
}

.bg-white .navbar-nav .nav-link.btn-login-nav,
.menu-bg .navbar-nav .nav-link.btn-login-nav {
  color: var(--rr-ink) !important;
}

/* ==========================================================================
   Why Choose Us ? replaces top hero carousel
   ========================================================================== */
#slider-area {
  background: transparent;
}

.why-choose-hero {
  position: relative;
  padding: 7.5rem 0 4.25rem;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(15, 42, 50, 0.92) 0%, rgba(15, 76, 92, 0.88) 42%, rgba(13, 148, 136, 0.78) 100%),
    url("../img/bg/hero-area-2.jpg") center / cover no-repeat;
  color: #f8fafc;
}

.why-choose-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(26, 183, 216, 0.28), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(15, 42, 50, 0.35) 100%);
  pointer-events: none;
}

.why-choose-hero .container {
  position: relative;
  z-index: 1;
}

.why-choose-brand {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 0.85rem;
  max-width: 16ch;
}

.why-choose-kicker {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #99f6e4;
  margin-bottom: 0.75rem;
}

.why-choose-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.92);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.why-choose-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-bottom: 2.75rem;
}

.btn-quote-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f2a32 !important;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  border: none;
}

.btn-quote-hero:hover {
  color: #0f2a32 !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff !important;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost-hero:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

.why-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.75rem;
}

.why-point h4 {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem;
  letter-spacing: 0.02em;
}

.why-point p {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .why-choose-hero {
    padding: 6.25rem 0 3.25rem;
  }
  .why-points {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .why-choose-brand {
    max-width: none;
  }
}

/* ==========================================================================
   Services ? light cohesive panels (no orphan dark Education card)
   ========================================================================== */
#services {
  background: linear-gradient(180deg, var(--rr-mist) 0%, var(--rr-white) 55%, var(--rr-mist-deep) 100%);
}

.services-top-grid {
  margin-bottom: 1.5rem;
}

.svc-panel,
.svc-verticals {
  background: rgba(255, 255, 255, 0.88);
  color: var(--rr-ink);
  border: 1px solid var(--rr-line);
  border-radius: 4px;
  padding: 1.35rem 1.25rem 1.4rem;
  height: 100%;
  margin-bottom: 1.25rem;
  box-shadow: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.svc-panel:hover,
.svc-verticals:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: var(--rr-shadow);
}

.svc-verticals {
  padding: 1.5rem 1.35rem 0.75rem;
  margin-top: 0.5rem;
}

.svc-verticals-title h3 {
  color: var(--rr-ink);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  padding-bottom: 0;
  border-bottom: none;
}

.svc-verticals-note {
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rr-line);
  color: var(--rr-teal);
  font-size: 0.9rem;
  font-weight: 600;
}

.svc-list a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.svc-list a:hover,
.svc-list a:focus {
  color: var(--rr-teal);
  text-decoration: underline;
  outline: none;
}

.svc-list li:hover::before {
  background: var(--rr-aqua);
  box-shadow: 0 0 0 3px rgba(26, 183, 216, 0.2);
}

.svc-vert {
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.15rem 0.5rem;
}

.svc-panel-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.svc-panel-head h4 {
  margin: 0;
  color: var(--rr-ink);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.svc-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--rr-teal), var(--rr-aqua));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

.svc-icon i {
  font-size: 1.1rem;
  color: #fff;
}

.svc-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.15rem;
}

.svc-list li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1rem;
  color: var(--rr-ink-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rr-teal-bright);
}

/* Education sits with verticals ? balanced row, no orphan dark block */
.svc-verticals .row {
  display: flex;
  flex-wrap: wrap;
}

.svc-verticals .row > [class*="col-"] {
  display: flex;
}

.svc-verticals .svc-vert {
  width: 100%;
}

/* ==========================================================================
   Creative Ads ? stable carousel (no Ken Burns fight)
   ========================================================================== */
.creatives-section {
  background: linear-gradient(180deg, var(--rr-white) 0%, var(--rr-mist) 100%);
}

#creatives-carousel {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--rr-shadow);
  background: #0f2a32;
  overflow-anchor: none;
}

/* Lock 16:9 on the INNER ? never on each slide.
   Bootstrap fade shows 2 display:block items mid-transition; padding-bottom
   on each item doubled the carousel height and bounced the page. */
#creatives-carousel .carousel-inner {
  position: relative;
  width: 100%;
  height: 0;
  /* Creatives are 1536x1024. Match that ratio so the headline is not cropped. */
  padding-bottom: 66.6667%;
  overflow: hidden;
}

#creatives-carousel .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  padding-bottom: 0;
  margin: 0;
  float: none;
  transform: none !important;
  transition: opacity 0.55s ease-in-out;
  backface-visibility: hidden;
}

#creatives-carousel.carousel-fade .carousel-item {
  opacity: 0;
}

#creatives-carousel.carousel-fade .carousel-item.active,
#creatives-carousel.carousel-fade .carousel-item-next.carousel-item-left,
#creatives-carousel.carousel-fade .carousel-item-prev.carousel-item-right {
  opacity: 1;
  z-index: 1;
}

#creatives-carousel.carousel-fade .active.carousel-item-left,
#creatives-carousel.carousel-fade .active.carousel-item-right {
  opacity: 0;
  z-index: 0;
}

#creatives-carousel .creatives-link {
  display: block;
  position: absolute;
  inset: 0;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

#creatives-carousel .creatives-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}

#creatives-carousel .creatives-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.5rem 2.5rem;
  background: linear-gradient(transparent, rgba(15, 42, 50, 0.88));
  color: #f8fafc;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  z-index: 2;
}

#creatives-carousel .creatives-caption-center {
  justify-content: center;
  text-align: center;
}

#creatives-carousel .creatives-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #99f6e4;
  width: 100%;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
}

#creatives-carousel .creatives-caption strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}

#creatives-carousel .creatives-cta {
  margin-left: auto;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: 999px;
  color: #0f2a32;
  background: linear-gradient(135deg, #fff 0%, #ccfbf1 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

#creatives-carousel .creatives-link:hover .creatives-cta {
  filter: brightness(1.05);
}

#creatives-carousel .creatives-caption-center .creatives-cta {
  margin-left: 0;
}

#creatives-carousel .carousel-control-prev,
#creatives-carousel .carousel-control-next {
  width: 56px;
  opacity: 1;
  z-index: 5;
}

#creatives-carousel .carousel-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 42, 50, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

#creatives-carousel .carousel-control-prev:hover .carousel-control,
#creatives-carousel .carousel-control-next:hover .carousel-control {
  background: var(--rr-teal);
}

.creatives-indicators {
  bottom: 10px;
  max-width: 92%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  z-index: 5;
}

.creatives-indicators li {
  width: 16px;
  height: 5px;
  flex: 0 0 auto;
  background-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.creatives-indicators li.active {
  background-color: var(--rr-teal-bright);
}

@media (max-width: 767px) {
  #creatives-carousel .creatives-caption {
    padding: 0.9rem 1rem 2.2rem;
  }
  #creatives-carousel .creatives-caption strong {
    font-size: 1.15rem;
  }
  #creatives-carousel .creatives-cta {
    margin-left: 0;
  }
}

/* ==========================================================================
   Call action / features / contact cohesion
   ========================================================================== */
.call-action {
  background:
    linear-gradient(120deg, rgba(240, 247, 248, 0.95), rgba(226, 238, 240, 0.95)),
    var(--rr-mist);
}

.call-action .cta-trial h3 {
  font-family: "Outfit", sans-serif;
  color: var(--rr-ink);
  letter-spacing: 0.03em;
}

.call-action .cta-trial p {
  color: var(--rr-ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.call-action .cta-trial .btn-common {
  font-size: 0.9rem;
  padding: 0.85rem 1.75rem;
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.28);
}

#features {
  background: var(--rr-white);
}

#features .featured-content h4 {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

#features .featured-icon i {
  color: var(--rr-teal);
}

#contact.section {
  background: linear-gradient(160deg, #0f4c5c 0%, #0d7377 45%, #14919b 100%) !important;
}

#contact .section-title {
  color: #fff;
}

#contact .section-subtitle {
  color: rgba(248, 250, 252, 0.88) !important;
}

/* Team ? river-teal headshot card (overrides leftover testimonial look) */
#team.team-section,
.team-section.testimonial {
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(20, 184, 166, 0.1), transparent 60%),
    linear-gradient(180deg, var(--rr-mist) 0%, var(--rr-white) 55%, var(--rr-mist-deep) 100%);
}

.team-section > .container > .row > h2 {
  font-family: "Outfit", sans-serif;
  color: var(--rr-ink);
  letter-spacing: -0.02em;
}

.team-member-card {
  max-width: 420px;
  border-radius: 18px;
  border: 1px solid rgba(13, 148, 136, 0.14);
  background: var(--rr-white);
  box-shadow: var(--rr-shadow);
}

.team-member-photo {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  border: 3px solid rgba(13, 148, 136, 0.55);
  box-shadow:
    0 0 0 7px rgba(20, 184, 166, 0.14),
    0 12px 30px rgba(13, 148, 136, 0.24);
  background: var(--rr-mist-deep);
}

.team-member-photo img {
  object-fit: cover;
  object-position: center center;
}

.team-member-info h3 {
  font-family: "Outfit", sans-serif;
  color: var(--rr-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.team-member-title {
  color: var(--rr-teal);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.team-member-info .description {
  color: var(--rr-ink-soft);
  font-family: "Source Sans 3", "Open Sans", sans-serif;
}

.team-linkedin-btn {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rr-teal) 0%, var(--rr-aqua) 100%);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.28);
}

.team-linkedin-btn:hover,
.team-linkedin-btn:focus {
  background: linear-gradient(135deg, #0f766e 0%, #1599b6 100%);
  filter: brightness(1.04);
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.38);
}

.footer-Content {
  background: #0f2a32;
}
