/* ================================
   CUSTOM PROPERTIES & ROOT STYLES
   ================================ */
:root {
  --color-red: #d65349;
  --color-blue-dark: #213244;
  --color-blue-slate: #4b6781;
  --color-blue-light: #84a5cb;
  --color-blue-accent: #a6cdfa;
  --color-gold: #eec277;
  --color-dark-nav: #1F2A44;
  --color-white: #ffffff;
  --color-light-gray: #e3e3e3;
  --color-text-light: #999;
  --color-text-medium: #555;
  --color-text-dark: #333;
  
  --shadow-text-light: 1px 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-text-medium: 2px 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-text-heavy: 4px 4px 4px rgba(0, 0, 0, 0.7);
  --shadow-text-glow: 0 0 20px rgba(255, 255, 255, 0.3);
  --shadow-box: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-box-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  --transition-smooth: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  
  --font-primary: 'Trebuchet MS', sans-serif;
  --font-alt: 'Roboto', Arial, sans-serif;
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;
  --font-display-alt: 'Libre Baskerville', serif;
  --home-ink: #0d1624;
  --home-slate: #2f3f54;
  --home-mist: #eff2f6;
  --home-ice: #f7f9fc;
  --home-accent: #2e5d8a;
  --home-accent-strong: #1f73b7;
}

/* ================================
   BASE & RESET STYLES
   ================================ */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  background-image: linear-gradient(#213244b3, rgba(33, 50, 68, 0.7)), url('../images/WhiteInteriorImage');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
}

body.no-image {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: Arial, sans-serif;
  background-color: var(--color-blue-dark);
}

body.no-image.about {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(132, 165, 203, 0.45), rgba(132, 165, 203, 0) 58%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(255, 255, 255, 0) 1px 10px),
    linear-gradient(0deg, #1f2a44 0%, #2b3d56 50%, #1a2436 100%) !important;
  background-color: #1f2a44;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: auto, auto, auto, 100% 100%;
}

body.no-image.locations,
body.no-image.faq,
body.no-image.contact {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(132, 165, 203, 0.45), rgba(132, 165, 203, 0) 58%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(255, 255, 255, 0) 1px 10px),
    linear-gradient(0deg, #1f2a44 0%, #2b3d56 50%, #1a2436 100%) !important;
  background-color: #1f2a44;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: auto, auto, auto, 100% 100%;
}

body.no-image.about.about-pulse .about-container {
  animation: about-container-pulse 1.2s ease;
}

@keyframes about-container-pulse {
  0% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
  }
  100% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
  }
}


h5 {
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: var(--shadow-text-heavy), var(--shadow-text-glow);
  color: var(--color-white);
  letter-spacing: 1px;
  margin-bottom: 0%;
}

#services_page_p {
  font-size: 1.5rem;
  font-weight: normal;
  text-shadow: var(--shadow-text-medium), var(--shadow-text-glow);
  color: var(--color-white);
  letter-spacing: 1px;
}


/* ================================
   LAYOUT COMPONENTS
   ================================ */
.container {
  position: relative;
  width: 100%;
  height: 100%;
}

.bodyframe {
  background-color: var(--color-red);
  border-radius: 15px;
  box-shadow: var(--shadow-box);
  padding: 30px;
  margin: 20px auto;
  height: 600px;
  width: 600px;
  text-align: center;
}

.content .bodyframe h1 {
  color: var(--color-white);
  margin: 0;
  font-size: 2.5rem;
  text-shadow: var(--shadow-text-light);
}

/* ================================
   NAVIGATION / TOP BAR
   ================================ */
.top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: auto;
  max-height: 80px;
  overflow: hidden;
  color: white;
  text-align: center;
  background-color: rgba(239, 239, 239, 0.6);
  flex-wrap: nowrap;
  padding: 2px 15px;
  gap: 10px;
}

.logo {
  color: white;
  display: block;
  text-align: left;
  height: auto;
  width: 150px;
  margin-left: 0;
  margin-top: -145px;
  padding-top: 0px;
  padding-bottom: 0px;
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
}

.top .nav-buttons {
  display: flex;
  gap: 1rem;
  margin-right: 0;
  margin-top: 35px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.top .nav-btn {
  background-color: var(--color-blue-light);
  color: var(--color-white);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: var(--transition-smooth);
  font-size: 0.9rem;
  white-space: nowrap;
}

.top .nav-btn:hover {
  background-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-box);
}

.nav-btn-primary {
  background-color: #1f73b7;
  color: var(--color-white);
}

.nav-btn-primary:hover {
  filter: brightness(1.05);
}

/* ================================
   MAIN CONTENT AREA
   ================================ */
.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  position: relative;
  text-align: center;
}

.content h1 {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.5rem, 8vw, 3.5rem);
  font-family: var(--font-primary);
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: var(--shadow-text-heavy);
  color: var(--color-white);
}

.content h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-family: var(--font-primary);
  font-weight: bold;
  text-shadow: var(--shadow-text-medium), var(--shadow-text-glow);
  color: var(--color-blue-accent);
  letter-spacing: 1px;
}

.content div p {
  position: absolute;
  top: 75%;
  left: 50%;
  width: 40%;
  transform: translate(-50%, -50%);
  color: var(--color-light-gray);
  align-items: center;
  margin-right: 10px;
  word-break: normal;
  word-wrap: break-word;
}

.content p {
  position: absolute;
  left: 50%;
  top: 22%;
  transform: translate(-50%, -50%);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-family: var(--font-primary);
  font-weight: normal;
  text-shadow: var(--shadow-text-medium), var(--shadow-text-glow);
  color: var(--color-blue-light);
  letter-spacing: 1px;
}


/* ================================
   BOTTOM / FOOTER BUTTONS
   ================================ */
.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: auto;
  height: 12vh;
  overflow: hidden;
  color: rgb(223, 0, 0);
  text-align: center;
  background-color: transparent;
  flex-shrink: 0;
}

.bottom .func-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  overflow: hidden;
  color: red;
  text-align: center;
  background-color: transparent;
}

.bottom .func-btn {
  opacity: .90;
  color: white;
  height: 100%;
  width: 25%;
  border: 1px solid #0c111b;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 2rem;
  background-color: var(--color-dark-nav);
}

.bottom a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.bottom .func-btn:hover {
  background-color: var(--color-gold);
  transform: translateY(-2px);
}

/* ================================
   FAQ PAGE STYLES
   ================================ */
.faq .content {
  height: auto;
  min-height: 80vh;
  justify-content: flex-start;
  padding: 20px 0;
  align-items: stretch;
}

.faq .content h1 {
  position: static;
  transform: none;
  margin: 0 0 30px 0;
  font-size: 2.5rem;
  text-align: center;
}

.faq .content h3 {
  position: static;
  transform: none;
  margin: 0 0 15px 0;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: left;
}

.faq .content p {
  position: static;
  transform: none;
  margin: 0 0 15px 0;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  width: auto;
  word-break: normal;
  word-wrap: normal;
}

.faq .content h4 {
  position: static;
  transform: none;
  margin: 15px 0 10px 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
}

.faq-container {
  background-color: var(--color-blue-slate);
  border-radius: 15px;
  box-shadow: var(--shadow-box);
  padding: 30px;
  margin: 20px auto;
  max-width: 1000px;
  max-height: 80vh;
  overflow-y: auto;
  text-align: left;
}

.faq-container h1 {
  color: var(--color-white);
  margin: 0 0 30px 0;
  font-size: 2.5rem;
  text-shadow: var(--shadow-text-medium);
  text-align: center;
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 15px;
}

.faq-section {
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-section h2 {
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-shadow: var(--shadow-text-medium);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.faq-item {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.faq-item h3,
.faq-item h4 {
  color: var(--color-white);
  font-weight: 600;
  text-shadow: var(--shadow-text-light);
  margin: 0;
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.faq-item h4 {
  font-size: 1.1rem;
  margin: 15px 0 10px 0;
}

.faq-item p,
.faq-item li {
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 15px 0;
  text-shadow: var(--shadow-text-light);
}

.faq-item ul,
.faq-item ol {
  color: var(--color-white);
  margin: 10px 0;
  padding-left: 25px;
}

.faq-item strong {
  color: var(--color-white);
  font-weight: 700;
  text-shadow: var(--shadow-text-medium);
}

/* Accordion Styles */
.faq-search-wrapper {
  position: relative;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.faq-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.faq-section-header .faq-controls {
  margin-top: 0;
}

.faq-control-btn {
  transform: translateY(-10px);
}

.faq-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.faq-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  background: #f1f3f7;
  border-radius: 12px;
  border: 1px solid #d3d9e4;
  overflow: hidden;
  align-items: stretch;
}

.faq-main {
  font-family: Arial, sans-serif;
  width: 100%;
  padding: 18px;
}

.faq-empty {
  display: none;
  background: linear-gradient(180deg, #f2f4f8 0%, #e7ebf2 100%);
  border-radius: 12px;
  padding: 20px 22px;
  border: 1px solid #d3d9e4;
  color: #000000;
  font-family: Arial, sans-serif;
  margin-top: 12px;
  text-align: left;
  width: 100%;
}

.faq-sidebar {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.faq-tab {
  border: none;
  background: transparent;
  color: #2f3d52;
  border-radius: 6px;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
  box-shadow: none;
  font-size: 1.05rem;
}

.faq-tab.is-active {
  background: rgba(79, 110, 155, 0.15);
  color: #2f3d52;
  box-shadow: none;
}

.faq-tab:hover {
  background: rgba(79, 110, 155, 0.12);
}

.faq-search-input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.16);
  color: #f6f8fb;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.faq-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(239, 192, 74, 0.3);
}

.search-icon {
  position: absolute;
  right: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  pointer-events: none;
}

.search-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.faq-controls {
  display: flex;
  gap: 8px;
}

.faq-control-btn {
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: #e7ebf2;
  color: #2f3d52;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: background-color 0.2s ease;
}

.faq-control-btn:hover {
  background: #dde3ee;
}

.faq-q {
  background: linear-gradient(180deg, #5f74a0 0%, #4a6088 100%);
  border: 1px solid #44597e;
  border-radius: 10px;
  width: 100%;
  padding: 14px 18px;
  color: #f6f8fb;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.faq-q:hover {
  background: linear-gradient(180deg, #6b80aa 0%, #526992 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-block;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
  border-left: 4px solid #c9d0dd;
  margin-top: 0;
  background: #f7f8fc;
  border-radius: 0 0 10px 10px;
  padding: 0 16px;
}

.faq-item.is-open .faq-a {
  max-height: 1000px;
  padding: 15px 16px 18px;
  margin-top: 8px;
}

.faq-a p,
.faq-a ul,
.faq-a ol {
  color: #000000 !important;
  text-shadow: none;
  margin: 0 0 10px 0;
  font-family: Arial, sans-serif;
  word-spacing: normal;
  letter-spacing: normal;
  line-height: 1.6;
}

.faq-a h4,
.faq-a strong {
  color: #000000;
  text-shadow: none;
  font-family: Arial, sans-serif;
}

.faq-a h4 {
  margin: 12px 0 8px;
  font-weight: 700;
}

.faq-a ul,
.faq-a ol {
  padding-left: 25px;
}

.faq-a li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.faq-highlight {
  background: rgba(239, 192, 74, 0.35);
  color: var(--color-white);
  padding: 0 3px;
  border-radius: 4px;
}

.obligations-list {
  color: #2f3d52;
  margin: 15px 0;
  padding-left: 25px;
  font-family: Arial, sans-serif;
  font-weight: 400;
  text-shadow: none;
  word-spacing: normal;
  letter-spacing: normal;
}

.obligations-list li {
  font-family: Arial, sans-serif;
  font-weight: 400;
  color: #000000;
  text-shadow: none !important;
  word-spacing: normal;
  letter-spacing: normal;
  line-height: 1.6;
}

.obligations-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  text-shadow: none !important;
}

.faq-container::-webkit-scrollbar {
  width: 8px;
}

.faq-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.faq-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.faq-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* ================================
   LOGIN PAGE STYLES
   ================================ */
.login {
  margin: 0;
  height: 100vh;
  text-align: center;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: Arial, sans-serif;
  background-color: rgba(33, 50, 68, 0.7);
}

.login .frame {
  height: 500px;
  width: 500px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 0 auto;
  padding-top: 50px;
}

.login .frame .input-box {
  display: flex;
  align-items: center;
  height: 50px;
  width: 400px;
  gap: 10px;
  margin: 5px 0;
  background-color: transparent;
  border-radius: 20px;
  border: 2px solid rgb(219, 216, 216);
}

.login .frame .input-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 10px;
  font-size: 16px;
}

.login .frame .input-box input::placeholder {
  color: var(--color-text-light);
}

.login .frame .remember-forgot {
  display: flex;
  align-items: center;
  gap: 130px;
  margin: 10px 0;
}

.login .frame .submit {
  background-color: white;
}

.login .content p {
  font-size: 1rem;
  font-weight: normal;
  text-shadow: none;
  color: var(--color-text-dark);
  letter-spacing: normal;
}

/* ================================
   ABOUT PAGE STYLES
   ================================ */
.about .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 80vh;
  padding: 40px 20px;
  text-align: center;
  position: static;
}

body.about {
  background-color: #1f2a44;
  background-image: linear-gradient(180deg, #1f2a44 0%, #2b3d56 50%, #1a2436 100%);
  background-attachment: fixed;
}

.about .content {
  position: relative;
}

.about .top,
.about .content {
  position: relative;
  z-index: 1;
}


.about .content h1,
.about .content p {
  position: static;
  transform: none;
}

.about-container {
  background-color: var(--color-blue-slate);
  border-radius: 15px;
  box-shadow: var(--shadow-box);
  padding: 30px;
  margin: 20px auto;
  max-width: 1100px;
  min-height: auto;
  text-align: left;
}

body.no-image.about.about-fade .about-container {
  animation: about-fade-in 0.9s ease;
}

body.about.about-fade .about-main {
  animation: page-fade-in 0.9s ease;
}

@keyframes about-fade-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.no-image.locations.locations-fade .content,
body.no-image.contact.contact-fade .content,
body.no-image.faq.faq-fade .faq-container {
  animation: page-fade-in 0.9s ease;
}

/* ================================
   ABOUT PAGE REDESIGN
   ================================ */
.about-page {
  background: #e1e5ed;
  font-family: var(--font-body);
  color: #1f2a44;
}

.about-page .top {
  background-color: rgba(225, 229, 237, 0.85);
}

.about-main {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  padding-bottom: 0;
}

.about-hero {
  min-height: 420px;
  background-image:
    linear-gradient(180deg, rgba(32, 58, 104, 0.18), rgba(32, 58, 104, 0.4)),
    url('../images/neighborhood.png');
  background-size: cover;
  background-position: center 30%;
  color: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 6vw 80px;
}

.about-hero-content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  margin: 0;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.about-hero-subtitle {
  font-size: 1.2rem;
  margin: 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.about-hero-tagline {
  font-size: 1rem;
  margin: 8px 0 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.about-hero-btn {
  align-self: center;
  margin-top: 10px;
  background: #4f6e9b;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(31, 45, 68, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.about-hero-btn:hover,
.about-hero-btn:focus-visible {
  background: #5a7bb0;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 45, 68, 0.35);
  animation: about-btn-pop 0.35s ease;
}

@keyframes about-btn-pop {
  0% {
    transform: translateY(0);
  }
  60% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(-2px);
  }
}

.about-who {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  padding: 0 6vw;
  align-items: center;
  background: linear-gradient(180deg, #f1f3f8 0%, #e6eaf2 100%);
  border-radius: 16px;
  margin: 0;
  border: 1px solid #d3d9e4;
  padding-bottom: 26px;
  padding-top: 26px;
}

.about-who-text h2,
.about-what h2,
.about-why h2 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  color: #1f2a44;
}

.about-who-text,
.about-what,
.about-why-text {
  text-align: left;
}

.about-who-text p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.about-details {
  border: 1px solid #d3d9e4;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px 16px;
  margin: 12px 0 0;
  position: relative;
  overflow: visible;
}

.about-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #1f2a44;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-details summary::-webkit-details-marker {
  display: none;
}

.about-details summary::after {
  content: "+";
  font-weight: 700;
}

.about-details[open] summary::after {
  content: "–";
}

.about-details-body {
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  background: #ffffff;
  border: 1px solid #d3d9e4;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 14px 24px rgba(31, 45, 68, 0.18);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.about-details[open] .about-details-body {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.about-details p {
  margin: 12px 0 0;
  line-height: 1.6;
}

.about-quote {
  font-style: italic;
  color: #1f2a44;
}

.about-who-text h3 {
  margin: 16px 0 10px;
  font-size: 1.1rem;
}

.about-checklist {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.about-checklist li {
  position: relative;
  padding-left: 26px;
}

.about-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4f6e9b;
}

.about-checklist li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  width: 5px;
  height: 8px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.about-operating {
  margin-top: 12px;
  font-weight: 600;
}

.about-who-image {
  min-height: 240px;
  border-radius: 14px;
  background-image: url('../images/cozy-living-room.png');
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 24px rgba(31, 45, 68, 0.25);
}

.about-what {
  background: #ffffff;
  padding: 20px 6vw 10px;
  margin-top: 40px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.about-card {
  background: #f5f7fb;
  border-radius: 14px;
  padding: 20px 18px;
  border: 1px solid #d6dbe6;
  box-shadow: 0 12px 24px rgba(31, 45, 68, 0.15);
  display: grid;
  gap: 10px;
  text-align: center;
}

.about-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e3e8f2;
  color: #4f6e9b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.about-card-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.about-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.about-card p {
  margin: 0;
  color: #2b3d56;
}

.about-card span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: #b8c2d6;
  margin-top: 8px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.about-why {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, #f1f3f8 0%, #e6eaf2 100%);
  border: 1px solid #d3d9e4;
  border-radius: 16px;
  padding: 10px 6vw 20px;
  margin-bottom: 0;
  margin-top: 40px;
}

.about-why-text p {
  margin: 0;
  line-height: 1.6;
  max-width: 700px;
}

.about-why-btn {
  background: #4f6e9b;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(31, 45, 68, 0.3);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.about-why-btn:hover,
.about-why-btn:focus-visible {
  background: #5a7bb0;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 45, 68, 0.35);
}

.about-footer {
  margin-top: 30px;
  background: #2b3d56;
  color: #f5f7fb;
  padding: 24px 6vw 18px;
}

.about-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.about-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.about-footer-logo {
  width: 60px;
  height: auto;
}

.about-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.about-footer-links a {
  color: #f5f7fb;
  text-decoration: none;
  font-weight: 600;
}

.about-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
}

.about-footer-note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(245, 247, 251, 0.8);
}

@media (max-width: 900px) {
  .about-who {
    grid-template-columns: 1fr;
    margin: 0 4vw;
  }

  .about-why {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .about-hero {
    padding: 70px 6vw 60px;
  }

  .about-hero-btn {
    width: 100%;
    text-align: center;
  }
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-container h1 {
  color: var(--color-white);
  margin: 0 0 30px 0;
  font-size: 2rem;
  text-shadow: var(--shadow-text-medium);
  text-align: center;
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 15px;
}

.about-container p {
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  margin: 0 0 15px 0;
  text-shadow: var(--shadow-text-light);
  word-break: normal;
  overflow-wrap: break-word;
}

.about-container strong {
  color: var(--color-red);
}

.about-container p:last-child {
  margin-bottom: 0;
}

.about-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.about-photo-band {
  margin: 6px 0 26px;
  height: 300px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(33, 50, 68, 0.65), rgba(132, 165, 203, 0.45)),
    url('../images/cozy-home.jpg') center 20%/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

.about-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55));
}

.about-photo-overlay span {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: var(--shadow-text-medium);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 10px 0 26px;
}

.about-highlight {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.about-highlight-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(239, 192, 74, 0.2);
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.about-highlight-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.about-highlight h2 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: var(--color-gold);
  text-shadow: var(--shadow-text-light);
}

.about-highlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-section {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 22px 24px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.about-section h2 {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  color: var(--color-gold);
  text-shadow: var(--shadow-text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-section p {
  margin: 0;
}

.about-section-leadership {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-section-leadership strong {
  color: var(--color-gold);
  text-shadow: var(--shadow-text-light);
}

.about-container::-webkit-scrollbar {
  width: 8px;
}

.about-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.about-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.about-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.about .about-container p {
  position: static;
  transform: none;
  width: 100%;
  max-width: none;
  text-align: left;
}

.about-content {
  background-color: var(--color-red);
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-box-lg);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px;
  margin: 0 auto;
  max-width: 800px;
  max-height: 700px;
  overflow-y: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content p {
  color: var(--color-white);
  text-shadow: var(--shadow-text-medium);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-family: var(--font-alt);
  line-height: 1.8;
  margin: 0;
  text-align: left;
}

.about-content p:last-child {
  margin-bottom: 0px;
  text-align: center;
  font-weight: bold;
}

.about-content strong {
  color: var(--color-gold);
}

/* Responsive design for About page */
@media (max-width: 768px) {
  .about-container {
    margin: 10px;
    padding: 15px;
    max-width: calc(100% - 20px);
    min-height: auto;
  }

  .about-container h1 {
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
  }

  .about-container p {
    font-size: 0.9rem;
    margin: 0 0 12px 0;
  }

  .about-section {
    padding: 18px 18px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .about-photo-band {
    height: 160px;
  }

  .about-photo-overlay span {
    font-size: 0.95rem;
  }
}

.about .about-container p {
  position: static;
  transform: none;
  width: 100%;        
  max-width: none;
  text-align: left;
}


/* ================================
   CONTACT PAGE STYLES
   ================================ */
.contact .content {
  padding: 40px 20px;
  max-width: 1800px;
  margin: 0 auto;
}

.contact-hero {
  text-align: center;
  margin-bottom: 60px;
}

.contact-hero h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 40px 0;
  text-shadow: var(--shadow-text-medium);
  white-space: nowrap;
}

.contact-subtitle {
  color: var(--color-light-gray);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0;
  text-shadow: var(--shadow-text-light);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(420px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
  width: 100%;
}

.contact-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 35px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-blue-light));
  border-radius: 15px 15px 0 0;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(239, 192, 74, 0.4);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 30px;
  display: flex;
  line-height: 1;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(239, 192, 74, 0.2), rgba(132, 165, 203, 0.2));
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(239, 192, 74, 0.3);
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: linear-gradient(135deg, rgba(239, 192, 74, 0.4), rgba(132, 165, 203, 0.3));
  border-color: rgba(239, 192, 74, 0.6);
  transform: rotate(10deg) scale(1.1);
}

.contact-card h3 {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  text-shadow: var(--shadow-text-light);
  flex-shrink: 0;
}

.contact-card p {
  color: var(--color-light-gray);
  font-size: 1rem;
  line-height: 1.5;
  margin: -40px 0px 30px 0;
  text-shadow: var(--shadow-text-light);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gold), var(--color-blue-light));
  color: var(--color-blue-dark);
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  margin-top: auto;
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--color-blue-light), var(--color-gold));
}

.contact-info-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 50px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-info-section h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 40px 0;
  text-shadow: var(--shadow-text-medium);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.info-item {
  text-align: center;
  padding: 20px;
}

.info-item h4 {
  color: var(--color-gold);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 15px 0;
  text-shadow: var(--shadow-text-light);
}

.info-item p {
  color: var(--color-light-gray);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  text-shadow: var(--shadow-text-light);
}

/* FAQ Page Styles */
.faq-container {
  background: linear-gradient(180deg, #6d7f9f 0%, #556a8a 100%);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.35);
  padding: 34px 34px 40px;
  margin: 30px auto 50px;
  max-width: 1100px;
  width: 100%;
  min-height: 80vh;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.25);
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
}

.faq-container h1 {
  color: #f5f7fb;
  margin: 0 0 22px 0;
  font-size: 2.4rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
  text-align: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 16px;
}

.faq-section {
  margin-bottom: 26px;
  background: linear-gradient(180deg, #f2f4f8 0%, #e7ebf2 100%);
  border-radius: 12px;
  padding: 20px 22px;
  border: 1px solid #d3d9e4;
  text-shadow: none;
  word-spacing: normal;
  letter-spacing: normal;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #000000;
}

.faq-section.is-animating {
  animation: faq-section-fade 1s ease;
}

@keyframes faq-section-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-section h2 {
  color: #000000;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  text-shadow: none;
  border-bottom: 1px solid #c9d0dd;
  padding-bottom: 10px;
  font-family: Arial, sans-serif;
}

.faq-section,
.faq-section p,
.faq-section li,
.faq-section h2,
.faq-item h3,
.faq-item h4,
.faq-item p,
.faq-item li {
  color: #000000;
}

.faq-item {
  margin-bottom: 14px;
  background: #f4f6fb;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #d6dbe6;
}

.faq-item h3 {
  color: #000000;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 15px 0;
  text-shadow: none;
  font-family: Arial, sans-serif;
}

.faq-item h4 {
  color: #000000;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 15px 0 10px 0;
  text-shadow: none;
  font-family: Arial, sans-serif;
}

.faq-item p {
  color: #000000;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 15px 0;
  text-shadow: none;
  font-family: Arial, sans-serif;
}

.faq-item ul, .faq-item ol {
  color: #000000;
  margin: 10px 0;
  padding-left: 25px;
  font-family: Arial, sans-serif;
}

.faq-item li {
  margin-bottom: 8px;
  line-height: 1.6;
  text-shadow: none;
  font-family: Arial, sans-serif;
  color: #000000;
}

.obligations-list {
  color: #000000;
  margin: 15px 0;
  padding-left: 25px;
  font-family: Arial, sans-serif;
  text-shadow: none;
}

.obligations-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  text-shadow: none;
  font-family: Arial, sans-serif;
  color: #000000;
}

.faq-item strong {
  color: #000000;
  font-weight: 700;
  text-shadow: none;
}

/* Scrollbar styling for FAQ container */
.faq-container::-webkit-scrollbar {
  width: 8px;
}

.faq-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.faq-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.faq-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Responsive design for FAQ page */
@media (max-width: 768px) {
  .faq-container {
    margin: 10px;
    padding: 20px;
    max-width: calc(100% - 20px);
    max-height: none;
    min-height: auto;
    overflow: visible;
  }

  .faq-layout {
    width: 100%;
  }

  .faq-main {
    width: 100%;
  }
  
  .faq-container h1 {
    font-size: 2rem;
  }
  
  .faq-section h2 {
    font-size: 1.5rem;
  }
  
  .faq-item h3 {
    font-size: 1.1rem;
  }
  
  .faq-item p {
    font-size: 0.9rem;
  }
  
  .top .nav-buttons {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-right: 1rem;
  }
  
  .top .nav-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  /* Contact page responsive design */
  .contact .content {
    padding: 20px 10px;
  }
  
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-subtitle {
    font-size: 1.1rem;
  }
  
  .contact-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .contact-card {
    padding: 30px 20px;
  }
  
  .contact-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    width: 90px;
    height: 90px;
  }
  
  .contact-card h3 {
    font-size: 1.3rem;
  }
  
  .contact-card p {
    font-size: 1rem;
  }
  
  .contact-link {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .contact-info-section {
    padding: 30px 20px;
  }
  
  .contact-info-section h2 {
    font-size: 2rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .info-item h4 {
    font-size: 1.2rem;
  }
  
  .info-item p {
    font-size: 0.9rem;
  }
}
 /* === LOCATIONS PAGE STYLES === */

/* Stop hero absolute positioning on the Locations page */
.locations .content {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 80vh;
  padding: 40px 20px;
  text-align: center;
}

.locations .content h1 {
  position: static;
  transform: none;
  margin: 0 0 30px 0;
  font-size: 2.5rem;
  text-align: center;
}

/* Make sure paragraphs follow normal flow (no hero layout) */
.locations .content p {
  position: static;
  transform: none;
  overflow-wrap: normal;
  white-space: normal;
  width: 100%;
}

/* Main locations grid container */
.locations-container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}

/* Individual location card */
.location-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 15px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  padding: 22px 22px 26px;
  text-align: left;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.location-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-blue-light));
}

.location-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 192, 74, 0.45);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

/* Image wrapper */
.location-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.location-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.location-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.location-card:hover img {
  transform: scale(1.04);
}

/* Card heading and text */
.location-card h2 {
  font-size: 1.25rem;
  margin: 0 0 6px 0;
  letter-spacing: 0.2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.location-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  width: 100%;
}

/* ================================
   LOCATIONS PAGE STYLES
   ================================ */
.locations .content {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 80vh;
  padding: 40px 20px;
  text-align: center;
}

.locations .content h1 {
  position: static;
  transform: none;
  margin: 0 0 30px 0;
  font-size: 2.5rem;
  text-align: center;
}

.locations .content p {
  position: static;
  transform: none;
  overflow-wrap: normal;
  white-space: normal;
  width: 100%;
}

.locations-container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.location-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 15px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  padding: 22px 22px 26px;
  text-align: left;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.location-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.location-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.location-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.location-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-blue-light));
}

.location-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 192, 74, 0.45);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.location-card:hover img {
  transform: scale(1.04);
}

.location-card h2 {
  font-size: 1.25rem;
  margin: 0 0 6px 0;
  letter-spacing: 0.2px;
  text-shadow: var(--shadow-text-light);
}

.location-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  width: 100%;
}

/* ================================
   PAYMENT PAGE STYLES
   ================================ */
.pay-page-body {
  margin: 0;
  min-height: 100vh;
  background-image:
    linear-gradient(120deg, rgba(40, 68, 110, 0.55), rgba(82, 120, 170, 0.25)),
    url('../images/Classy-Rustic-home-interior.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  font-family: var(--font-body);
  color: #111826;
}

.pay-page-body .payment-page,
.pay-page-body .top {
  opacity: 0;
  animation: pay-fade-in 0.9s ease forwards;
}

.pay-page-body .top {
  animation-delay: 0.1s;
}

.pay-page-body .payment-page {
  animation-delay: 0.2s;
}

@keyframes pay-fade-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.payment-page {
  display: block;
  min-height: auto;
  position: static;
  text-align: left;
  margin: 50px auto 70px;
  max-width: 1200px;
  padding: 0 20px;
  color: #000000;
}

.pay-page-body .payment-page h1,
.pay-page-body .payment-page h2,
.pay-page-body .payment-page h3,
.pay-page-body .payment-page p,
.pay-page-body .payment-page label {
  color: #000000;
}

.payment-page h1,
.payment-page h2,
.payment-page h3,
.payment-page p {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  width: auto;
  text-shadow: none;
}

.payment-page .payment-card p,
.payment-page .payment-side-info p {
  word-break: normal;
  word-wrap: normal;
}

.payment-page div p {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  width: auto;
}

.payment-hero {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 1.4fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.payment-card {
  background: linear-gradient(180deg, #f7f8fc 0%, #edf0f6 100%);
  border-radius: 12px;
  padding: 26px 28px 30px;
  box-shadow: 0 16px 30px rgba(30, 40, 60, 0.18);
  border: 1px solid #d7dbe6;
  display: flex;
  flex-direction: column;
  color: #111826;
}

.payment-intro {
  text-align: center;
  margin-bottom: 18px;
}

.payment-title {
  margin: 0 0 6px 0;
  font-size: 2.2rem;
  color: #000000;
  font-weight: 700;
}

.payment-subtitle {
  margin: 0;
  color: #000000;
  font-size: 1.1rem;
  font-weight: 500;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-panel {
  background: #eef1f6;
  border: 1px solid #c9d0dd;
  box-shadow: 0 8px 16px rgba(31, 45, 68, 0.08);
  border-radius: 12px;
  padding: 18px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tenant-title {
  border: 1px solid #c3cad8;
  border-radius: 8px;
  padding: 12px 16px;
  background: #e2e7f1;
  color: #1f2a44;
  margin: 0 0 12px;
  display: block;
  width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-row .form-field {
  flex: 1 1 0;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field.full-width {
  flex-basis: 100%;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  color: #0f172a;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 8px;
  border: 1px solid #cdd3df;
  padding: 10px 12px;
  font-size: 0.98rem;
  outline: none;
  transition: var(--transition-fast);
  font-family: inherit;
  background-color: #f6f7fb;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #4f6e9b;
  box-shadow: 0 0 0 2px rgba(79, 110, 155, 0.2);
  background-color: white;
}

.form-section-title {
  background: none;
  border: none;
  padding: 0 0 6px;
  font-weight: 700;
  color: #2b384d;
  margin: 0 0 8px;
}

.form-section-title.tenant-title {
  border: 1px solid #c3cad8;
  border-radius: 8px;
  padding: 12px 16px;
  background: #e2e7f1;
  color: #1f2a44;
  margin: 0 0 12px;
  display: block;
  width: auto;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.section-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #2b384d;
  margin-bottom: 6px;
}

.field-hint {
  font-size: 0.75rem;
  color: #1f2a44;
  margin-top: 4px;
}

.amount-input {
  display: flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #cdd3df;
  overflow: hidden;
  background-color: #f6f7fb;
}

.amount-prefix {
  padding: 0 10px;
  font-size: 0.95rem;
  color: #5c6678;
  background-color: #edf0f6;
  border-right: 1px solid #cdd3df;
}

.amount-input input {
  border: none;
  border-radius: 0;
  flex: 1;
  padding: 10px 10px;
  background-color: transparent;
}

.amount-input input:focus {
  outline: none;
  box-shadow: none;
}

.primary-btn {
  margin-top: 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  padding: 14px 22px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(180deg, #5573a3, #3f5f8f);
  color: white;
  box-shadow: 0 12px 20px rgba(39, 59, 94, 0.35);
  transition: var(--transition-smooth);
  width: 100%;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(39, 59, 94, 0.4);
  filter: brightness(1.02);
}

.primary-btn:active {
  transform: translateY(1px);
  box-shadow: 0 6px 14px rgba(31,115,183,0.3);
}

.pay-btn-subtext {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
}

.error-message {
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  background-color: #d32f2f;
  border-left: 4px solid #b71c1c;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.security-badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  color: #5a6578;
}

.security-badges .badge {
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 6px;
  background-color: transparent;
  color: #5a6578;
  border: none;
}

.security-badges .badge-check {
  position: relative;
  padding-left: 22px;
}

.security-badges .badge-check::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #3f7f4a;
}

.security-badges .badge-check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 5px;
  height: 8px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.payment-side-info {
  padding: 0;
}

.payment-side-info h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #000000;
  font-family: var(--font-display-alt);
}

.payment-side-info p {
  color: #000000;
  line-height: 1.6;
  font-family: var(--font-display-alt);
}

.side-card {
  background: linear-gradient(180deg, #e8ebf2 0%, #dfe4ee 100%);
  border-radius: 12px;
  padding: 22px;
  border: 1px solid #cfd6e3;
  box-shadow: 0 16px 30px rgba(30, 40, 60, 0.18);
}

.quote-card {
  background: #f5f6fb;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #d8dde8;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0 16px;
}

.quote-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-card p {
  margin: 0;
  font-style: italic;
  color: #1f2a44;
}

.quote-card span {
  grid-column: 1 / -1;
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-weight: 600;
}

.side-contact {
  margin: 14px 0 16px;
  display: grid;
  gap: 6px;
}

.side-contact p {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
}

.side-contact a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}

.side-contact a:hover {
  text-decoration: underline;
}

.side-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: #0f172a;
  font-weight: 600;
}

.side-badges li {
  padding-left: 28px;
  position: relative;
}

.side-badges li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #4f6e9b;
}

.side-badges li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 7px;
  width: 4px;
  height: 7px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 14px 0 20px;
  color: var(--color-text-medium);
}

.bullet-list li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.owner-quote {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--color-blue-slate);
  border: 1px solid #e0e3f0;
  font-size: 0.9rem;
  color: white;
}

  .owner-quote .quote-author {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold);
}

/* ================================
   HOME PAGE MOCKUP
   ================================ */
body.home {
  margin: 0;
  min-height: 100vh;
  display: block;
  text-align: left;
  font-family: var(--font-body);
  background-color: #e6e9ef;
  color: var(--home-ink);
  background-attachment: scroll;
}


.home-main {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 0;
}

@keyframes home-fade-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home .top,
.home .hero-inner,
.home .feature-band,
.home .trust-section,
.home .cta-band,
.home .site-footer {
  opacity: 0;
  animation: home-fade-in 0.9s ease forwards;
}

.home .top { animation-delay: 0.1s; }
.home .hero-inner { animation-delay: 0.2s; }
.home .feature-band { animation-delay: 0.35s; }
.home .trust-section { animation-delay: 0.5s; }
.home .cta-band { animation-delay: 0.65s; }
.home .site-footer { animation-delay: 0.8s; }

.hero {
  position: relative;
  padding: 110px 6vw 60px;
  background-image:
    linear-gradient(120deg, rgba(40, 68, 110, 0.55), rgba(82, 120, 170, 0.25)),
    url('../images/Classy-Rustic-home-interior.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: #f6f8fb;
  box-shadow: none;
  overflow: hidden;
}

.feature-band {
  padding-top: 30px;
  margin-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(30, 52, 84, 0.35);
  pointer-events: none;
  z-index: 0;
}

.hero-phone {
  position: absolute;
  right: 6vw;
  top: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(246, 248, 251, 0.9);
  z-index: 1;
}

.hero-inner {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(246, 248, 251, 0.85);
  margin: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1.05rem;
  margin: 0 auto;
  line-height: 1.7;
  color: rgba(246, 248, 251, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.btn-primary {
  background: #4f6e9b;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(31, 62, 110, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(31, 62, 110, 0.35);
}

.btn-ghost {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.btn-light {
  background-color: #f7f8fb;
  color: #2a3b52;
  border-color: #c9d0dd;
}

.btn-light:hover {
  background-color: #edf0f6;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: rgba(246, 248, 251, 0.85);
  padding-top: 12px;
}

.feature-band {
  background: transparent;
  padding: 50px 0 20px;
  position: relative;
  z-index: 1;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature-card {
  background-color: #f5f6fa;
  border-radius: 10px;
  padding: 26px 22px 24px;
  box-shadow: 0 14px 30px rgba(13, 22, 36, 0.25);
  border: 1px solid #d6dbe5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(13, 22, 36, 0.28);
  border-color: #c5ccda;
}

.feature-card:hover .card-icon {
  background: #d9e1ef;
  transform: scale(1.05);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.card-icon {
  width: 72px;
  height: 80px;
  border-radius: 50%;
  background: #e3e8f2;
  color: #4f6e9b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.55rem;
  margin: 0 auto;
}

.card-icon svg {
  width: 52px;
  height: 52px;
  fill: currentColor;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #1f2f47;
}

.feature-card p {
  margin: 0;
  color: #5a677a;
  line-height: 1.6;
}

.card-link {
  margin: 8px auto 0;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  background-color: #4f6e9b;
  padding: 8px 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
}

.card-link:hover {
  background-color: #43618b;
}

.trust-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
  padding: 50px 6vw;
  background-color: #f2f4f8;
}

.trust-text {
  background-color: rgba(255, 255, 255, 0.92);
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(31, 45, 63, 0.12);
}

.trust-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 0 0 12px 0;
  color: #1f2f47;
}

.trust-text p {
  margin: 0 0 16px 0;
  color: #4b596d;
  line-height: 1.7;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: #2a3b52;
  font-weight: 600;
}

.trust-list li {
  padding-left: 30px;
  position: relative;
}

.trust-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #4f6e9b;
}

.trust-list li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.trust-image {
  min-height: 280px;
  border-radius: 10px;
  background-image: url('../images/Classy-Rustic-home-interior.webp');
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 26px rgba(13, 22, 36, 0.2);
}

.cta-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 36px 6vw;
  margin: 0;
  background-color: #e7ebf2;
  color: #1f2f47;
  border-top: 1px solid #d1d7e2;
  border-bottom: 1px solid #d1d7e2;
}

.cta-copy h2 {
  font-family: var(--font-display);
  margin: 0 0 10px 0;
  font-size: 2rem;
}

.cta-copy p {
  margin: 0;
  line-height: 1.7;
  color: #4b596d;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  border-left: 1px solid #d1d7e2;
  padding-left: 24px;
}

.cta-actions h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  text-align: center;
  padding: 20px 6vw 30px;
  color: #f5f7fb;
  font-size: 0.9rem;
  background-color: #1f2f47;
}

/* ================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ================================ */
@media (max-width: 900px) {
  .payment-hero {
    grid-template-columns: 1fr;
  }
}

/* Extra small screens (phones - 480px and below) */
@media (max-width: 480px) {
  body {
    min-height: auto;
  }

  .top {
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
    min-height: auto;
    padding: 3px;
    gap: 3px;
  }

  .logo {
    min-width: 75px;
    max-width: 75px;
    width: 75px;
    height: auto;
    margin-left: 0;
    margin-bottom: 0;
    margin-top: 0;
    flex-shrink: 0;
  }

  .top .nav-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-right: 0;
    margin-top: 0;
    width: calc(100% - 78px);
    max-width: none;
    padding: 0;
    flex: 1;
  }

  .top .nav-btn {
    font-size: 0.65rem;
    padding: 0.3rem 0.2rem;
    word-break: break-word;
    line-height: 1.2;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .content {
    min-height: 50vh;
  }

  .content h1 {
    font-size: 1.3rem;
    top: 10%;
  }

  .content h3 {
    font-size: 0.95rem;
    top: 45%;
  }

  .content p {
    font-size: 0.8rem;
    width: 90%;
    top: 25%;
  }

  .content div p {
    width: 85%;
    font-size: 0.75rem;
  }

  .bottom {
    min-height: 12vh;
    flex-wrap: wrap;
  }

  .bottom .func-btn {
    font-size: 0.75rem;
    width: 50%;
    min-height: 45px;
  }

  h5 {
    font-size: 0.95rem;
  }

  #services_page_p {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  /* About page */
  .about-container {
    margin: 10px;
    padding: 20px;
    max-width: calc(100% - 20px);
    min-height: auto;
  }

  .about-container h1 {
    font-size: 2rem;
  }

  .about-container p {
    font-size: 0.95rem;
  }

  /* FAQ page */
  .faq-container {
    margin: 10px;
    padding: 20px;
    max-width: calc(100% - 20px);
  }
  
  .faq-container h1 {
    font-size: 2rem;
  }
  
  .faq-section h2 {
    font-size: 1.5rem;
  }
  
  .faq-item h3 {
    font-size: 1.1rem;
  }
  
  .faq-item p {
    font-size: 0.9rem;
  }

  /* Navigation */
  .top .nav-buttons {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-right: 1rem;
  }
  
  .top .nav-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  /* Contact page */
  .contact .content {
    padding: 20px 10px;
  }
  
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-subtitle {
    font-size: 1.1rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .contact-card {
    padding: 30px 20px;
  }
  
  .contact-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    width: 90px;
    height: 90px;
  }
  
  .contact-card h3 {
    font-size: 1.3rem;
  }
  
  .contact-card p {
    font-size: 1rem;
  }
  
  .contact-link {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .contact-info-section {
    padding: 30px 20px;
  }
  
  .contact-info-section h2 {
    font-size: 2rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .info-item h4 {
    font-size: 1.2rem;
  }
  
  .info-item p {
    font-size: 0.9rem;
  }

  /* Payment page */
  .payment-page {
    padding: 0 10px;
  }

  .payment-hero {
    gap: 1rem;
  }

  .payment-title {
    font-size: 1.4rem;
  }

  .payment-subtitle {
    font-size: 0.95rem;
    margin: 0;
    color: #5a6578;
  }

  .form-field label {
    font-size: 0.75rem;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 0.9rem;
    padding: 8px 10px;
  }

  .primary-btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .payment-side-info h2 {
    font-size: 1.2rem;
  }

  .payment-side-info p {
    font-size: 0.9rem;
  }

  /* Locations page */
  .locations .content {
    padding: 30px 10px;
  }

  .locations-container {
    gap: 16px;
  }

  .location-card img {
    height: 180px;
  }
}

/* ================================
   MOBILE BREAKPOINT (480px and below)
   ================================ */
@media (max-width: 480px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .contact-card {
    padding: 20px 15px;
  }
  
  .contact-icon {
    font-size: 1.5rem;
    width: 70px;
    height: 70px;
  }
  
  .contact-card h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 90px 6vw 90px;
  }

  .hero h1 span {
    white-space: normal;
  }

  .feature-band {
    margin-top: -20px;
    padding-top: 30px;
  }

  .cta-band {
    padding: 28px 6vw;
  }

  .home .top {
    flex-wrap: wrap;
    gap: 10px;
  }

  .home .top .nav-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .top-phone {
    display: none;
  }

  .hero-phone {
    display: none;
  }

  .cta-actions {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 6vw 60px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 22px 6vw;
  }
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .faq-tab {
    flex: 1 1 140px;
    text-align: center;
  }
}

/* Nav alignment tweak */
.top .nav-buttons {
  padding-right: 16px;
}

@media (max-width: 480px) {
  .top .nav-buttons {
    padding-right: 8px;
  }
}

/* Global typography */
body,
button,
input,
textarea,
select {
  font-family: var(--font-body);
}

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