/* Shared styles across pages */


:root {
  --bg: #e0f2fe;
  /* Soft Sky Blue */
  --primary: #1e293b;
  --accent: #3b82f6;
  /* Modern Blue */
  --pink: #f26398;
  --pink-2: #f48fb1;
  --soft-blue: #f0f9ff;
  --pill-bg: #dbeafe;
  --pill-border: #93c5fd;
  --hero-image-url: url("../images/updateimages/Final_With_updated_characters.png");
  --overlay: linear-gradient(180deg, rgba(224, 242, 254, 0.4) 0%, rgba(224, 242, 254, 0.7) 100%);
  --font-heading: "Chewy", system-ui;
  --font-body: "Bubblegum Sans", sans-serif;
  --font-button: "Fredoka", sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* background: linear-gradient(180deg, #fefcf4, #f8fbff); */
  color: var(--primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
  /* Chrome/Safari */
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
  animation: fadeUp 0.7s ease both;
}

.btn,
.cta-buy,
.about-btn,
.btn-ghost {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.cta-buy:hover,
.about-btn:hover,
.btn-ghost:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.btn:active,
.cta-buy:active,
.about-btn:active,
.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 4px;
  font-size: clamp(28px, 4vw, 46px);
}

p {
  font-family: var(--font-body);
}

html {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
  /* Chrome/Safari */
}

/* Header bar (home) */
header {
  position: sticky;
  top: 12px;
  z-index: 99;
  width: 100%;
  max-width: 1200px;
  margin: 16px auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, var(--soft-blue), #ffffff);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}

.brand-avatar {
  width: 150px;
  height: auto;
  /* border-radius: 50%; */
  /* background: radial-gradient(circle at 30% 30%, #ffe8f0, #ffd3e4); */
  overflow: hidden;
  display: grid;
  place-items: center;
  /* border: 2px solid #fff; */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12); */
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: grid;
  line-height: 1.1;
  color: var(--pink);
  font-weight: 700;
  letter-spacing: 0.2px;
}

nav {
  display: flex;
  align-items: center;
  /* gap: 20px; */
  font-size: 20px;
  flex: 1;
  justify-content: center;

}

.mobile-nav {
  display: none;
}

.desktop-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 25px;
  color: #000;
  cursor: pointer;
  /* box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08); */
}

nav a {
  font-size: 23px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 12px;
  transition: background-color 0.12s ease, transform 0.12s ease;
}

nav a:hover {
  /* background: rgba(242, 99, 152, 0.12); */
  transform: translateY(-1px);
}

.cta-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: linear-gradient(249deg, #3b82f6, #1e40af);
  color: #ffffff;
  text-shadow: 0px 3px 3px black;
  border-radius: 999px;
  border: none;
  font-size: 20px;
  font-family: var(--font-button);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(99, 173, 242, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}

.cta-buy:hover {
  transform: translateY(-1px);
}

/* Hero section (home) */
.hero {
  margin: -8pc 0 0;
  position: relative;
  overflow: hidden;
  background: var(--hero-image-url);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  height: 125vh;
  display: grid;
  place-items: center;
  text-align: center;
  /* padding: 80px 20px 120px;*/
}

.hero::after {
  content: "";
  inset: 0;

  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 700px;
  z-index: 1;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: #7c2d12;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lead {
  margin: 0px auto;
  max-width: 500px;
  font-size: 23px;
  color: #1f2937;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Author highlight section */
.about-hero {
  min-height: 100vh;
  width: auto;
  padding: 120px 20px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.about-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
  /* opacity: 0.7; */
  /* Increased slightly for About page clarity */
}

.video-overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(255, 255, 255, 0.45); */
  z-index: 1;
}

.desktop-video {
  display: block;
}

.mobile-video {
  display: none;
}

@media (max-width: 768px) {
  .desktop-video {
    display: none;
  }

  .mobile-video {
    display: block;
  }
}

.about-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  align-items: center;
}

.about-photo {
  position: relative;
  display: grid;
  place-items: center;
}

.about-photo .frame {
  width: min(100%, 520px);
  /* background: #6bbd4500; */
  border-radius: 18px;
  padding: 18px;
  /* box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12); */
}

.about-photo img {
  width: 100%;
  display: block;
  /* border-radius: 14px; */
  object-fit: cover;
  /* background: #e8e8e8; */
}

.about-characters {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.about-characters span {
  width: 54px;
  height: 54px;
  background: radial-gradient(circle at 30% 30%, #ffe3f0, #ffd5e8);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.about-copy .pill-title {
  margin-bottom: 10px;
}

.about-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(45px, 5.5vw, 55px);
  color: #3b82f6;
  /* Modern Blue */
  line-height: 1.2;
}

.about-copy h2 strong {
  color: #1e40af;
  font-weight: 700;
}

.about-copy p {
  color: #374151;
  font-size: 20px;
  width: auto;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 0.01fr));
  gap: 10px 16px;
  margin: 18px 0 24px;
}

.about-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  /* font-weight: 600; */
  color: #1f2937;
}

.about-item::before {
  content: "";
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='%233b82f6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l2.39 5.74L20.5 8.5l-4.5 4.02L17 19.5 12 16.6 7 19.5l1.99-6.98L4.5 8.5l6.11-.76L12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.about-btn {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-family: var(--font-button);
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(249deg, #3b82f6, #1e40af);
  color: #ffffff;
  text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
  box-shadow: -1px 9px 20px 0px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.about-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}

@media (max-width: 1200px) {

  .about-hero {
    height: auto;
  }

  .about-copy p {
    width: 85%;
  }

  .contact-card {
    padding: 0px;
  }
}


@media (max-width: 720px) {
  .about-wrap {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Left-text / right-image feature */
.feature-section {
  padding: 100px 20px 50px;
  /* background: url(../images/bookbg2.png); */
  background: #f0f9ff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  min-height: 70vh;
  width: 100%;
  position: relative;
  isolation: isolate;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.feature-section1 {
  border-top: 10px solid var(--pink);
  padding: 50px 20px 50px;
  /* background: url("../images/bookbg2.png"); */
  background: #f0f9ff;
  /* Very light blue */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  min-height: 70vh;
  width: 100%;
  position: relative;
  isolation: isolate;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}


/* .feature-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 40, 0.35) 0%, rgba(20, 20, 40, 0.5) 100%);
  z-index: 0;
  opacity: 0.85;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
} */

.feature-section>* {
  position: relative;
  z-index: 1;
}


.feature-wrap {
  max-width: 1300px;
  padding: 60px 10px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  /* min-height: 100vh; */
  align-items: center;
  justify-content: center;
}

.feature-copy .pill-title {
  margin-bottom: 10px;
}

.feature-copy {
  /* background: rgba(255, 255, 255, 0.72); */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 36px 40px;
  /* box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1); */
  text-align: left;
  color: #1f2937;
}

.feature-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(35px, 5.5vw, 60px);
  color: #2b2663;
  text-shadow: none;
  margin-bottom: 12px;
}

.feature-copy p {
  color: #374151;
  font-size: 20px;
  font-family: var(--font-body);
}

.feature-points {
  margin: 16px 0 22px;
  display: grid;
  gap: 10px;
}

.feature-points li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1f2937;
  font-family: var(--font-body);
}

.feature-points li::before {
  content: "★";
  color: #f29f05;
  font-size: 16px;
}

.feature-image {
  display: grid;
  place-items: center;
}

.feature-image img {
  width: 100%;
  border-radius: 18px;
  /* box-shadow: 9px 19px 20px 9px rgb(0 0 0 / 26%); */
  object-fit: cover;
  /* background: #e8e8e8; */
}

/* =======================
   Shared UI Components
======================= */

/* Amazon Purchase Button */
.amazon-buy-btn {
  display: inline-flex;
  align-items: center;
  background: #f78627;
  color: white !important;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 4px;
  gap: 15px;
  box-shadow: 0 4px 0 #bf6318;
  transition: transform 0.1s;
  font-family: var(--font-body);
}

.amazon-buy-btn:hover {
  background: #e67616;
  color: white !important;
}

.amazon-buy-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #bf6318;
}

.amazon-buy-btn i {
  font-size: 24px;
}

.btn-label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1;
  text-align: left;
}

.btn-main-text {
  font-size: 18px;
  margin-top: 4px;
}

/* Contact / signup style section */
.contact-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #2963b1, #447ac3);
  display: flex;
  justify-content: center;
}

.contact-card {
  gap: 25px;
  padding: 64px;
  width: min(1300px, 100%);
  height: auto;
  /* background: #fff; */
  border-radius: 16px;
  /* box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18); */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  overflow: hidden;
}

.contact-image {
  background: #fff;
  border-radius: 16px;
  display: grid;
  place-items: center;
  padding: 16px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: inherit;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.contact-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  padding: 32px 32px 36px;
  display: grid;
  gap: 16px;
}

.contact-form h3 {
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
}

.contact-form form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #dfe5ec;
  background: #f9fbfd;
  font-size: 14px;
  color: #1f2937;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form .primary {

  background: linear-gradient(249deg, #3b82f6, #1e40af);
  color: #ffffff;
  text-shadow: 0px 3px 3px black;
  /* color: #fff; */
  border: none;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.contact-form .primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(69, 179, 200, 0.25);
}

.contact-form .divider {
  text-align: center;
  font-weight: 700;
  color: #374151;
}

.contact-form .alt-actions {
  display: grid;
  gap: 10px;
}

.contact-form .ghost {
  background: #fff;
  color: #1f2937;
  border: 1px solid #cfd8e3;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.contact-form .ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.contact-note {
  text-align: center;
  font-size: 13px;
  color: #4b5563;
}

@media (max-width: 1200px) {
  .contact-card {
    padding: 0px;
  }

}

@media (max-width: 720px) {
  .contact-card {
    padding: 0px;
    width: min(1300px, 100%);
    height: auto;
  }
}

/* Footer */
.site-footer {
  position: relative;
  background: url(../images/bookbg3.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-color: #000;
  padding: 80px 20px 120px;
  overflow: hidden;
  height: 60vh;
}

/* .site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10vh;
  
  border-top: 1px solid rgb(0 0 0);
} */

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(141, 191, 83, 0.719), rgba(163, 130, 80, 0)); */
  opacity: 0.85;
  pointer-events: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  font-size: 20px;
}

.footer-brand h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #ffffff;
  line-height: 1.6;
  /* max-width: 320px; */
}

.footer-col h4 {
  color: rgb(0, 0, 0);
  font-size: 25px;
  margin-bottom: 12px;
  font-weight: 800;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #dbdbdb;
  text-decoration: none;
  font-size: 25px;
}

.footer-links a:hover {
  color: #f26398;
}

.footer-links a i {
  margin-right: 8px;
  width: 20px;
  text-align: center;
}

.footer-links a:hover i.fa-youtube {
  color: #ff0000;
}

.newsletter p {
  color: #f3f3f3;
  line-height: 1.5;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  max-width: 320px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
}

.newsletter-form button {
  background: #f26398;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  display: grid;
  place-items: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.newsletter-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(242, 99, 152, 0.28);
}

.footer-bottom {
  margin-top: 13pc;
  text-align: center;
  font-size: 22px;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .newsletter-form {
    width: 100%;
  }
}

.shell {
  max-width: 960px;
  width: 100%;
  margin: 32px auto 48px;
  padding: 0 20px;
}

.pill-title {
  display: inline-flex;
  background: rgb(0, 0, 0);
  color: #ffffff;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 12px;
  letter-spacing: 4px;
  font-family: var(--font-heading);
}

p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: 18px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--pink);
  text-decoration: none;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-size: 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: var(--font-button);
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(249deg, #3b82f6, #1e40af);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

label {
  font-weight: 700;
  color: #374151;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 15px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.nav-inline {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.nav-inline a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(242, 99, 152, 0.08);
}

@media screen and (min-width: 1024px) and (max-width: 1440px) {
  header {
    max-width: 1000px;
  }

  nav a {
    font-size: 20px;
  }

  .cta-buy {
    font-size: 17px;
  }

  .about-photo .frame {
    width: min(80%, 520px);
  }

  .about-copy h2 {
    font-size: clamp(45px, 5.5vw, 46px);
  }

  .about-copy p {
    font-size: 17px;
  }

  .about-btn {
    font-size: 15px;
  }

  .about-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3px;
    align-items: center;
  }

  .hero {
    padding: 0pc 16px;
    height: 130vh;
  }

  .hero-content {
    gap: 1px;
  }

  .hero-content h1 {
    font-size: clamp(40px, 5vw, 30px);
  }

  .hero-content p {
    font-size: clamp(15px, 2.5vw, 20px);
  }

  .hero-content .btn {
    font-size: 15px;
  }


  .feature-copy h2 {
    font-size: clamp(35px, 5.5vw, 53px);
  }

  .feature-copy p {
    font-size: 16px;
  }

}

/* Responsive tweaks */
@media (max-width: 1024px) {
  header {
    width: 95%;
    gap: 32px;
  }

  .hero {
    padding: 5pc 16px;
    height: 100vh;
    background-image: url(../images/updateimages/Final_With_updated_characters_tab.jpg);
  }

  .feature-section {
    height: auto;
    padding: 64px 16px;
  }

  .feature-wrap {
    height: auto;
    display: block;
  }

  .about-copy h2 {
    font-size: clamp(41px, 5.5vw, 31px);
  }

  .about-wrap {
    max-width: 800px;
    gap: 0px;
    display: block;
    padding: 4pc;
  }

  /* nav a {
    font-size: 20px;
  } */

  /* .about-copy {
    background: #f7f7f7;
  } */
}

@media (max-width: 768px) {
  header {
    position: static;
    gap: 18px;
    padding: 12px 14px;
    flex-wrap: nowrap;
    max-width: 100%;
    position: relative;
    align-items: center;
    justify-content: space-between;
  }

  nav {
    gap: 12px;
    font-size: 16px;
    flex-wrap: wrap;
  }

  .brand-text {
    font-size: 16px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    letter-spacing: 1px;
  }

  .hero {
    padding: 5pc 10pc 40px;
    height: 100vh;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background-image: url(../images/updateimages/Final_With_updated_characters_mobile.jpg);
  }

  .lead {
    font-size: 18px;
  }

  .feature-section {
    padding: 56px 14px;
  }

  .footer-inner {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .nav-toggle {
    display: block !important;

  }

  .desktop-nav,
  .desktop-cta {
    display: none !important;
  }

  .mobile-nav {
    display: flex !important;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 320px;
  }

  header nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
  }

  header.nav-open nav {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
  }

  .cta-buy {
    width: 100%;
    justify-content: center;
  }

  .about-wrap {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    padding: 3pc 5pc;
  }

  .about-copy {
    text-align: center;

  }

  .about-copy p {
    color: #374151;
    font-size: 20px;
    width: auto;
  }

  .about-item {
    justify-content: center;
    display: block;
  }

  .about-actions {
    justify-content: center;
  }

  .about-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  /* .feature-wrap {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  } */

  .feature-copy {
    text-align: center;
    padding: 0;
  }

  .feature-copy p {
    width: auto;
  }

  .hero-content h1 {
    font-size: 2pc;
  }

  .contact-card {
    padding: 0px;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  }
}


@media (max-width: 576px) {
  header {
    flex-direction: row;
    width: 100%;
    gap: 12px;
    position: relative;
    z-index: 99;
    margin: 0 auto;
    padding: 12px 14px;
    border-radius: 0px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  nav {
    justify-content: center;
  }

  .cta-buy {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 10pc 12px 40px;
    align-items: center;
    height: 105vh;
    min-height: 0vh;
    justify-content: center;
    background-image: url(../images/updateimages/Final_With_updated_characters_mobile.jpg);
  }

  .hero-content h1 {
    font-size: clamp(24px, 6vw, 34px);
  }

  .about-hero {
    height: auto;
  }

  .actions {
    justify-content: center;
  }

  .footer-brand h3 {

    align-items: center;
    display: flex;
    justify-content: center;
  }

  .feature-wrap {
    display: flex;
    flex-direction: column-reverse;
    padding: 0 12px;
    text-align: center;
    /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
  }

  .feature-copy p {
    width: auto;
  }

  .about-copy h2 {
    font-size: clamp(32px, 6vw, 46px);
  }

  .about-copy p {
    color: #374151;
    font-size: 20px;
    width: auto;
  }

  .about-wrap {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0.5pc;
  }

  .about-actions {
    justify-content: center;
  }

  .about-copy {
    text-align: center;
  }

  .about-item {
    justify-content: center;
    display: block;
  }


  .site-footer {
    margin-top: 0px;
    padding: 0 12px;
    text-align: center;
    gap: 18px;
    height: auto;
  }

  .footer-inner {
    text-align: center;
    gap: 50px;
  }

  .about-list {
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); */
    gap: 10px 16px;
    margin: 18px 0 24px;
    flex-direction: column;
  }
}

@media (max-width: 340px) {
  .hero {
    padding: 8pc 12px 40px;
    align-items: center;
    height: 110vh;
    min-height: 0vh;
    justify-content: center;
    background-image: url(../images/updateimages/Final_With_updated_characters_mobile.jpg);
  }

  .hero-content h1 {
    font-size: clamp(15px, 6vw, 34px);
  }

  .lead {
    font-size: 15px;
  }

  .hero-content {
    gap: 0px;
  }

  .btn {
    font-size: 15px;
  }

  .brand-avatar {
    width: 120px;
  }
}

/* Floating Butterfly Animation */
.about-hero {
  position: relative;
  /* Ensure container is positioned for absolute butterfly */
}

.floating-butterfly {
  position: absolute;
  width: 80px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  opacity: 0.9;
  animation: butterfly-fly 20s linear infinite;
}

.floating-rocket {
  position: absolute;
  width: 10%;
  height: auto;
  z-index: 9;
  pointer-events: none;
  opacity: 0.8;
  animation: rocket-soar 20s ease-in-out infinite;
}

@keyframes butterfly-fly {
  0% {
    top: 15%;
    left: -10%;
    transform: rotate(20deg);
  }

  25% {
    top: 10%;
    left: 25%;
    transform: rotate(-15deg);
  }

  50% {
    top: 20%;
    left: 50%;
    transform: rotate(15deg);
  }

  75% {
    top: 15%;
    left: 75%;
    transform: rotate(-5deg);
  }

  100% {
    top: 25%;
    left: 110%;
    transform: rotate(15deg);
  }
}

@keyframes rocket-soar {
  0% {
    bottom: -10%;
    right: 10%;
    transform: rotate(-90deg);
  }

  50% {
    bottom: 40%;
    right: 50%;
    transform: rotate(-35deg) scale(1.1);
  }

  100% {
    bottom: 110%;
    right: 50%;
    transform: rotate(-45deg);
  }
}

@media (max-width: 768px) {
  .floating-butterfly {
    width: 50px;
    animation-duration: 15s;
  }

  .floating-rocket {
    width: 60px;
    animation-duration: 20s;
  }
}

/* Hanging Object Animation */
.hanging-object {
  position: absolute;
  top: 0;
  width: 60px;
  height: auto;
  z-index: 5;
  transform-origin: top center;
  animation: swinging 4s ease-in-out infinite;
  pointer-events: none;
}

.hanging-object.item-1 {
  left: 5%;
  /* top: -20px; */
  animation-delay: 0s;
}

.hanging-object.item-2 {
  left: 15%;
  /* top: -40px; */
  animation-delay: -1.5s;
  width: 50px;
}

.hanging-object.item-3 {
  right: 10%;
  /* top: -30px; */
  animation-delay: -0.7s;
  width: 100px;
}

.hanging-object.item-4 {
  right: 20%;
  /* top: -60px; */
  animation-delay: -2.2s;
  width: 10%;
}

.hanging-object.item-5 {
  right: 5%;
  /* top: -10px; */
  animation-delay: -3s;
  width: 70px;
}

.hanging-object.item-6 {
  left: 25%;
  /* top: -30px; */
  animation-delay: -4.5s;
  width: 100px;
}

.hanging-object img {
  width: 100%;
}

@keyframes swinging {
  0% {
    transform: rotate(6deg);
  }

  50% {
    transform: rotate(-6deg);
  }

  100% {
    transform: rotate(6deg);
  }
}

/* Floating Clouds */
.hero {
  position: relative;
  overflow: hidden;
}

.floating-cloud {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.cloud-1 {
  top: 15%;
  left: -200px;
  width: 200px;
  animation: floatHorizontal 45s linear infinite;
}

.cloud-2 {
  top: 35%;
  right: -250px;
  width: 250px;
  animation: floatHorizontalReverse 60s linear infinite;
}

@keyframes floatHorizontal {
  from {
    transform: translateX(0);
    left: -200px;
  }

  to {
    transform: translateX(calc(100vw + 400px));
    left: -200px;
  }
}

@keyframes floatHorizontalReverse {
  from {
    transform: translateX(0);
    right: -250px;
  }

  to {
    transform: translateX(calc(-100vw - 500px));
    right: -250px;
  }
}

@media (max-width: 768px) {
  .hanging-object {
    width: 45px;
  }

  .hanging-object.item-2,
  .hanging-object.item-5 {
    display: none;
  }

  .hanging-object.item-3 {
    width: 60px;
    right: 5%;
  }

  .hanging-object.item-4 {
    width: 100px;
    right: 15%;
  }

  .floating-cloud {
    display: none;
  }
}

@media (max-width: 480px) {

  .hanging-object.item-3 {
    display: none;
  }

  .hanging-object.item-4 {
    width: 80px;
    right: 10%;
  }
}