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

:root {
  --primary: #2463ab;
  --primary-dark: #1a4a7f;
  --primary-light: #3a7bc8;
  --foreground: #1a1d21;
  --background: #ffffff;
  --muted: #f1f2f4;
  --muted-foreground: #5a5e63;
  --card: #fafafa;
  --card-border: #efefef;
  --border: #e1e3e5;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --radius: 6px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  scroll-behavior: smooth;
}

.hidden {
  display: none !important;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background);
  z-index: 1000;
  transition: box-shadow 0.2s;
}

.nav.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .nav-container {
    height: 80px;
    padding: 0 1.5rem;
  }
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}

@media (min-width: 768px) {
  .nav-logo {
    font-size: 1.25rem;
  }
}

.nav-logo:hover {
  background: rgba(0, 0, 0, 0.03);
}

.nav-logo:active {
  background: rgba(0, 0, 0, 0.08);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.03);
}

.nav-link:active {
  background: rgba(0, 0, 0, 0.08);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-trigger .chevron {
  transition: transform 0.2s;
}

.dropdown:hover .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 224px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 50;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu.locations-menu {
  max-height: 384px;
  overflow-y: auto;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--foreground);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(0, 0, 0, 0.03);
}

.dropdown-menu a:active {
  background: rgba(0, 0, 0, 0.08);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  color: var(--foreground);
  transition: background 0.2s;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  background: rgba(0, 0, 0, 0.03);
}

.mobile-menu-btn:active {
  background: rgba(0, 0, 0, 0.08);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  background: var(--background);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-content {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-item {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.mobile-menu-item:active {
  background: rgba(0, 0, 0, 0.08);
}

.mobile-collapsible .chevron {
  transition: transform 0.2s;
}

.mobile-collapsible.open .chevron {
  transform: rotate(180deg);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 1rem;
}

.mobile-submenu.open {
  max-height: 500px;
}

.mobile-submenu.scrollable {
  max-height: 256px;
  overflow-y: auto;
}

.mobile-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--muted-foreground);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s;
  cursor: pointer;
}

.mobile-submenu a:hover {
  background: rgba(0, 0, 0, 0.03);
}

.mobile-submenu a:active {
  background: rgba(0, 0, 0, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--primary-light);
}

.btn-primary:active {
  background: var(--primary-dark);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
  margin-top: 1rem;
}

/* Hero */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  margin-top: 64px;
}

@media (min-width: 768px) {
  .hero {
    height: 85vh;
    margin-top: 80px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
  }
}

.hero-cta {
  backdrop-filter: blur(4px);
  background: rgba(36, 99, 171, 0.9);
}

/* Sections */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-alt {
  background: var(--card);
}

.section-contact {
  background: var(--muted);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 4rem;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.125rem;
  }
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.card {
  background: var(--background);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(36, 99, 171, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .card-title {
    font-size: 1.5rem;
  }
}

.card-text {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Locations Grid */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .locations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.location-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.location-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.location-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.location-item span {
  color: var(--foreground);
  font-weight: 500;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.contact-info-card,
.schedule-card {
  background: var(--background);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.schedule-card {
  background: rgba(36, 99, 171, 0.05);
  border-color: rgba(36, 99, 171, 0.2);
}

.contact-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .contact-card-title {
    font-size: 1.5rem;
  }
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  text-decoration: none;
  margin-bottom: 1rem;
  min-height: 48px;
  transition: all 0.2s;
}

.contact-link:hover {
  background: var(--muted);
}

.contact-link svg {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-link-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-link-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.contact-link-value {
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .contact-link-value {
    font-size: 1rem;
  }
}

.schedule-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.schedule-header svg {
  color: var(--primary);
}

.schedule-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .schedule-title {
    font-size: 1.5rem;
  }
}

.schedule-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--card);
  border-top: 1px solid var(--card-border);
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer {
    padding: 4rem 0;
  }
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-links button {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  margin-left: -0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s;
  display: inline-block;
}

.footer-links a:hover,
.footer-links button:hover {
  background: rgba(0, 0, 0, 0.03);
}

.footer-links a:active,
.footer-links button:active {
  background: rgba(0, 0, 0, 0.08);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 40;
  transition: all 0.2s;
  text-decoration: none;
}

.floating-cta:hover {
  background: var(--primary-light);
  transform: scale(1.05);
}

.floating-cta:active {
  background: var(--primary-dark);
}

.floating-cta.visible {
  display: flex;
}

@media (min-width: 768px) {
  .floating-cta {
    display: none !important;
  }
}
