/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Ensure page starts at top */
html { scroll-behavior: smooth; }
body { scroll-padding-top: 0; }

/* Colors */
:root {
  --mnblue: #2e5077;
  --pacblue: #52acbc;
  --yelloworange: #ffa630;
  --engred: #b3424a;
  --white: #ffffff;
  --gray: #f9fafb;
}

/* Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

h1 { font-size: 3rem; color: var(--mnblue); margin-bottom: 1rem; text-transform: uppercase; white-space: nowrap; }
h2 { font-size: 2rem; color: var(--engred); margin: 1.5rem 0 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--pacblue); text-decoration: none; }
a:hover { color: var(--yelloworange); }

/* Layout */
header {
  background: var(--mnblue);
  color: var(--white);
  padding: 1rem 2rem;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

header nav img {
  height: 40px;
  width: auto;
}

header nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex: 1;
}

header nav a { 
  color: var(--white);
  white-space: nowrap;
}

header nav a:hover { color: var(--pacblue); }

header nav > div {
  display: flex;
  gap: 1rem;
  align-items: center;
}

header nav > div span {
  background: var(--pacblue);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

header nav > div a {
  background: var(--yelloworange);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
}

header nav > div a:hover {
  background: var(--engred);
  color: var(--white);
}

main {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
}

article .meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

article .content {
  font-size: 1.1rem;
  line-height: 1.8;
}

footer {
  background: var(--mnblue);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

footer a { color: var(--white); }
footer a:hover { color: var(--pacblue); }

.social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

/* Hero Section */
.hero {
  background: var(--gray);
  background-image: 
    linear-gradient(90deg, rgba(46,80,119,0.03) 1px, transparent 1px),
    linear-gradient(rgba(46,80,119,0.03) 1px, transparent 1px);
  background-size: 15px 15px;
  padding: 3rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  padding-top: 2rem;
}

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

.hero-text {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  background: linear-gradient(45deg, var(--mnblue), var(--engred));
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--mnblue);
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.8;
  font-weight: 500;
  text-align: center;
}

.hero-image {
  max-width: 300px;
  height: auto;
  flex-shrink: 0;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Benevolent Senior Services Section */
#home {
  text-align: center;
  padding: 0.5rem 0;
}

.home-content {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.center-content {
  text-align: center;
  justify-self: center;
}

.resident-image {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.resident-image.left {
  align-self: flex-start;
}

.resident-image.right {
  align-self: flex-end;
}

.title-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.bss-icon {
  height: 3.5rem;
  width: auto;
}

.free-service {
  background: transparent;
  color: var(--pacblue);
  font-size: 1rem;
  font-weight: bold;
  padding: 0;
  border-radius: 0;
  display: inline-block;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--pacblue);
}

.main-description {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: #555;
}

.care-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 9.5rem auto 0;
}

.care-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-left: 4px solid var(--pacblue);
}

.care-item h3 {
  color: var(--mnblue);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.care-item p {
  color: #666;
  margin: 0;
}

/* Modern Header */
.modern-header {
  background: var(--mnblue);
  color: var(--white);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.modern-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.modern-header nav img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.nav-tabs {
  display: flex;
  gap: 0.2rem;
  flex: 1;
  justify-content: center;
  overflow-x: auto;
}

.contact-info {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.contact-info span,
.phone-btn {
  background: var(--pacblue);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-weight: bold;
  white-space: nowrap;
  font-size: 0.9rem;
  border: none;
  color: var(--white);
  cursor: default;
  outline: none;
}

.contact-btn {
  background: var(--yelloworange) !important;
  color: var(--white) !important;
  padding: 0.4rem 0.8rem !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  font-size: 0.9rem !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer;
  outline: none !important;
}

.phone-btn {
  background: var(--pacblue) !important;
}

.contact-btn:hover {
  background: var(--engred) !important;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--white);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.tab-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.tab-btn.active {
  background: var(--pacblue);
  color: var(--white);
  font-weight: 600;
}

/* Tab Interface */
.tab-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
}

.tab-content {
  min-height: 400px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
  width: 100%;
}

.tab-panel.active {
  display: block;
}

#serve.tab-panel.active {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Popup Modal */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.popup-content h3 {
  color: var(--mnblue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.popup-content p {
  color: #666;
  margin-bottom: 1.5rem;
}

.popup-btn {
  background: linear-gradient(45deg, var(--yelloworange), #ff8c42);
  color: var(--white);
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 25px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
}

.popup-btn:hover {
  background: var(--engred);
}

#serve {
  background: 
    linear-gradient(rgba(46, 80, 119, 0.7), rgba(82, 172, 188, 0.7)),
    url('/Couple.avif'),
    var(--mnblue);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 0;
  height: 100vh;
}

.serve-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .modern-header {
    padding: 0.5rem 1rem;
  }
  
  .modern-header nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .modern-header nav img {
    height: 30px;
  }
  
  .nav-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.1rem;
  }
  
  .tab-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .contact-info span,
  .phone-btn,
  .contact-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
}

#serve h2 {
  text-align: center;
  margin-bottom: -1rem;
  position: relative;
  z-index: 4;
  background: var(--white);
  display: inline-block;
  padding: 0.5rem 2rem;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.serve-wrapper {
  text-align: center;
}

#serve > div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.serve-intro {
  font-size: 1.2rem;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 0;
  text-align: center;
  padding: 3rem 2rem 6rem;
  background: linear-gradient(135deg, var(--mnblue), var(--pacblue));
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(46, 80, 119, 0.3);
}

.serve-intro::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: floatPattern 20s linear infinite;
  z-index: 1;
}

.serve-intro * {
  position: relative;
  z-index: 2;
}

@keyframes floatPattern {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-30px, -30px) rotate(360deg); }
}

.serve-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: -3rem auto 2rem;
  padding: 0 1rem 2rem;
  position: relative;
  z-index: 3;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .serve-sections {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.serve-group {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-left: 4px solid var(--pacblue);
}

.serve-group h3 {
  color: var(--engred);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

.serve-group p {
  color: #666;
  margin-bottom: 1rem;
}

.serve-group ul {
  list-style: none;
  padding: 0;
}

.serve-group li {
  color: #555;
  padding: 0.5rem 0;
  position: relative;
}

.serve-group li:before {
  display: none;
}

/* Services Section */
.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.services-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.service-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  gap: 3rem;
}

.service-item.left {
  flex-direction: row;
}

.service-item.right {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1;
  position: relative;
}

.service-number {
  font-size: 4rem;
  font-weight: bold;
  color: var(--pacblue);
  opacity: 0.2;
  position: absolute;
  top: -2rem;
  left: -1rem;
  z-index: 1;
}

.service-content h3 {
  color: var(--mnblue);
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.service-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

.service-content ul {
  list-style: none;
  padding: 0;
}

.service-content li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.service-content li:before {
  content: "✓";
  color: var(--pacblue);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.service-image {
  flex: 1;
  max-width: 400px;
}

.service-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .service-item,
  .service-item.right,
  .service-item.left {
    flex-direction: column !important;
    text-align: center;
    gap: 1rem;
  }
  
  .service-number {
    position: static;
    margin-bottom: 1rem;
  }
  
  .service-image {
    max-width: 100%;
    order: -1 !important;
    margin: 0 auto;
  }
  
  .service-content {
    order: 1 !important;
  }
}
/* Care Options with Side Images */
.care-options-with-images {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  padding: 0 2rem;
}

.care-side-image {
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.care-side-image.left {
  align-self: flex-start;
}

.care-side-image.right {
  align-self: flex-end;
}

@media (max-width: 768px) {
  .care-options-with-images {
    flex-direction: column;
  }
  
  .care-side-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
  }
}
/* Centered Home Content */
.home-content-centered {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Fun Badge for No Cost Consultation */
.free-service-badge {
  display: inline-block;
  margin-top: 1rem;
  position: relative;
}

.badge-text {
  background: linear-gradient(45deg, var(--mnblue), var(--pacblue));
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.4rem 1.5rem;
  border-radius: 0;
  display: inline-block;
  box-shadow: none;
  animation: pulse 2s infinite;
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
}

.badge-text::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}
.popup-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}
/* Services Header */
.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header h2 {
  margin-bottom: 0.5rem;
}

.services-header .services-intro {
  margin-bottom: 0;
  font-weight: normal;
}
/* Team Section */
.team-wrapper {
  background: var(--gray);
  background-image: 
    linear-gradient(90deg, rgba(46,80,119,0.03) 1px, transparent 1px),
    linear-gradient(rgba(46,80,119,0.03) 1px, transparent 1px);
  background-size: 15px 15px;
  padding: 3rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.team-wrapper > * {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.team-wrapper h2 {
  color: var(--mnblue);
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.team-member {
  flex: 0 0 300px;
  text-align: center;
}

.team-headshot {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid black;
  display: block;
}

.team-name {
  color: var(--mnblue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.team-experience {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}
/* Service Areas */
.service-areas {
  background: var(--yelloworange);
  padding: 3rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  text-align: center;
}

.service-areas > * {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-areas h2 {
  color: var(--white);
  margin-bottom: 3rem;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.areas-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.area-item {
  flex: 0 0 400px;
  text-align: center;
}

.map-container {
  margin-bottom: 2rem;
  position: relative;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-image {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 3px solid black;
}

.location-icon {
  display: none;
}

.area-info h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.area-info p {
  color: var(--white);
  margin-bottom: 0.5rem;
}
/* FAQ Section */
.faq-wrapper {
  background: url('/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 3rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.faq-wrapper > * {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-wrapper h2 {
  color: var(--mnblue);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-left: 4px solid var(--pacblue);
}

.faq-item h3 {
  color: var(--mnblue);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.faq-item p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}
/* Care Options Carousel */
.care-carousel-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.care-carousel-wrapper h2 {
  color: var(--mnblue);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.care-intro {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-track {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.carousel-slide {
  display: none;
  background: white;
}

.carousel-slide.active {
  display: block;
}

.carousel-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.carousel-content {
  padding: 2rem;
  text-align: left;
}

.carousel-content h3 {
  color: var(--mnblue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.carousel-content p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--mnblue);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: var(--pacblue);
}

.carousel-btn.prev {
  left: -25px;
}

.carousel-btn.next {
  right: -25px;
}

.carousel-dots {
  text-align: center;
  margin-top: 2rem;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: var(--pacblue);
}

@media (max-width: 768px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .carousel-btn.prev {
    left: -20px;
  }
  
  .carousel-btn.next {
    right: -20px;
  }
  
  .carousel-image {
    height: 200px;
  }
  
  .carousel-content {
    padding: 1.5rem;
  }
}
.contact-bg,
.serve-bg {
  background-size: cover;
  background-position: center;
  padding: 3rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.contact-bg {
  background: url('/faq-bg.jpg');
}

.serve-bg {
  background: 
    linear-gradient(rgba(46, 80, 119, 0.7), rgba(82, 172, 188, 0.7)),
    url('/Couple.avif');
  min-height: 100vh;
}

.contact-bg > *,
.serve-bg > * {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-wrapper h2 {
  color: var(--mnblue);
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.contact-wrapper > p {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

.contact-form-carousel {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
}

.form-carousel-container {
  overflow: hidden;
  position: relative;
  min-height: 350px;
}

.form-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  color: var(--mnblue);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--mnblue);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--pacblue);
}

.form-nav-buttons {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.form-nav-btn {
  background: var(--pacblue);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-nav-btn:hover {
  background: var(--mnblue);
}

.form-nav-btn.next {
  margin-left: auto;
}

.submit-btn {
  background: var(--yelloworange);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: var(--engred);
}

.form-progress {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.3s ease;
}

.progress-dot.active {
  background: var(--pacblue);
}

.contact-info-section {
  text-align: center;
  background: var(--gray);
  padding: 2rem;
  border-radius: 12px;
}

.contact-info-section h3 {
  color: var(--mnblue);
  margin-bottom: 1rem;
}

.contact-info-section p {
  margin-bottom: 0.5rem;
  color: #555;
}
/* Who We Serve Background */
.serve-bg {
  background: 
    linear-gradient(rgba(46, 80, 119, 0.7), rgba(82, 172, 188, 0.7)),
    url('/Couple.avif');
  background-size: cover;
  background-position: center;
  padding: 3rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 100vh;
}

.serve-bg > * {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
/* Simple Footer */
.simple-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 0.9rem;
}
/* Additional Mobile Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    white-space: normal;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .hero-text {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-image {
    max-width: 250px;
  }
  
  .care-options {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
  
  .team-grid {
    flex-direction: column;
    gap: 2rem;
  }
  
  .areas-grid {
    flex-direction: column;
    gap: 2rem;
  }
  
  .area-item {
    flex: none;
  }
  
  .map-image {
    width: 200px;
    height: 200px;
  }
  
  .faq-item {
    padding: 1.5rem;
  }
  
  .contact-form-carousel {
    padding: 1.5rem;
  }
  
  .form-carousel-container {
    min-height: 300px;
  }
}