:root {
  --base-color: #0ea5b7;
  --base-color-dark: #0b7f8c;
  --ink: #12232e;
  --ink-soft: #4a5a66;
  --surface-muted: #f5f8fa;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--ink-soft);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  padding-top: 56px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
}

a {
  color: var(--base-color);
}

a:hover {
  color: var(--base-color-dark);
}

/* Navbar */
nav.navbar {
  background-color: var(--ink) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.logo {
  width: 55%;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--base-color) !important;
}

/* Hero header */
#header {
  background: linear-gradient(120deg, rgba(11, 25, 33, 0.85), rgba(14, 165, 183, 0.55)),
    url("assets/images/brain.jpg") fixed center no-repeat;
  position: relative;
  height: 480px;
  background-size: cover;
}

.header-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 100%;
  padding: 0 1rem;
}

.header-text h1 {
  color: #fff;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.01em;
}

.header-text h2 {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0.25rem 0;
}

@media (min-width: 768px) {
  .header-text h1 {
    font-size: 3rem;
  }
}

/* Section headers */
.section-header {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0.75rem auto 0;
  background: var(--base-color);
  border-radius: 2px;
}

.site-section-heading {
  font-size: 30px;
  color: grey;
  position: relative;
}

.site-section-heading h2,
.site-section-heading h3 {
  font-weight: 600;
}

/* Services */
#ourServices {
  background-color: var(--surface-muted);
}

#ourServices .fas {
  font-size: 36px;
}

.service {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  height: 100%;
  margin-bottom: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(18, 35, 46, 0.08);
}

#contactUs .service:hover {
  transform: none;
  box-shadow: none;
}

.service i {
  color: var(--base-color);
}

.service h5 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* About page */
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 64px auto 60px;
  padding: 3rem 2.5rem;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(18, 35, 46, 0.08);
}

.about-container .image-container {
  width: 160px;
  height: 160px;
  margin-bottom: 24px;
}

.about-container .image-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--base-color);
  box-shadow: 0 4px 14px rgba(18, 35, 46, 0.15);
}

.about-container .text-container {
  text-align: center;
}

.about-container .text-container h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.about-container .text-container p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: left;
  margin-bottom: 15px;
}

.about-container .links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 1.5rem;
}

.about-container .links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--base-color);
  text-decoration: none;
  border: 1px solid var(--base-color);
  border-radius: 50%;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.about-container .links a:hover {
  background-color: var(--base-color);
  color: white;
}

@media (max-width: 576px) {
  .about-container {
    margin: 32px 16px 40px;
    padding: 2rem 1.5rem;
  }
}

/* Footer */
footer {
  color: rgba(255, 255, 255, 0.7);
  background-color: var(--ink);
  padding: 1.5rem 0;
}

footer .lead {
  font-size: 0.9rem;
}
