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

:root {
  --color-bg: #000000;
  --color-primary: #1b6fb5;
  --color-accent: #e87a1e;
  --color-text: #ffffff;
  --color-text-muted: #a0a0a0;
  --font-main: 'Exo 2', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* === Hero Section === */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* === Logo === */
.logo {
  width: 440px;
  height: auto;
  max-width: 80vw;
}

/* === Slogan Rotation === */
.slogan-container {
  position: relative;
  height: 2.5rem;
  overflow: hidden;
  min-width: 300px;
}

.slogan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slogan.active {
  opacity: 1;
  transform: translateY(0);
}

/* === Contact Section === */
.contact-section {
  text-align: center;
  margin-top: 2rem;
}

.contact-section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.contact-section p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}

.contact-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--color-primary);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-btn:hover {
  background-color: #2480cc;
  transform: translateY(-2px);
}

.contact-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* === Footer === */
.footer {
  padding: 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid #1a1a1a;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-divider {
  color: #333;
}

/* === Modal === */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  padding: 2rem;
  align-items: flex-start;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal-content {
  background-color: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 2.5rem;
  max-width: 700px;
  width: 100%;
  margin: 2rem auto;
  position: relative;
}

.modal-content h2 {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.modal-content h3 {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-content p,
.modal-content li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.modal-content ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.modal-content a {
  color: var(--color-primary);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--color-text);
}

/* === Responsive === */
@media (max-width: 600px) {
  .logo {
    width: 160px;
  }

  .slogan-container {
    min-width: 250px;
    height: 3rem;
  }

  .slogan {
    font-size: 1rem;
  }

  .modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .contact-btn {
    padding: 0.65rem 1.5rem;
  }
}
