/* =========================
   RESET & VARIABLES
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text-color: #111827;
  --bg-color: #ffffff;
  --accent-red: #b91c1c;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

/* ================= CENTER ALL CONTENT ================= */

main,
.section,
.container,
.about-page {
  text-align: center;
}

main p,
.section p,
.container p {
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
}

/* =========================
   HEADER / NAV
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  border-bottom: 3px solid var(--accent-red);
  z-index: 1000;
}

.nav {
  max-width: 1100px;
  height: 128px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.logo {
  height: 100%;
  z-index: 2;
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}

/* Flag background */
.nav-flag {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 128px;
  background-image: linear-gradient(to left, rgba(255,255,255,0) 70%, white 100%),
  url("usa-flag.png");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* =========================
   NAV LINKS
========================= */
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  z-index: 2;
}

.nav-link {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-color);
  position: relative;
  padding-bottom: 6px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ==============================
   GRANT PROFILE IMAGE WRAP
============================== */


/* ================= CENTERED WRAP LAYOUT ================= */

.grant-profile {
  max-width: 850px;   /* controls overall centered width */
  margin: 4rem auto;  /* centers section */
  text-align: left;   /* required for clean wrapping */
}

.grant-photo {
  float: left;
  width: 240px;
  height: 360px;
  object-fit: cover;
  object-position: top;
  margin: 0 2rem 1rem 0;
  border-radius: 12px;
}

/* Clear float */
.grant-profile::after {
  content: "";
  display: block;
  clear: both;
}

.grant-text {
  max-width: 100%;
}

/* =========================
   HAMBURGER MENU
========================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #111;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Hamburger X state */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}

.menu-toggle.open span {
  background: var(--accent-red);
}

/* =========================
   MAIN & HERO
========================= */
.container {
  max-width: 800px;   /* controls overall content width */
  margin: 4rem auto;  /* centers horizontally */
  padding: 2rem 1.5rem;
  text-align: center; /* centers text */
}

main {
  margin-top: 158px;
}

.hero {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 2rem 1rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
}

.btn-book {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent-red);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.3s ease;
}

.btn-book:hover {
  background: #861313;
  transform: translateY(-2px);
}

/* =========================
   SECTIONS
========================= */
.section {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 2rem 1rem;
  text-align: center;
}

.btn-secondary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
  background: var(--accent-red);
  color: white;
}

/* Service Cards */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.service-card {
  flex: 1 1 300px;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 1.5rem;
}

/* ================= IMAGE SLIDER ================= */

.image-slider {
  margin: 4rem 0;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  height: 400px;
  object-fit: cover;
}

/* Navigation buttons */

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.slide-btn:hover {
  background: rgba(0,0,0,0.7);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* =========================
   SCROLL ANIMATIONS
========================= */
.animate-on-scroll,
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible,
.scroll-animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ABOUT PAGE
========================= */
.about-page .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.about-page h1,
.about-page h2 {
  color: var(--text-color);
  margin-bottom: 1rem;
  text-align: center;
}

.about-page p {
  color: #555;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
  text-align: center;
}
/* ================= MISSION SECTION ================= */

.about-mission {
  background: #f3f4f6;
  padding: 2rem 1.5rem;
  border-bottom: 3px solid;
}

.mission-container {
  max-width: 800px;
  margin: 0 auto;
}

.mission-statement {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.8;
  color: #1f2937;
}
/* ================= FEATURE LIST ================= */

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  color: black; /* adjust if needed */
}

/* Custom bullet */
.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #c62828; /* red accent to match brand */
  font-weight: bold;
}

/* Optional subtle hover effect */
.feature-list li:hover {
  transform: translateX(4px);
  transition: 0.2s ease;
}
.service-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

/* Team Cards (Grant only) */
.team-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.team-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  flex: 1 1 250px;
  max-width: 300px;
}

.team-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}
/* =========================
   CONTACT PAGE
========================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form label {
  font-weight: 700;
  color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-book {
  align-self: start;
}

/* Social Links */
.social-links a {
  display: inline-block;
  margin: 0 1rem;
  color: var(--accent-red);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #861313;
}
.contact-hero,
.appointment-notice,
.transfer-checklist,
.service-limitations,
.contact-details {
  max-width: 800px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.transfer-checklist ul {
  margin-top: 20px;
}
.contact-list {
  list-style: none;
}
/* ================= HORIZONTAL CONTACT LAYOUT ================= */

.contact-horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 3rem auto;
  flex-wrap: wrap;
}

/* Smaller centered map */

.contact-map {
  width: 350px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Social icons */

.social-left a,
.social-right a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #f3f4f6;
  color: var(--accent-red);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-left a:hover,
.social-right a:hover {
  background: var(--accent-red);
  color: white;
  transform: translateY(-4px);
}

/* Email */

.contact-email {
  margin-top: 1.5rem;
  text-align: center;
}
/* ================= ULTRA MINIMAL CONNECT ================= */

.contact-connect {
  text-align: center;
}

.connect-minimal {
  margin-top: 25px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.connect-minimal a {
  text-decoration: none;
  color: #c62828; /* your accent color */
  transition: opacity 0.2s ease;
}

.connect-minimal a:hover {
  opacity: 0.7;
}

.separator {
  margin: 0 10px;
  opacity: 0.4;
}
/* ================= RIGHTS OF SERVICE ================= */

.rights-of-service {
  margin-top: 5rem;
  padding: 3rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.rights-of-service h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.rights-of-service p {
  max-width: 750px;
  margin: 0 auto 1.25rem auto;
  line-height: 1.7;
}

.rights-list {
  max-width: 700px;
  margin: 1.5rem auto 2rem auto;
  text-align: left;
  padding-left: 1.2rem;
}

.rights-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.rights-closing {
  font-weight: 500;
}
/* ===== Logo Spin ===== */
.logo-spin {
  animation: rotateLogo 0.8s ease-out;
}

@keyframes rotateLogo {
  from {
    transform: rotate(-180deg);
    opacity: 0;
  }
  to {
    transform: rotate(0deg);
    opacity: 1;
  }
}
/* ================= PRICING PAGE ================= */

.pricing-page h1 {
  margin-bottom: 1rem;
}

.pricing-intro {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: #555;
}

.pricing-section {
  margin-bottom: 4rem;
}

.pricing-section h2 {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.pricing-list li span {
  flex: 1;
}

.pricing-list li strong {
  margin-left: 1rem;
}

.pricing-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Consultation highlight */
.consultation-section {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
}

/* Policies subtle styling */
.policies-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
}
/* =========================
   FOOTER
========================= */
.site-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #e5e7eb;
}

/* =========================
   MOBILE STYLES
========================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 128px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 24px;
    transform: translateY(-185%);
    transition: transform 0.3s ease;
    z-index: 1050;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .service-cards {
    flex-direction: column;
    align-items: center;
  }
  .grant-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .grant-photo {
    float: none;
    display: block;

    width: 90%;              /* slightly smaller than full width */
    max-width: 400px;        /* prevents it from getting too large */
    height: 220px;           /* shorter crop */

    object-fit: cover;
    object-position: center 10%;

    margin: 0 auto 1.5rem auto;  /* center it */
  }

  .grant-text {
    text-align: center;
  }
}

