@import url("https://fonts.googleapis.com/css2?family=Stack+Sans+Headline:wght@200..700&display=swap");

:root {
  --color-primary: #0b2a60;
  --color-secondary: #2663e9;

  --font-primary: "Stack Sans Headline", sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-primary);
}

body {
  background-color: #ffffff;
  overflow-x: hidden;
}

p {
  font-size: .9rem;
  font-weight: 100;
  opacity: .9;
  letter-spacing: 1px;
  word-spacing: .2em;
}

/* NAVBAR */
.navbar {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #f0f0f0;
  padding: 10px 5vw;
  border-bottom: 1px solid #e0e0e0;
  height: 80px;
  z-index: 9;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 105px;
  width: auto;
}

.menu-toggle {
  position: relative;
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-primary);
  cursor: pointer;
  transform: scaleY(.8);
  z-index: 10;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5em;
}

.nav-links a {
  text-decoration: none;
  color: #4a4a4a;
  font-size: 15px;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.nav-links li:not(:last-child) a:hover {
  color: var(--color-secondary);
}

.nav-links a.active {
  color: var(--color-secondary);
  font-weight: 600;
}

@media(max-width: 669px) {

  .navbar {
    height: auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 1em;
    padding-top: 1.5em;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: .5em 1em 1.5em 1em;
    border-radius: 0 0 10px 10px;
    background-color: #f0f0f0;
  }

  .nav-links.active {
    display: flex;
  }

  .logo-container img {
    height: auto;
    width: 100%;
  }
}

/* SLIDER */

.hero {
  position: relative;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  background-color: #000;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 10%;

  opacity: 0;
  transition: opacity 1s ease-in;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-content {
  color: #fff;
  max-width: 800px;
}

.slide-content h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
}

.slide-content h1 .colored {
  color: var(--color-secondary);
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.884) 0%, rgba(0, 0, 0, 0.623) 70%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
}

.slide-content {
  position: relative;
  color: #fff;
  max-width: 800px;
  z-index: 3;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-secondary);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  margin-top: 1em;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;

  animation: pulse-effect 2s infinite ease-in-out;
}

.btn-learn-more:hover {
  background-color: var(--color-primary);
  animation-play-state: paused;
}

@keyframes pulse-effect {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--color-secondary);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 15px 10px rgba(201, 59, 59, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(201, 59, 59, 0);
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  padding: 15px;
  z-index: 5;
  transition: color 0.2s;
}

.slider-btn:hover {
  color: #fff;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

@media (max-width: 768px) {
  .slide-content h1 {
    font-size: 2rem;
  }

  .slider-btn {
    font-size: 1.5rem;
  }
}

@media(max-width: 669px) {
  .hero-slider {
    height: 50vh;
  }
}

.location {
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.location-wrapper {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  padding: 12px 40px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  width: 85%;
  max-width: 1100px;
}

.location-title {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
}

.divider {
  border-left: 2px dashed var(--color-secondary);
  height: 24px;
  margin: 0 25px;
}

.location-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  width: 100%;
}

.location-list a {
  display: inline-block;
  text-decoration: none;
  color: #555555;
  font-size: 15px;
  font-weight: 500;
  transform: scale(1);
  transition: transform 0.3s ease-out, color 0.3s ease;
}

.location-list a:hover {
  transform: scale(1.2);
  color: var(--color-primary);
}

.location-list a.highlight {
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 849px) {
  .location {
    display: none;
  }
}

/****** SECTIONS ******/

section .container,
footer .container {
  margin: 0 14vw;
}

section .wrapper {
  padding: 6em 0 3em;
}

section h2 {
  font-size: 1.8rem;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  opacity: .9;
}

section h3 {
  font-size: 1.1rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: .9;
}

section p {
  line-height: 24px;
}

.bg-blue {
  background-color: var(--color-primary);
}

.bg-gray {
  background-color: #2b2b2a;
}

@media (max-width: 1198px) {

  section .container,
  footer .container {
    margin: 0 8vw;
  }

  section .wrapper,
  footer .wrapper {
    padding: 4em 0 3em;
  }

}

@media(max-width: 669px) {

  section .container,
  footer .container {
    margin: 0 5vw;
  }
}

/* ABOUT */

.about-grid {
  display: flex;
  align-items: stretch;
  gap: 4rem;
}

.about-content {
  flex: 2;
  color: #ffffff;
  padding: 1em 2em 1em 0;
}

.about-image-wrapper {
  display: flex;
  flex: 1.5;
}

.about-subtitle {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.about-title {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  font-weight: 500;
  max-width: 90%;
  letter-spacing: 2px;
  word-spacing: .5em;
}

.about-text {
  margin-bottom: 3rem;
  color: #fff;
  text-align: justify;
}

.about-actions {
  display: flex;
  gap: 1.2rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem .75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.btn-solid {
  background-color: #000000;
  color: #ffffff;
  transition: background-color .2s ease, color .2s ease;
}

.btn-solid:hover {
  background-color: #fff;
  color: var(--color-primary);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  transition: background-color .2s ease, border .2s ease;
}

.btn-outline:hover {
  background-color: #000000;
  border: 1px solid #000000;
}

.about-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 20px 20px 20px 0;
}

@media (max-width: 992px) {
  .about-grid {
    flex-direction: column;
    gap: 3rem;
  }

  .about-title {
    font-size: 2.2rem;
    max-width: 100%;
  }

  .about-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: cover;
  }
}

/* CHOOSE */

.choose-content {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  z-index: 1;
}

.choose-lead {
  color: #000000;
  font-weight: 500;
  margin-bottom: 2.5rem;
  letter-spacing: normal;
  word-spacing: normal;
}

.choose-text {
  text-align: justify;
  padding-bottom: 1.5em;
  border-bottom: solid 1px #8a8a8a1f;
}

/* SERVICES */

.services-heading {
  margin-bottom: 4rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 4rem;
  align-items: stretch;
}

.service-card {
  border-radius: 24px 24px 24px 0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 2px 10px rgba(0, 0, 0, 0.015);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 1.5em 2em 1.5em;
  margin-top: 2rem;
  transition: box-shadow .5s ease;
}

.service-card:hover {
  box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.089), 0 2px 10px rgba(0, 0, 0, 0.048);
}

.service-card .card-image-outer {
  transform: translate(-1.5em, -3em);
}

.service-card .card-image-outer img {
  width: calc(100% + 1.5em);
  border-radius: 24px 24px 24px 0;
  box-shadow: 15px 15px 30px rgba(41, 41, 41, 0.178), 0 2px 10px rgba(0, 0, 0, 0.144);
}

.service-card .card-title {
  margin-bottom: .8em;
}

.service-card .card-text {
  margin-bottom: 1em;
}

.service-card .card-link {
  text-decoration: none;
  color: unset;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: .9;
  transition: color .5s ease;
}

.service-card .card-link span {
  margin-left: 1em;
}

.service-card .card-link:hover {
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* SOLUTIONS */

.solutions-heading {
  text-align: center;
  font-weight: 700;
  margin-bottom: 4rem;
}

.solutions-split {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

.solutions-banner {
  flex: 0 0 350px;
  width: 350px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px 24px 24px 0;
}

.solutions-grid {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em 1em;
}

.solution-block {
  position: relative;
  display: flex;
  flex-direction: column;
  border: solid 1px #bbbbbb10;
  border-radius: 24px 24px 24px 0;
  box-shadow: 0 0 0 #41414115;
  transform: scale(1);
  padding: 1em;
  overflow: hidden;
  transition: all .5s ease-out;
}

.solution-block:hover {
  box-shadow: -7px 7px 15px #4141411f;
  transform: scale(1.05);
}

.solution-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-secondary);
  border-radius: 24px 24px 24px 0;
  opacity: 0;
  transform: scale(0);
  transition: all .5s ease;
  transition-delay: .1s;
  z-index: -1;
}

.solution-block:hover::after {
  transform: scale(1);
  opacity: .05;
}

.solution-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.2rem;
  filter: brightness(0) saturate(100%) invert(11%) sepia(44%) saturate(4943%) hue-rotate(214deg) brightness(95%) contrast(105%);
}

.solution-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.solution-title {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.solution-text {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.solution-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.solution-link:hover {
  color: #000;
}

.solution-link span {
  display: inline-block;
  transform: translateX(.2em);
  transition: transform .3s ease;
}

.solution-link:hover span {
  transform: translateX(1em);
}

@media (max-width: 1024px) {
  .solutions-split {
    flex-direction: column;
    gap: 3rem;
  }

  .solutions-banner {
    display: none;
  }
}

@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* PARTNERS */

.partners-card {
  background: #ffffff;
  border-radius: 24px 24px 24px 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.17);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.partners-badge {
  background-color: var(--color-primary, #0f2c59);
  padding: 2.5rem 3.5rem 2.5rem 2.5rem;
  border-radius: 24px 24px 24px 0px;
  flex-shrink: 0;
  z-index: 3;
  display: flex;
  align-items: center;
}

.partners-badge h2 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0;
  white-space: pre-line;
}

.partners-logos-window {
  flex-grow: 1;
  overflow: hidden;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  position: relative;
}

.partners-logos-window::before,
.partners-logos-window::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  z-index: 2;
  pointer-events: none;
}

.partners-logos-window::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 60%, rgba(255, 255, 255, 0));
}

.partners-logos-window::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 60%, rgba(255, 255, 255, 0));
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  z-index: 1;
}

.logo-item {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 1.5rem;
  flex-shrink: 0;
}

.logo-item img {
  max-width: 100%;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

@media (max-width: 992px) {
  .partners-card {
    flex-direction: column;
    align-items: stretch;
  }

  .partners-badge {
    border-radius: 24px 24px 0 0;
    text-align: center;
    padding: 2rem;
    display: block;
  }

  .partners-logos-window {
    padding: 2.5rem 1.5rem;
  }

  .partners-logos-window::before,
  .partners-logos-window::after {
    width: 1.5rem;
  }
}

/* APPOINTMENTS */

.appointment-card {
  display: flex;
  border-radius: 24px 24px 24px 0;
  overflow: hidden;
  box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.219);
}

.card-image {
  flex: 1.3;
  min-width: 50%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.locations-block {
  background-color: #2b2b2a;
  color: #ffffff;
  padding: 40px;
  flex: 1;
}

.locations-block h3 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 700;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.locations-grid li {
  font-size: 15px;
  display: flex;
  align-items: center;
  color: #cccccc;
}

.pin-icon {
  margin-right: 8px;
  font-size: 12px;
  opacity: 0.8;
}

.cta-block {
  background-color: var(--color-secondary);
  color: #ffffff;
  padding: 40px;
}

.cta-block h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 700;
}

.cta-block p {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 40px;
}

.btn-contact {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid #ffffff;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: #ffffff;
  color: var(--color-secondary);
}

.phone-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-icon {
  background-color: #ffffff;
  color: var(--color-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-label {
  display: block;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8);
}

.phone-number {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: block;
  margin-top: 2px;
  letter-spacing: 1px;
}

@media (max-width: 919px) {
  .appointment-card {
    flex-direction: column;
  }

  .card-image img {
    height: 300px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* NEWSLETTER */

.newsletter-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.newsletter-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.newsletter-icon {
  background-color: var(--color-secondary);
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.newsletter-text h2 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.newsletter-text p {
  color: #cccccc;
  font-size: 14px;
  margin: 0;
}

.newsletter-form {
  flex: 1;
  max-width: 450px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 4px;
  background-color: #fcfcfc;
  font-size: 14px;
  color: #333333;
  outline: none;
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: #888888;
}

.btn-subscribe {
  background-color: var(--color-secondary);
  color: #ffffff;
  border: none;
  padding: 12px 36px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.btn-subscribe:hover {
  background-color: var(--color-primary);
}

@media (max-width: 991px) {
  .newsletter-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .newsletter-info {
    flex-direction: column;
    gap: 15px;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .form-group {
    align-items: center;
  }
}

/* FOOTER */

footer .wrapper {
  padding-top: 2em;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col {
  flex: 1;
  min-width: 180px;
}

.brand-info {
  flex: 1;
  min-width: 240px;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

.brand-info p {
  color: #555555;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.footer-col h3 {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 16px;
}

.footer-links li::before {
  content: "‣";
  color: var(--color-secondary);
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -6px;
}

.footer-links a {
  color: #555555;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.social-icon {
  color: var(--color-primary);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.social-icon:hover {
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.copyright-section {
  border-top: 1px solid #9191912f;
}

.copyright {
  padding: .5em 0;
}

.copyright p {
  color: #555555;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  opacity: .8;
}

@media (max-width: 991px) {
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .brand-info {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-info {
    grid-column: span 1;
  }
}

/* DIAMOND BACKGROUND FILLER */

.dia-left,
.dia-right {
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 0;
}

.dia-left::after,
.dia-right::after {
  content: "";
  position: absolute;
  top: 25%;
  bottom: 0;
  height: 1000px;
  width: 1000px;
  border-radius: 100px;
  transform: rotate(45deg);
  background: linear-gradient(180deg, #edf2fa 0%, #f5f8fc 100%);
  z-index: -1;
}

.dia-left::after {
  left: -500px;
}

.dia-right::after {
  right: -500px;
}