/* Custom Properties */
:root {
  --company-blue: #0f3057;
  --company-light-blue: #00587a;
  --company-accent: #008891;
  --company-light: #e7e7de;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background-color 0.3s, box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.navbar.scrolled .nav-logo {
  color: var(--company-blue);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--company-light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--company-accent);
  transition: width 0.3s;
}

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

.navbar.scrolled .nav-links a {
  color: var(--gray-700);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--company-accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 4px;
  transition: color 0.3s;
}

.navbar.scrolled .menu-toggle {
  color: var(--company-blue);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--company-blue);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, var(--white) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  max-width: 48rem;
  animation: fadeIn 0.5s ease-out;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.75;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.hero-cta:hover {
  background-color: var(--white);
  color: var(--company-blue);
}

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

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--company-blue);
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--company-accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* About */
.about {
  padding: 64px 0;
  background-color: var(--white);
}

.about-intro {
  max-width: 48rem;
  margin: 0 auto 48px;
  text-align: center;
}

.about-intro p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.about-card {
  background-color: var(--gray-50);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.about-card h3 {
  font-size: 1.2rem;
  color: var(--company-light-blue);
  margin-bottom: 20px;
}

.about-card p {
  color: var(--gray-600);
  line-height: 1.8;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-row {
  display: flex;
  gap: 8px;
}

.detail-label {
  font-weight: 500;
  color: var(--gray-700);
}

.detail-value {
  color: var(--gray-600);
}

/* Services */
.services {
  padding: 64px 0;
  background-color: var(--gray-50);
}

.services-subtitle {
  text-align: center;
  color: var(--gray-600);
  margin-top: -32px;
  margin-bottom: 48px;
  font-size: 1rem;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(0, 136, 145, 0.1);
  color: var(--company-accent);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--company-light-blue);
  margin-bottom: 16px;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Contact */
.contact {
  padding: 64px 0;
  background-color: var(--white);
}

.contact-content {
  display: flex;
  justify-content: center;
}

.contact-card {
  text-align: center;
  padding: 48px;
  max-width: 48rem;
  width: 100%;
  background-color: var(--gray-50);
  border-radius: 8px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(0, 136, 145, 0.1);
  color: var(--company-accent);
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 1.1rem;
  color: var(--company-blue);
  margin-bottom: 12px;
}

.contact-link {
  color: var(--company-accent);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--company-light-blue);
}

/* Footer */
.footer {
  background-color: var(--company-blue);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 60px;
}

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

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.footer-desc {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-400);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-300);
  transition: color 0.3s;
}

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

.footer-contact p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--white);
    padding: 16px 24px;
    gap: 0;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    color: var(--gray-700);
  }

  .hero-title {
    font-size: 1.5rem;
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
  }

  .about {
    padding: 48px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services {
    padding: 48px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact {
    padding: 48px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-links ul {
    align-items: center;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 36px;
  }

  .services-subtitle {
    margin-top: -20px;
    margin-bottom: 36px;
  }
}