@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary-teal: #0B4F6C;
  --accent-gold: #FFD700;
  --white: #FFFFFF;
  --light-grey: #F5F5F5;
  --dark-grey: #333333;
  --medium-grey: #666666;
  --header-height: 90px;
  --header-height-scrolled: 72px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-grey);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.primary-cta {
  display: inline-block;
  background-color: var(--accent-gold);
  color: var(--primary-teal);
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.primary-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  border-radius: 50%;
}

.primary-cta:hover {
  background-color: rgba(255, 215, 0, 0.9);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.primary-cta:hover::before {
  width: 300px;
  height: 300px;
}

.secondary-cta {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-teal);
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 5px;
  border: 2px solid var(--primary-teal);
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  background-color: var(--primary-teal);
  color: var(--white);
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--primary-teal);
  z-index: 1000;
  transition: all 0.2s ease-in-out;
}

.header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header.scrolled .logo img {
  transform: scale(0.85);
}

.header.scrolled .nav-link {
  font-size: 0.95rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 60px;
  transition: transform 0.2s ease-in-out;
}

.logo-text {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-link svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-gold);
}

.contact-link:hover {
  color: var(--accent-gold);
}

.mobile-header {
  display: none;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--primary-teal);
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 80px 30px 30px;
  overflow-y: auto;
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-nav-close svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
}

.mobile-nav-link {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-link:hover {
  color: var(--accent-gold);
}

.mobile-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1rem;
}

.mobile-contact-link svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-gold);
}

.mobile-overlay-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay-bg.active {
  opacity: 1;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: var(--header-height);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 79, 108, 0.85) 0%, rgba(11, 79, 108, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 40px 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-content .primary-cta {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.hero-home {
  background-image: url('images/hero-home.png');
  background-attachment: fixed;
}

.hero-about {
  background-image: url('images/facilities-exterior.png');
}

.hero-services {
  background-image: url('images/service-rehab-therapy.png');
}

.hero-contact {
  background-image: url('images/service-senior-care.png');
}

.hero-apply {
  background-image: url('images/service-post-op-recovery.png');
}

.hero-service-detail {
  background-image: url('images/service-rehab-therapy.png');
}

.about-section {
  padding: 80px 0;
  background-color: var(--light-grey);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary-teal);
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--medium-grey);
  margin-bottom: 32px;
  line-height: 1.8;
}

.services-section {
  padding: 80px 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-teal);
  margin-bottom: 16px;
}

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

.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-image {
  transform: scale(1.05);
}

.service-card-content {
  padding: 24px;
}

.service-card-content h3 {
  font-size: 1.4rem;
  color: var(--primary-teal);
  margin-bottom: 12px;
}

.service-card-content p {
  color: var(--medium-grey);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.service-card-link {
  color: var(--primary-teal);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-link:hover {
  color: var(--accent-gold);
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonials-section {
  padding: 80px 0;
  background-color: var(--light-grey);
}

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

.testimonial-item {
  text-align: center;
  padding: 20px;
  display: none;
}

.testimonial-item.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark-grey);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-quote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--accent-gold);
  display: block;
  margin-bottom: -10px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-teal);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.carousel-btn {
  background: var(--primary-teal);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

.carousel-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.carousel-btn:hover svg {
  fill: var(--primary-teal);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--medium-grey);
  opacity: 0.4;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.carousel-dot.active {
  background: var(--accent-gold);
  opacity: 1;
  transform: scale(1.2);
}

.cta-section {
  padding: 80px 0;
  background-color: var(--primary-teal);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .primary-cta {
  background-color: var(--accent-gold);
  color: var(--primary-teal);
}

.cta-section .secondary-cta {
  border-color: var(--white);
  color: var(--white);
}

.cta-section .secondary-cta:hover {
  background-color: var(--white);
  color: var(--primary-teal);
}

.mission-values-section {
  padding: 80px 0;
}

.mission-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.mission-block h2 {
  font-size: 2rem;
  color: var(--primary-teal);
  margin-bottom: 20px;
}

.mission-block p {
  color: var(--medium-grey);
  line-height: 1.8;
}

.values-block h2 {
  font-size: 2rem;
  color: var(--primary-teal);
  margin-bottom: 24px;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.value-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-teal);
}

.value-text h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-teal);
  margin-bottom: 4px;
}

.value-text p {
  color: var(--medium-grey);
  font-size: 0.95rem;
}

.team-section {
  padding: 80px 0;
  background-color: var(--light-grey);
}

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

.team-member {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.team-member-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-member-info {
  padding: 20px;
}

.team-member-info h3 {
  font-size: 1.3rem;
  color: var(--primary-teal);
  margin-bottom: 4px;
}

.team-member-info .title {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-member-info .bio {
  color: var(--medium-grey);
  font-size: 0.9rem;
  line-height: 1.6;
}

.facilities-section {
  padding: 80px 0;
}

.facilities-section h2 {
  font-size: 2.5rem;
  color: var(--primary-teal);
  text-align: center;
  margin-bottom: 20px;
}

.facilities-section > .container > p {
  text-align: center;
  color: var(--medium-grey);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.facilities-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.facility-image {
  border-radius: 10px;
  overflow: hidden;
}

.facility-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.facility-image:hover img {
  transform: scale(1.05);
}

.process-section {
  padding: 80px 0;
  background-color: var(--light-grey);
}

.process-section h2 {
  font-size: 2.5rem;
  color: var(--primary-teal);
  text-align: center;
  margin-bottom: 20px;
}

.process-section > .container > p {
  text-align: center;
  color: var(--medium-grey);
  max-width: 600px;
  margin: 0 auto 50px;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.timeline-step {
  text-align: center;
  position: relative;
}

.timeline-step::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -10px;
  width: 20px;
  height: 2px;
  background: var(--accent-gold);
  display: none;
}

.timeline-step:last-child::after {
  display: none;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-content h4 {
  font-size: 1.1rem;
  color: var(--primary-teal);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--medium-grey);
}

.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-block h2 {
  font-size: 2rem;
  color: var(--primary-teal);
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--light-grey);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-teal);
}

.contact-item-text h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-teal);
  margin-bottom: 4px;
}

.contact-item-text p, .contact-item-text a {
  color: var(--medium-grey);
}

.contact-item-text a:hover {
  color: var(--accent-gold);
}

.contact-form-block h2 {
  font-size: 2rem;
  color: var(--primary-teal);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--dark-grey);
  font-size: 0.9rem;
}

.form-group label .required {
  color: #e74c3c;
}

.form-group input, 
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  border: 2px solid var(--light-grey);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus, 
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(11, 79, 108, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-success {
  padding: 16px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  color: #155724;
  display: none;
}

.form-success.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.map-section {
  padding: 0 0 80px;
}

.map-section h2 {
  font-size: 2rem;
  color: var(--primary-teal);
  text-align: center;
  margin-bottom: 30px;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.admissions-section {
  padding: 80px 0;
  background-color: var(--white);
}

.admissions-section h2 {
  font-size: 2.5rem;
  color: var(--primary-teal);
  text-align: center;
  margin-bottom: 20px;
}

.admissions-section > .container > p {
  text-align: center;
  color: var(--medium-grey);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.admissions-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.admission-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--light-grey);
  border-radius: 10px;
}

.admission-step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.admission-step-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-teal);
  margin-bottom: 8px;
}

.admission-step-content p {
  color: var(--medium-grey);
  font-size: 0.95rem;
}

.careers-section {
  padding: 80px 0;
  background-color: var(--light-grey);
}

.careers-section h2 {
  font-size: 2.5rem;
  color: var(--primary-teal);
  text-align: center;
  margin-bottom: 20px;
}

.careers-section > .container > p {
  text-align: center;
  color: var(--medium-grey);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.career-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.career-benefit-item {
  background: var(--white);
  padding: 24px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.career-benefit-item h4 {
  color: var(--primary-teal);
  margin-bottom: 8px;
}

.career-benefit-item p {
  color: var(--medium-grey);
  font-size: 0.9rem;
}

.service-detail-section {
  padding: 40px 0 80px;
}

.service-detail-content h2 {
  font-size: 2rem;
  color: var(--primary-teal);
  margin-bottom: 20px;
}

.service-detail-content p {
  color: var(--medium-grey);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-detail-content ul {
  margin-bottom: 30px;
}

.service-detail-content li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--medium-grey);
}

.service-detail-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

.who-benefits-section {
  padding: 80px 0;
  background-color: var(--light-grey);
}

.who-benefits-section h2 {
  font-size: 2rem;
  color: var(--primary-teal);
  text-align: center;
  margin-bottom: 30px;
}

.who-benefits-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 8px;
}

.benefit-item-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-item-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-teal);
}

.benefit-item span {
  color: var(--dark-grey);
}

.related-services-section {
  padding: 80px 0;
}

.related-services-section h2 {
  font-size: 2rem;
  color: var(--primary-teal);
  text-align: center;
  margin-bottom: 40px;
}

.footer {
  background-color: var(--primary-teal);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo img {
  height: 50px;
}

.footer-tagline {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-gold);
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-gold);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.footer-social a:hover svg {
  fill: var(--primary-teal);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--accent-gold);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .hero-section {
    background-attachment: scroll;
  }
  
  .service-card:hover,
  .team-member:hover,
  .facility-image:hover img {
    transform: none;
  }
}

@media (max-width: 1023px) {
  .nav-desktop,
  .header .contact-info,
  .header .primary-cta {
    display: none;
  }
  
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 20px;
    background: var(--primary-teal);
  }
  
  .mobile-header .logo img {
    height: 45px;
  }
  
  .mobile-header .phone-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  
  .mobile-header .phone-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
  }
  
  .mobile-nav-overlay,
  .mobile-overlay-bg {
    display: block;
  }
  
  .header {
    display: none;
  }
  
  .hero-section {
    margin-top: 70px;
    min-height: 60vh;
    background-attachment: scroll;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .timeline-step::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-header h2,
  .mission-values-grid h2,
  .about-content h2,
  .cta-section h2,
  .admissions-section h2,
  .careers-section h2 {
    font-size: 1.8rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand .logo {
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .primary-cta,
  .cta-buttons .secondary-cta {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .mission-values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }
  
  .primary-cta,
  .secondary-cta {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .facilities-gallery {
    grid-template-columns: 1fr;
  }
  
  .admission-step {
    flex-direction: column;
    text-align: center;
  }
  
  .admission-step-number {
    margin: 0 auto;
  }
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-teal);
  color: var(--white);
  padding: 8px 16px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}
