* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #1e293b;
  line-height: 1.6;
}

header {
  background: #0f172a;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.logo {
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
  color: #38bdf8;
}

.hero {
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.hero-image img,
.gallery-thumb,
#slideImage,
.modal-content {
  width: 100%;
  display: block;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.alt-section {
  background: #e2e8f0;
  border-radius: 14px;
  margin-bottom: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.float-box {
  border: 1px solid #dbeafe;
}

.btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: #1d4ed8;
}

.feature-list {
  padding-left: 20px;
}

.metric-card {
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0f766e;
}

.subtitle {
  color: #475569;
}

.top-gap {
  margin-top: 24px;
}

.top-gap-small {
  margin-top: 12px;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.tab-button {
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  background: #cbd5e1;
}

.tab-button.active {
  background: #2563eb;
  color: white;
}

.tab-content {
  display: none;
}

.active-tab {
  display: block;
}

.accordion {
  width: 100%;
  text-align: left;
  border: none;
  background: #0f172a;
  color: white;
  padding: 14px 18px;
  margin-top: 10px;
  border-radius: 10px;
  cursor: pointer;
}

.panel {
  display: none;
  background: white;
  padding: 15px 18px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.slide-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.gallery-thumb {
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  padding-top: 60px;
}

.modal-content {
  max-width: 800px;
  margin: auto;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

.form-card label,
.form-card input,
.form-card select,
.form-card textarea {
  display: block;
  width: 100%;
  margin-bottom: 12px;
}

.form-card input,
.form-card select,
.form-card textarea {
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.inline-options {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

footer {
  background: #0f172a;
  color: white;
  text-align: center;
  padding: 16px;
  margin-top: 30px;
}

.dark-preview {
  background: #0f172a;
  color: #e2e8f0;
}

@media (max-width: 900px) {
  .hero,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}