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

:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(210, 24%, 16%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(210, 24%, 16%);
  --primary: hsl(207, 44%, 21%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(210, 40%, 96.1%);
  --secondary-foreground: hsl(207, 44%, 21%);
  --muted: hsl(210, 40%, 96.1%);
  --muted-foreground: hsl(215.4, 16.3%, 46.9%);
  --accent: hsl(211, 100%, 40%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(214.3, 31.8%, 91.4%);
  --navy-dark: hsl(210, 38%, 8%);
  --navy-primary: hsl(207, 44%, 21%);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

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

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar.scrolled .navbar-logo {
  color: var(--primary);
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-menu a {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.navbar.scrolled .navbar-menu a {
  color: var(--foreground);
}

.navbar-menu a:hover {
  color: var(--accent);
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}

.navbar-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: block;
}

.mobile-menu-button svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.navbar.scrolled .mobile-menu-button svg {
  stroke: var(--foreground);
}

/* Mobile Menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 384px;
  background-color: var(--navy-dark);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header h2 {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
  transition: background-color 0.3s;
  border-radius: 0.5rem;
}

.mobile-menu-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-nav {
  padding: 1rem 0;
}

.mobile-menu-nav a {
  display: block;
  padding: 1rem 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-nav a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--navy-dark);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    hsla(210, 38%, 8%, 0.9),
    hsla(207, 44%, 21%, 0.8),
    hsla(207, 44%, 21%, 0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 48rem;
  animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text h1 .accent {
  color: var(--accent);
}

.hero-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn {
  padding: 1.25rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
}

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

.btn-primary:hover {
  background-color: hsl(211, 100%, 30%);
}

.btn-outline {
  background-color: white;
  color: black;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: rgb(209, 213, 219);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator-inner {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem;
}

.scroll-indicator-dot {
  width: 4px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

/* Business Section */
.business-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.business-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.business-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1500ms ease-out;
  transform: scale(0.95);
}

.business-bg-image.visible {
  transform: scale(1.1);
}

.business-bg-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.9);
}

.business-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
  animation: fadeIn 1s ease-out;
}

.business-header h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.business-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.business-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

.business-card {
  position: relative;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: all 0.7s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
}

.business-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.business-icon {
  width: 64px;
  height: 64px;
  background-color: hsla(211, 100%, 40%, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.business-card:hover .business-icon {
  background-color: var(--accent);
  transform: scale(1.1);
}

.business-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  transition: stroke 0.3s;
}

.business-card:hover .business-icon svg {
  stroke: white;
}

.business-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.business-card:hover h3 {
  color: var(--accent);
}

.business-card p {
  color: var(--muted-foreground);
  line-height: 1.75;
}

.business-card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  border-radius: 0 0 0.5rem 0.5rem;
}

.business-card:hover .business-card-line {
  transform: scaleX(1);
}

/* News Section */
.news-section {
  padding: 5rem 0;
  background-color: hsla(210, 40%, 96.1%, 0.3);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  animation: fadeIn 1s ease-out;
  flex-wrap: wrap;
  gap: 1rem;
}

.news-header-text h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.news-header-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.news-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  animation: fadeIn 1s ease-out;
}

.news-card:hover {
  box-shadow: var(--shadow-xl);
}

.news-card-content {
  padding: 1.5rem;
}

.news-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: hsla(211, 100%, 40%, 0.1);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}

.news-date {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  gap: 0.25rem;
}

.news-date svg {
  width: 16px;
  height: 16px;
}

.news-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover h3 {
  color: var(--accent);
}

.news-card-description {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  display: flex;
  align-items: center;
  color: var(--accent);
  font-weight: 500;
  transition: transform 0.3s;
}

.news-card:hover .news-more {
  transform: translateX(8px);
}

.news-more svg {
  width: 16px;
  height: 16px;
  margin-left: 0.5rem;
}

.news-card-line {
  height: 4px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.news-card:hover .news-card-line {
  transform: scaleX(1);
}

/* Footer */
.footer {
  background-color: var(--navy-dark);
  color: white;
  padding: 3rem 0;
}

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

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.75;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.footer-email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}

.footer-email-icon:hover {
  background-color: var(--accent);
}

.footer-email-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-top: 1rem;
}

/* Page Header */
.page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(to bottom, var(--navy-dark), var(--background));
}

.page-header h1 {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 48rem;
}

/* Content Section */
.content-section {
  padding: 4rem 0;
}

.content-section.alt {
  background-color: hsla(210, 40%, 96.1%, 0.3);
}

.content-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 3rem;
  text-align: center;
}

.content-section h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* History Timeline */
.timeline {
  max-width: 48rem;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.timeline-date {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--accent);
  min-width: 100px;
}

.timeline-content {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  flex: 1;
}

/* Organization Chart */
.org-chart {
  max-width: 64rem;
  margin: 0 auto;
  background-color: var(--card);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
}

.org-chart-head {
  text-align: center;
  margin-bottom: 2rem;
}

.org-chart-head-box {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.org-chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.org-chart-box {
  background-color: var(--background);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  border: 2px solid var(--border);
}

.org-chart-box h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.org-chart-box p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.principle-card {
  background-color: var(--card);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: box-shadow 0.3s;
}

.principle-card:hover {
  box-shadow: var(--shadow-xl);
}

.principle-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 1rem;
}

.principle-card p {
  color: var(--muted-foreground);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 96rem;
  margin: 0 auto;
}

.service-card {
  background-color: var(--card);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
}

.service-card-header {
  background-color: var(--navy-dark);
  color: white;
  padding: 1.5rem;
}

.service-card-header h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.service-card-header p {
  color: rgba(255, 255, 255, 0.8);
}

.service-card-image {
  background-color: var(--muted);
  padding: 1rem;
}

.service-card-image img {
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
}

.service-buy-button {
  display: inline-block;
  margin-top: 1rem;
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.service-buy-button:hover {
  background-color: var(--accent);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-card {
  background-color: var(--card);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  stroke: var(--accent);
}

.contact-card h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.contact-card a {
  color: var(--accent);
  text-decoration: none;
}

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

.map-container {
  background-color: var(--card);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* 404 Page */
.error-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: rgb(243, 244, 246);
  text-align: center;
}

.error-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.error-content p {
  font-size: 1.25rem;
  color: rgb(75, 85, 99);
  margin-bottom: 1rem;
}

.error-content a {
  color: rgb(59, 130, 246);
  text-decoration: underline;
}

.error-content a:hover {
  color: rgb(29, 78, 216);
}

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

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

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .org-chart-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .principles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-bottom p {
    text-align: left;
  }

  .footer-copyright {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .navbar-menu {
    display: flex;
  }

  .mobile-menu-button {
    display: none;
  }

  .business-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-text h1 {
    font-size: 4.5rem;
  }
}

@media (max-width: 767px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .business-header h2,
  .news-header-text h2,
  .content-section h2 {
    font-size: 2rem;
  }
}
