*,
*::before,
*::after {
  font-family: 'Roboto', sans-serif !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif;
}
body {
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif;
}

/* Palette definitions */
:root[data-theme='theme1'] {
  --primary: #f77c55;
  --secondary: #1f3645;
  --light: #f3f5f7;
  --background: #fafafa;
  --text: #1f3645;
}
:root[data-theme='theme2'] {
  --primary: #ff90bb;
  --secondary: #8accd5;
  --light: #ffc1da;
  --background: #f8f8e1;
  --text: #2a4759;
}
:root[data-theme='theme3'] {
  --primary: #a0c878;
  --secondary: #ddeb9d;
  --light: #faf6e9;
  --background: #fffdf6;
  --text: #2a4759;
}
:root[data-theme='theme4'] {
  --primary: #3f72af;
  --secondary: #112d4e;
  --light: #dbe2ef;
  --background: #f9f7f7;
  --text: #112d4e;
}
:root[data-theme='theme5'] {
  --primary: #27548a;
  --secondary: #183b4e;
  --light: #dda853;
  --background: #f3f3e0;
  --text: #183b4e;
}
:root[data-theme='theme6'] {
  --primary: #b6b09f;
  --secondary: #000000;
  --light: #eae4d5;
  --background: #f2f2f2;
  --text: #000000;
}

body {
  background: var(--background);
  color: var(--text);
  margin: 0;
}
.navbar {
  background: var(--secondary);
}
.navbar-brand,
.nav-link {
  color: #fff !important;
}
header {
  background: var(--secondary);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.section-heading {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}
section {
  padding: 3rem 0;
}
.card {
  border: none;
  border-radius: 0.5rem;
}
.card-body {
  padding: 2rem;
}
.btn-primary {
  background: var(--primary);
  border: none;
  transition: background-color 0.3s ease;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--secondary);
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.9;
}
footer {
  background: var(--secondary);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}
.swatch {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  border-radius: 0.25rem;
}
@media (max-width: 576px) {
  #contact-button,
  #appt-button {
    width: 100% !important;
  }
  .hero-header h1 {
    /* smaller font (you already have this) */
    font-size: 2rem !important;
    /* add side padding so it never touches the edges */
    padding: 0 1rem !important;
    /* if you want a little extra vertical space: */
    margin-bottom: 0.5rem;
    margin-top: 2rem; /* more on small screens */
  }
  .hero-header p {
    font-size: 1rem !important; /* shrink the subtitle */
    margin: 0 0 1rem; /* some breathing room */
  }
  .hero-header {
    padding: 60px 10px 40px !important; /* reduce padding */
  }
}
.consultant-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}
#samira-bio,
#maria-bio {
  text-align: justify;
  line-height: 2;
}
#about-text {
  text-align: justify;
  line-height: 2;
}

.cert-img {
  width: 300px;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  display: inline-block;
}

/* Navbar */
.navbar {
  background-color: rgba(42, 71, 89, 0.9); /* --secondary with transparency */
  backdrop-filter: blur(6px);
  transition: background-color 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.navbar-nav .nav-link {
  color: var(--light);
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
}

.navbar .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-header {
  position: relative;
  overflow: hidden; /* prevent any child from spilling out */
  background-position: center; /* center the image */
  background-repeat: no-repeat;
  background-size: cover; /* cover the entire area */
  color: var(--light);
  padding: 120px 20px 80px;
  text-align: center;
  display: flex; /* center content flexibly */
  align-items: center;
  justify-content: center;
}

.hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42, 71, 89, 0.7); /* --secondary overlay */
}

.hero-header .container {
  position: relative;
  z-index: 2;
}

.hero-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
}

.hero-header p {
  font-size: 1.25rem;
  color: var(--light);
}

.navbar-brand img {
  margin-right: 0.25rem; /* instead of 0.5rem */
  vertical-align: middle;
}

.grecaptcha-badge {
  visibility: hidden;
}
