@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --bg: #f7fafc;
  --card: #fff;
  --text: #1f2937;
  --muted: #6b7280;
  --violet: #7c3aed;
  --radius: 12px;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  /* padding: 24px; */
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* NAVBAR: reduced vertical padding by ~25% */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header {
  background: var(--card);
  border-radius: 0 0 14px 14px;
  padding: 18px 24px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  background-color: var(--violet);
}

.brand h1 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--bg);
}

.tagline {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-link {
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--bg);
}

.cta {
  background: var(--violet);
  color: white;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

/* hero: full viewport height, centered content */
/* 80vh as requested */
.hero {
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-full {
  min-height: 90vh;
}

.hero h2 {
  margin: 0;
  font-size: 2rem;
}

.hero-sub {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
}

/* sections */
section {
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  margin: 44px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.muted {
  color: var(--muted);
}

/* offer */
.offer {
  min-height: 60vh;
  width: 100%;

  .offer-title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    /* margin-bottom: 2rem; */
  }

  .cards {
    width: 100%;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
    gap: 20px;
    margin: 0 auto;

    @media (max-width: 920px) {
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    @media (max-width: 560px) {
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .card {
      width: 90%;
      border: 2px solid var(--violet);
      border-radius: 10px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      text-align: center;
      gap: 10px;
      min-height: 300px;

      @media (max-width: 920px) {
        width: 80%;
      }

      @media (max-width: 720px) {
        width: 100%;
      }

      @media (max-width: 560px) {
        min-height: 300px;
      }

      .card-title {
        font-size: 1.4rem;
        font-weight: 700;
        background-color: var(--violet);
        color: var(--bg);
        width: 100%;
        padding: 5px 10px;
        border-radius: 5px 5px 0 0;
      }

      .card-description {
        margin-top: 10px;
        padding: 10px;

        @media (max-width: 560px) {
          margin: auto 0;
        }
      }
    }
  }
}

/* carousel */
/* SECTION (not slides) has min-height: 80vh now */
#types {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

/* ensure carousel visual styling unchanged */
.carousel {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.slides {
  display: flex;
  transition: transform 0.55s ease;
  width: 100%;
}

/* removed per-card min-height; slides size naturally from section now */
.slide {
  min-width: 100%;
  height: 60vh;
  display: flex;
  flex-direction: column-reverse;
  gap: 14px;
  padding: 14px;
  align-items: center;
}

.img-wrap {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  min-height: 220px;
  background: #efefef;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.meta {
  flex: 1;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meta h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.meta p {
  margin: 0 0 12px;
}

/* controls */
.controls {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

.control {
  background: #fff;
  border: 1px solid #eee;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d1d5db;
  border: 0;
}

.dot.active {
  background: var(--violet);
}

.play {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
}

/* contact */
#contact {
  background-color: var(--violet);
  color: white;
  padding: 10px 50px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 12px;
}

.address {
  line-height: 1.45;

  a {
    text-decoration: none;
    color: white;
  }

  .timings {
    margin-top: 30px;

    h4 {
      line-height: 0.8;
      margin: 0 0;
    }
    p {
      line-height: 0.8;
      font-size: 1rem;
      font-weight: 400;
      margin: 16px 0;
    }
  }
}

.contact-form form {
  display: grid;
  gap: 8px;
}

input,
textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  font-size: 14px;
}

.form-actions {
  display: flex;
  gap: 8px;
}

.btn {
  background: var(--violet);
  color: #fff;
  border: 0;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn-outline {
  background: transparent;
  border: 1px solid #e6e6e6;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* footer */
.site-footer {
  margin-top: 24px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  background: transparent;
}

/* accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* responsive adjustments */
/* On smaller screens (max-width:720px) make slide contents stack vertically: image above, details below */
@media (max-width: 720px) {
  .slide {
    flex-direction: column;
    padding: 12px;
    /* slides will size based on section height (80vh) */
  }

  .img-wrap {
    width: 100%;
    min-height: 40vh;
  }

  .meta {
    width: 100%;
    padding-top: 12px;
  }

  .brand h1 {
    font-size: 1.25rem;
  }
}

@media (max-width: 360px) {
  .brand {
    margin-left: auto;
    margin-right: auto;
  }

  .main-nav {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 720px) {
  .slide {
    padding: 20px;
  }

  .img-wrap {
    min-height: 300px;
  }

  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .brand h1 {
    font-size: 1.75rem;
  }

  .hero h2 {
    font-size: 3rem;
  }

  .hero-sub {
    font-size: 1.25rem;
  }
}
