@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #0f6ba8;
  --primary-dark: #0b4d7c;
  --accent: #4ad3c2;
  --text: #101828;
  --muted: #475467;
  --bg: #f6f9fc;
  --card: #ffffff;
  --border: #e4e7ec;
  --radius: 16px;
  --shadow-sm: 0 6px 18px rgba(27, 43, 65, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 16px rgba(15, 107, 168, 0.07);
}

.site-header .nav-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

.main-nav a {
  font-weight: 500;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(15, 107, 168, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 107, 168, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 107, 168, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at top left, rgba(74, 211, 194, 0.25), transparent 45%),
    radial-gradient(circle at top right, rgba(15, 107, 168, 0.15), transparent 55%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.parallax-bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  filter: blur(1px);
  z-index: 0;
  transform: translateY(0);
  transition: opacity 0.3s ease;
}

.parallax-shadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.85), rgba(247, 251, 255, 0.92));
  z-index: 0;
}

.hero-photo {
  background: linear-gradient(180deg, #eff7ff 0%, #dff0ff 100%);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: calc(var(--radius) * 0.75);
  box-shadow: 0 15px 35px rgba(15, 107, 168, 0.18);
}

.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(180deg, #eff7ff 0%, #dff0ff 100%);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: calc(var(--radius) * 0.75);
  box-shadow: 0 15px 35px rgba(15, 107, 168, 0.18);
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.slider-dots button.active {
  transform: scale(1.2);
  background: #fff;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(74, 211, 194, 0.18);
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 24px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-card span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: transform 0.2s ease, border 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 107, 168, 0.2);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 107, 168, 0.1);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card ul {
  padding-left: 18px;
  margin: 0;
}

.testimonial {
  background: linear-gradient(135deg, #0f6ba8, #0b4d7c);
  color: #fff;
  text-align: center;
}

.testimonial blockquote {
  font-size: 1.3rem;
  line-height: 1.5;
  margin: 0 auto 24px;
  max-width: 680px;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
}

.cta {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(15, 107, 168, 0.25);
}

.cta h2 {
  margin-top: 0;
  font-size: 2rem;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.site-footer {
  background: #071f2f;
  color: #e4e7ec;
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.footer-grid h4 {
  margin-top: 0;
  color: #fff;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 140px;
  grid-column: 1 / -1;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 107, 168, 0.15);
}

.contact-form button {
  grid-column: 1 / -1;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--border);
}

.timeline li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 24px;
}

.timeline li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: -7px;
  top: 6px;
}

.blog-hero {
  text-align: center;
  padding: 100px 0 40px;
}

.search-bar {
  margin: 24px auto 40px;
  max-width: 520px;
  display: flex;
  gap: 12px;
}

.search-bar input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 12px 18px;
  font-size: 1rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card small {
  color: var(--muted);
}

.blog-content h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  margin-bottom: 32px;
}

.blog-content h2 {
  margin-top: 40px;
}

.blog-content ul {
  padding-left: 20px;
}

.highlight-box {
  background: rgba(74, 211, 194, 0.12);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 12px;
  margin: 24px 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.tag-list span {
  background: rgba(15, 107, 168, 0.1);
  color: var(--primary-dark);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.keyword-line {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  justify-items: center;
  margin-top: 32px;
}

.brand-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  width: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px dashed var(--border);
  text-align: center;
  font-weight: 600;
  color: var(--muted);
}

.brand-card img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(0.1);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-gallery .card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-gallery .product-media {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
}

.product-gallery .product-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(15, 107, 168, 0.1));
  transition: transform 0.3s ease;
}

.product-gallery .card:hover .product-media img {
  transform: translateY(-4px);
}

.product-gallery .card-body {
  padding: 20px 24px 24px;
}

.product-gallery h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.product-gallery ul {
  padding-left: 18px;
  margin: 0 0 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--card);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card figcaption {
  padding: 16px 18px;
  font-weight: 600;
  color: var(--text);
}

.gallery-card small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.mosaic-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-card .mosaic-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(2, 7, 16, 0.9) 80%);
  color: #fff;
}

.mosaic-card .mosaic-meta h4 {
  margin: 0 0 6px;
}

.mosaic-card .mosaic-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header .nav-grid {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    display: none;
    box-shadow: var(--shadow-sm);
  }

  .main-nav.open {
    display: flex;
  }

  .hero {
    padding: 80px 0 60px;
  }
}

@media (max-width: 600px) {
  .site-header .nav-grid {
    grid-template-columns: 1fr auto;
  }

  .cta {
    padding: 32px 24px;
  }

  .contact-card {
    padding: 20px;
  }

  .blog-content h1 {
    font-size: 2rem;
  }
}

