/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --white: #ffffff;
  --soft-white: #f8fbff;
  --blue: #2563eb;
  --sky-blue: #60a5fa;
  --deep-blue: #0f4c81;
  --orange: #f97316;
  --soft-orange: #ffedd5;
  --text-dark: #12324a;
  --text-muted: #5b7287;
  --border: rgba(15, 76, 129, 0.14);
  --shadow: 0 18px 45px rgba(37, 99, 235, 0.12);
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 55%, #fff7ef 100%);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--blue);
}

a:hover {
  color: var(--orange);
}

/* Hero */
.hero {
  min-height: 58vh;
  padding: 10px 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(249, 115, 22, 0.08));
}

.hero-center,
.section,
.footer {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero-center {
  padding: 4px 0 18px;
  text-align: center;
}

.site-logo {
  display: block;
  width: 120px;
  max-width: 45vw;
  height: auto;
  margin: 0 auto 12px;
  object-fit: contain;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--deep-blue);
}

.hero-text {
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Slider */
.slider-section {
  padding: 0 24px 50px;
}

.slider-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--deep-blue);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
}

.slider-btn:hover {
  background: var(--white);
}

.slider-btn.prev {
  left: 14px;
}

.slider-btn.next {
  right: 14px;
}

/* Sections */
.section {
  padding: 80px 24px;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 28px;
  color: var(--deep-blue);
}

.content-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 850px;
  margin: 0 auto;
}

.about-section .content-card {
  border-top: 4px solid var(--orange);
}

.contact-section .content-card {
  border-top: 4px solid var(--blue);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.content-card h3 {
  margin-top: 0;
  color: var(--deep-blue);
}

.content-card p {
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 640px) {
  .hero {
    min-height: 44vh;
    padding: 8px 16px 12px;
  }

  .hero-center {
    padding: 2px 0 14px;
  }

  .section {
    padding: 60px 16px;
  }

  .content-card {
    padding: 22px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-logo {
    width: 105px;
  }

  .slider-section {
    padding: 0 16px 40px;
  }

  .slider-track {
    aspect-ratio: 4 / 3;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }
}