:root {
  --primary: #0a7c86;
  --primary-dark: #075a61;
  --accent: #f2b84b;
  --surface: #ffffff;
  --surface-soft: #f5fbfb;
  --text: #1f2a37;
  --muted: #5f6b7a;
  --shadow: 0 12px 30px rgba(10, 124, 134, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef9f9 0%, #f9fcfc 55%, #ffffff 100%);
}

body > .container-fluid:first-child {
  display: none;
}

nav.navbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary)) !important;
  padding: 0.9rem 1.4rem;
  box-shadow: 0 8px 20px rgba(7, 90, 97, 0.18);
}

.navbar-nav {
  width: 100%;
  align-items: center;
  gap: 0.35rem;
}

.navbar-nav .nav-item:first-child {
  margin-right: 0.7rem;
}

.navbar-nav img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.25rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary-dark);
  background-color: #ffffff;
}

.row {
  width: min(1100px, calc(100% - 2rem));
  margin-left: auto !important;
  margin-right: auto !important;
}

.row.justify-content-center {
  text-align: center;
  margin-top: 3.2rem;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.h2,
h2 {
  color: var(--primary-dark);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(10, 124, 134, 0.08);
  animation: riseFade 0.9s ease-out both;
}

.row.justify-content-center > div {
  color: var(--primary);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem) !important;
  font-weight: 600;
  animation: riseFade 1.1s ease-out both;
}

p {
  max-width: 780px;
  margin: 0 auto 1.5rem auto;
  color: var(--muted);
  font-size: 1.08rem !important;
  line-height: 1.8;
  animation: fadeSoft 1.3s ease-out both;
}

.homeButton
{
  display: block;
  width: 100%;
  min-height: 150px;
  margin: 0.85rem 0;
  border: 1px solid rgba(10, 124, 134, 0.2);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 251, 0.98));
  box-shadow: var(--shadow);
  color: var(--text);
  padding: 1.4rem 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}


.homeButton:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 124, 134, 0.38);
  box-shadow: 0 18px 34px rgba(10, 124, 134, 0.18);
}


.btn img {
  width: 50px !important;
  height: 50px;
  object-fit: contain;
  margin-bottom: 0.7rem;
}

.btn h6 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-dark);
}


.text-muted {
  color: var(--muted) !important;
  font-size: 1rem;
  line-height: 1.8;
}

body > div:not(.row):not(.container-fluid) {
  width: min(950px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

body > div[style*="margin: 10%"],
body > div[style*="margin: 15%"] {
  margin: 2.5rem auto !important;
}

body > div:not(.row):not(.container-fluid):has(h3),
body > div:not(.row):not(.container-fluid):has(.text-muted) {
  background: var(--surface);
  border: 1px solid rgba(10, 124, 134, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2rem 2rem 1.5rem;
}

.row .col {
  padding: 0.6rem;
}

.btn-outline-primary {
  color: var(--primary-dark);
  border-color: rgba(10, 124, 134, 0.4);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #ffffff;
}

@keyframes riseFade {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSoft {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  nav.navbar {
    padding: 0.8rem 1rem;
  }

  .navbar-nav {
    gap: 0.15rem;
  }

  .navbar-dark .navbar-nav .nav-link {
    padding: 0.45rem 0.75rem;
    font-size: 0.95rem;
  }

  .row.justify-content-center {
    margin-top: 2.2rem;
  }

  button.btn,
  .btn {
    min-height: 130px;
    padding: 1.1rem 0.85rem;
  }

  body > div:not(.row):not(.container-fluid):has(h3),
  body > div:not(.row):not(.container-fluid):has(.text-muted) {
    padding: 1.4rem 1.1rem 1rem;
  }
}