/* ====== RESET & BASE ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", Arial, sans-serif;
  background: linear-gradient(to bottom, #e0f2fe, #fff);
  color: #334155;
  line-height: 1.6;
}

/* ====== CONTAINERS ====== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.section {
  padding: 80px 0;
}
.section.alt {
  background-color: #fff;
}

/* ====== HEADER ====== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid #e2e8f0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-img {
  height: 100px; /* adjust as needed */
  width: auto;
}
.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #334155;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nav a:hover {
  color: #0369a1;
}
.btn-primary {
  background: #0369a1;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: #075985;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.hero::before {
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background: rgba(56, 189, 248, 0.3);
}
.hero::after {
  bottom: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: rgba(16, 185, 129, 0.3);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero-text h1 {
  font-size: 2.5rem;
  color: #0f172a;
  font-weight: 800;
}
.hero-text p {
  margin-top: 20px;
  font-size: 1.1rem;
  color: #475569;
}
.hero-buttons {
  margin-top: 30px;
}
.btn-dark,
.btn-light {
  display: inline-block;
  margin-right: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
}
.btn-dark {
  background: #0f172a;
  color: #fff;
}
.btn-dark:hover {
  transform: scale(1.05);
  background: #1e293b;
}
.btn-light {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}
.btn-light:hover {
  transform: scale(1.05);
  background: #f8fafc;
}
.subtext {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #64748b;
}
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards 0.3s;
}

/* ====== SECTIONS ====== */
h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}
p {
  font-size: 1rem;
  color: #475569;
}
.grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.list {
  margin-top: 20px;
  list-style: disc;
  padding-left: 20px;
}
.list li {
  margin-bottom: 8px;
}

/* ====== CTA ====== */
.cta {
  background: linear-gradient(90deg, #0284c7, #10b981);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.cta-inner h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.cta-inner p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* ====== FORM ====== */
.form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.form input,
.form textarea {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 1rem;
}
.form button {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}
.form button:hover {
  background: #1e293b;
}

/* ====== FOOTER ====== */
.footer {
  border-top: 1px solid #e2e8f0;
  background: #fff;
  text-align: center;
  padding: 40px 0;
  font-size: 0.9rem;
  color: #64748b;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #64748b;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #0f172a;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cards {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    display: none;
  }
}

/* ====== CAROUSEL (3 visible images) ====== */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}

.carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
  gap: 16px;
}

.carousel-track img {
  width: calc(33.333% - 10px);
  border-radius: 14px;
  height: 340px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Nav arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 16px;
  border-radius: 50%;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}
.prev { left: -20px; }
.next { right: -20px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  border-radius: 50%;
  cursor: pointer;
}
.carousel-dot.active { background: #0369a1; }

/* Responsive */
@media (max-width: 900px) {
  .carousel-track img { width: calc(50% - 10px); }
}
@media (max-width: 600px) {
  .carousel-track img { width: 100%; }
}

/* Status message under form */
.form-status {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}
.error-msg {
  font-size: 0.75rem;
}
