

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial;
    background: #f4f7fb;
    height: 100%;
}
body {

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
}

header {
    background: #4CAF50;
    color: white;
    text-align: center;
    padding: 20px;
}
h1 {
    margin: 5px 0;
    text-align: center;

}
h2 {
    margin: 5px 0;
    text-align: center;

}
nav {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

nav a {
    color: white;
    margin: 10px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #4CAF50;
}

.hero {
    text-align: center;
    padding: 5px;
    background: #e8f5e9;
}

.section {
    padding: 40px;
    text-align: center;
}
 .container {
    max-width: 1450px;
    margin: 40px auto;
    padding: 35px;
    background: #ffffffb3;
    backdrop-filter: blur(10px);
    border-radius: 28px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        0 0 0 1px rgba(255,255,255,0.4);
}
.grid {
    /* display: flex;
    flex-wrap: wrap; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

/* start of about page styles */
.about-page {
      background: #f5fbff;
      min-height: 100vh;
      padding: 50px 20px;
    }

    .about-card {
      max-width: 950px;
      margin: 0 auto;
      background: #ffffff;
      padding: 40px 45px;
      border-radius: 20px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .about-card h1 {
      text-align: center;
      color: #0d1b2e;
      margin-bottom: 15px;
      font-size: 2.4rem;
    }

    .about-intro {
      text-align: center;
      color: #555;
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 40px;
      text-align: left;
       /* font-size: 14px; */
    }

    .about-section {
      margin-bottom: 35px;
    }

    .about-section h2 {
      color: #0d1b2e;
      margin-bottom: 12px;
      font-size: 1.5rem;
    }

    .about-section p {
      color: #555;
      line-height: 1.9;
      font-size: 1.1rem;
      text-align: left;
      /* font-size: 14px; */
    }

    .about-highlight {
      background: #eef8ff;
      border-left: 5px solid #2c8fbd;
      padding: 18px 20px;
      border-radius: 10px;
      margin-top: 15px;
    }

    .about-highlight p {
      margin: 0;
      color: #555;
      font-weight: 500;
      font-size: 1.1rem;
      text-align: left;
      /* font-size: 14px; */

    }

    @media (max-width: 768px) {
      .about-card {
        padding: 30px 22px;
      }

      .about-card h1 {
        font-size: 2rem;
      }

      .about-section h2 {
        font-size: 1.3rem;
      }
    }

  /* end of about page styles */

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 30px;
}

/* Base card */
.base-card {
  width: 230px;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  border: 3px solid transparent;
}

/* Fun soft colors */
.card:nth-child(1) {
  background: #fff7cc;
  border-color: #ffe066;
}

.card:nth-child(2) {
  background: #e6f7ff;
  border-color: #74c0fc;
}

.card:nth-child(3) {
  background: #e6ffe6;
  border-color: #69db7c;
}

.card:nth-child(4) {
  background: #ffe6f0;
  border-color: #f783ac;
}

.card:nth-child(5) {
  background: #f3e8ff;
  border-color: #b197fc;
}
.card:nth-child(6) {
  background: #fff0e6;
  border-color: #ff922b;
}
.card:nth-child(7) {
  background: #e6f0ff;
  border-color: #74a9ff;
}
.card:nth-child(8) {
  background: #e6ffe6;
  border-color: #69db7c;
}
.card:nth-child(9) {
  background: #fff0e6;
  border-color: #ff922b;
}
.card:nth-child(10) {
  background: #f3e8ff;
  border-color: #b197fc;
}
.card:nth-child(11) {
  background: #e6f7ff;
  border-color: #74c0fc;
}
.card:nth-child(12) {
  background: #fff7cc;
  border-color: #ffe066;
}
.card:nth-child(13) {
  background: #e6ffe6;
  border-color: #69db7c;
}
.card:nth-child(14) {
  background: #f3e8ff;
  border-color: #b197fc;
}
.card:nth-child(15) {
  background: #fff0e6;
  border-color: #ff922b;
}
.card:nth-child(16) {
  background: #e6f0ff;
  border-color: #74a9ff;
}
.card:nth-child(17) {
  background: #fff7cc;
  border-color: #ffe066;
}
.card:nth-child(18) {
  background: #e6f7ff;
  border-color: #74c0fc;
}
.card:nth-child(19) {
  background: #e6ffe6;
  border-color: #69db7c;
}
.card:nth-child(20) {
  background: #fff0e6;
  border-color: #ff922b;
}
.card:nth-child(21) {
  background: #f3e8ff;
  border-color: #b197fc;
}
.card:nth-child(22) {
  background: #e6f0ff;
  border-color: #74a9ff;
}
.card:nth-child(23) {
  background: #fff7cc;
  border-color: #ffe066;
}
.card:nth-child(24) {
  background: #e6ffe6;
  border-color: #69db7c;
}
.card:nth-child(25) {
  background: #f3e8ff;
  border-color: #b197fc;
}
.card:nth-child(26) {
  background: #fff0e6;
  border-color: #ff922b;
}   
.card:nth-child(27) {
  background: #e6f0ff;
  border-color: #74a9ff;
}
.card:nth-child(28) {
  background: #fff7cc;
  border-color: #ffe066;
}
.card:nth-child(29) {
  background: #e6f7ff;
  border-color: #74c0fc;
}
.card:nth-child(30) {
  background: #e6ffe6;
  border-color: #69db7c;
}

/* Hover animation (fun!) */
.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Title */
.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  animation: iconBounce 0.6s ease;
}

/* Text */
.card p {
  font-size: 14px;
  color: #555;
}

/* Add emoji bounce effect */
.card:hover h3 {
  animation: bounce 0.5s;
}

@keyframes bounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
@keyframes iconBounce {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-10px) scale(1.2); }
  50% { transform: translateY(-5px) scale(1.1); }
  100% { transform: translateY(0) scale(1); }
}
.card {
    background: white;
    padding: 20px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card a {
    text-decoration: none;
    color :black
   
}
.card a:hover {
    color:#14a83b
}
.card img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 5px;
    margin-bottom: 0;
    margin-top: auto;
    clear: both;
    width: 100%;
}
footer a {
    color: #ffffff; 
    text-decoration: none;
    font-weight: bold;
}
footer a:hover {
     color: #4CAF50;
}
footer a:active
{
    color: #8A7DFF;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    flex-wrap: wrap;
    position: relative;
    padding-right: 18px;
}

/* Vertical line */
.footer-nav a:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    color: #999;
}

@media (max-width: 600px) {
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }

    .footer-nav a:not(:last-child)::after {
        content: "";
    }
}


.animal-page .animal-card-large{
    background: #ffffff;
    border: 6px solid #7dd3fc;
    border-radius: 28px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 12px 0 #38bdf8;

}
.animal-page .animal-facts {
    background: #fff;
    border: 6px solid #f9a8d4;
    border-radius: 28px;
    padding: 25px;
    box-shadow: 0 12px 0 #fb7185;
}
.animal-page{
    background: linear-gradient(135deg, #fff7ad, #b8f7ff, #ffd6ec);
    border-radius: 20px;
    max-width: 1100px;
    margin: 35px auto;
    padding: 0 25px;
    box-sizing: border-box;
}
.animal-card-large {
    width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 30px;
    box-sizing: border-box;

}
.animal-facts {
    background: #fff;
    border: 6px solid #f9a8d4;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 12px 0 #fb7185;
    width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.animal-card-large:hover, .animal-facts:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 25px rgba(0,0,0,0.15);
}
.animal-card-large h1 {
    font-size: 46px;
    color: #16a34a;
    margin-bottom: 20px;
}

.animal-card-large img {
    width: 100%;
    max-width: 340px;
    border-radius: 22px;
    border: 5px solid #facc15;
    transition: transform 0.3s ease;
}
.animal-card-large img:hover {
    transform: scale(1.05);
}
.animal-card-large h1{
    transition: bounceTitle 1.8s infinite;
}
@keyframes bounceTitle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.animal-card-large p {
    font-size: 20px;
    line-height: 1.5;
    background: #ecfccb;
    padding: 15px;
    border-radius: 18px;
}

.animal-facts h2 {
    font-size: 34px;
    color: #db2777;
    margin-top: 0;
}

.animal-facts ul {
    list-style: none;
    padding: 0;
}

.animal-facts li {
    font-size: 21px;
    margin: 15px 0;
    background: #fef3c7;
    padding: 14px 18px;
    border-radius: 18px;
    transition: transform 0.2s ease, background 0.2s ease;
}
.animal-facts li:hover {
   transform: scale(1.02);
   background: #fff3b0;
}

.animal-facts li::before {
    content: "⭐ ";
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    background: #22c55e;
    color: white;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.back-link:hover {
    background: #16a34a;
    transform: scale(1.05);
    transform: scale(1.08);
}
@media (max-width: 768px) {
    .animal-page {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}
@media (max-width: 600px){
    header h1{
        font-size: 28px;
    }
    nav a{
        display: inline-block;
        margin: 8px 10px;
        font-size: 15px;
    }
}

/* privacy-policy.css */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #102033;
  background: #ffffff;
  line-height: 1.6;
}

.privacy-page {
  max-width: 1050px;
  margin: 0 auto;
  padding: 40px 20px;
}

.privacy-hero {
  text-align: center;
  margin-bottom: 35px;
}

.privacy-hero h1 {
  font-size: 48px;
  margin: 0;
  color: #0d1b2e;
}

.title-line {
  width: 90px;
  height: 4px;
  background: #22a447;
  margin: 15px auto 20px;
  border-radius: 10px;
}

.privacy-hero p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
}

.date-box,
.info-box,
.contact-box {
  border: 1px solid #b7dfc3;
  border-radius: 12px;
  background: #f5fbf7;
  padding: 20px 28px;
  margin-bottom: 28px;
  margin-left: 0;
  width: 100%;
  box-sizing: border-box;
}

.date-box {
  text-align: center;
  font-size: 18px;
}

.date-box span {
  margin-right: 8px;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f4f9ff;
  border-color: #b8d6ff;
}

.info-icon {
  width: 45px;
  height: 45px;
  background: #1d73d8;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 24px;
  flex-shrink: 0;
}

.policy-section {
  margin-top: 45px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #ccd6df;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.section-title span {
  width: 55px;
  height: 55px;
  background: #e8f7ed;
  color: #22a447;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
}

.section-title h2 {
  margin: 0;
  font-size: 32px;
  color: #0d1b2e;
}

.card-Terms {
  background: white;
  border-color: #d3dce5;
}

.contact-card a,
.contact-box a,
.info-box strong {
  color: #0d1b2e;
  text-decoration: none;
  font-weight: bold;
}

.contact-card a:hover,
.contact-box a:hover {
  text-decoration: none;
}

.intro-text {
  margin-bottom: 25px;
}

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

.mini-card {
  border: 1px solid #d3dce5;
  border-radius: 12px;
  padding: 28px 18px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.mini-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #e8f7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.mini-card h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #0d1b2e;
}

.mini-card p {
  margin: 0;
  font-size: 15px;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-box span {
  width: 55px;
  height: 55px;
  background: #22a447;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.privacy-footer {
  text-align: center;
  background: #eef8f1;
  border-top: 1px solid #c8e7d1;
  padding: 22px;
  color: #35465a;
}

/* Responsive */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .privacy-page {
    padding: 30px 15px;
  }

  .privacy-hero h1 {
    font-size: 32px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .info-box,
  .contact-box {
    flex-direction: column;
    text-align: center;
  }
}
/* =========================
   HEADER
========================= */

.site-header {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* GREEN TOP AREA */

.header-top {
  background: linear-gradient(135deg, #2fc447, #14a83b);
  text-align: center;
  color: white;
  padding: 18px 20px 16px;
  position: relative;
  overflow: hidden;
}

/* subtle wave effect */

.header-top::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -10%;
  width: 120%;
  height: 120px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.book-icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.header-top h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.header-top p {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  width: 100%;
  background: linear-gradient(90deg, #071428, #0d1b2e);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* NAV LINKS */

.navbar a {
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
}

/* Hover effect */
/* .navbar a:hover {
    background: #39d353;
    color: white;
} */

.navbar a:hover {
    background: linear-gradient(135deg, #39d353, #22c55e);
    color: rgb(255, 255, 255);
    box-shadow: 0 4px 12px rgba(57, 211, 83, 0.4);
    transform: translateY(-2px);
}

/* .navbar a {
  color: white;
  text-decoration: none;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 8px;
}

/* HOVER */

.navbar a:hover {
  background:  #22a447;
  color: white;
} 

/* ACTIVE PAGE */

.navbar a.active {
  background: #22b14c;
  color: white;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(50, 205, 50, 0.6);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .header-top {
    padding: 22px 15px;
  }

  .book-icon {
    font-size: 44px;
  }

  .header-top h1 {
    font-size: 32px;
  }

  .header-top p {
    font-size: 18px;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
  }

  .navbar a {
    padding: 14px 16px;
    font-size: 17px;
  }
}

@media (max-width: 600px) {

  .header-top h1 {
    font-size: 26px;
  }

  .header-top p {
    font-size: 15px;
  }

  .navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .navbar a {
    justify-content: center;
    border-radius: 0;
  }
}
/* =========================
   TERMS / PRIVACY STYLE
========================= */

.legal-page {
  max-width: 1050px;
  margin: 0 auto;
  padding: 35px 20px;
  color: #102033;
}

.legal-hero {
  text-align: center;
  margin-bottom: 30px;
}

.legal-hero h1 {
  font-size: 46px;
  margin: 0;
  color: #0d1b2e;
}

.title-line {
  width: 85px;
  height: 4px;
  background: #22a447;
  margin: 14px auto 20px;
  border-radius: 10px;
}

.legal-hero p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 18px;
}

.date-box,
.info-box,
.card,
.contact-box {
  border: 1px solid #b7dfc3;
  border-radius: 12px;
  background: #f5fbf7;
  padding: 18px 26px;
  margin-bottom: 24px;
}

.date-box {
  text-align: center;
  font-size: 18px;
}

.date-box span {
  margin-right: 8px;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f4f9ff;
  border-color: #b8d6ff;
}

.info-icon {
  width: 45px;
  height: 45px;
  background: #1d73d8;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 24px;
  flex-shrink: 0;
}

.legal-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;;
  margin-top: 30px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #ccd6df;
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.section-title span {
  width: 48px;
  height: 48px;
  background: #e8f7ed;
  color: #22a447;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: bold;
  flex-shrink: 0;
}

.section-title h2 {
  margin: 0;
  font-size: 28px;
  color: #0d1b2e;
}

/* MAIN CONTENT CARDS */

.card {
  background: #f7fbff;
  border: 1px solid #bdd8ff;
  border-radius: 16px;

  /* makes cards centered */
  margin: 0 auto 28px auto;

  /* wider cards */
  width: 100%;
  max-width: 860px;

  padding: 28px 35px;

  /* better text layout */
  text-align: center;

  /* soft shadow */
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);

  transition: all 0.3s ease;
}

/* HOVER EFFECT */

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* CARD TEXT */

.card p {
  margin: 0;
  font-size: 20px;
  line-height: 1.8;
  color: #23364d;
}

/* LIST STYLE */

.card ul {
  text-align: left;
  margin-top: 18px;
  padding-left: 25px;
}

.card li {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.6;
}

/* SECTION TITLE SPACING */

.section-title {
  max-width: 860px;
  margin: 0 auto 18px auto;
}

/* MOBILE */

@media (max-width: 768px) {

  .card {
    padding: 24px 20px;
  }

  .card p,
  .card li {
    font-size: 17px;
  }

  .section-title {
    padding: 0 10px;
  }
}

.nice-list {
  margin-bottom: 0;
  padding-left: 25px;
}

.nice-list li {
  margin-bottom: 8px;
}

.nice-list li::marker {
  color: #22a447;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-box span {
  width: 55px;
  height: 55px;
  background: #22a447;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.contact-box a {
  color: #0066ff;
  text-decoration: none;
  font-weight: bold;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* MOBILE */

@media (max-width: 600px) {
  .legal-page {
    padding: 28px 15px;
  }

  .legal-hero h1 {
    font-size: 32px;
  }

  .legal-hero p {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 23px;
  }

  .info-box,
  .contact-box {
    flex-direction: column;
    text-align: center;
  }
}
/* cookie policy styles */

.policy-page {
  background: #f5fbff;
  min-height: calc(100vh - 160px);
  padding: 50px 20px;
}

.policy-card {
  max-width: 950px;
  margin: 0 auto;
  background: #ffffff;
  padding: 35px 45px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.policy-card h1 {
  text-align: center;
  color: #1f6f9f;
  margin-bottom: 10px;
}

.policy-card .last-updated {
  text-align: center;
  color: #666;
  margin-bottom: 35px;
}

.policy-card h2 {
  text-align: left;
  color: #1f6f9f;
  margin-top: 30px;
  margin-bottom: 12px;
}

.policy-card h3 {
  text-align: left;
  color: #2c8fbd;
  margin-top: 20px;
  margin-bottom: 8px;
}

.policy-card p,
.policy-card li {
  text-align: left;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.policy-card ul {
  padding-left: 25px;
  margin-top: 10px;
}

.policy-card a {
  color: #1f6f9f;
  font-weight: bold;
  text-decoration: none;
}

.policy-card a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .policy-card {
    padding: 25px 22px;
  }
}

/* back-button aligned center */
.back-button-container {
  text-align: center;
  margin-top: 30px;
}

/* worksheet styles */

.worksheet-page {
    background: #f5fbff;
    padding: 50px 20px;
}

.worksheet-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-align: center;
}

.worksheet-preview {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 12px;
}

.download-btn,
.print-btn {
    display: inline-block;
    padding: 14px 22px;
    margin: 10px;
    border-radius: 10px;
    text-decoration: none;
    background: #2bb673;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.worksheet-section {
    margin-top: 40px;
    text-align: left;
}

/* mobile responsive */
@media (max-width: 768px) {

    .worksheet-page {
        padding: 25px 12px;
    }

    .worksheet-container {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .worksheet-container h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .worksheet-intro {
        font-size: 1rem;
        line-height: 1.6;
    }
    /* .worksheet-preview {
    width: 100%;
    max-width: 650px;
    height: auto;
    display: block;
    margin: 30px auto;
    padding: 14px;
    background: #83f28f;
    border: 2px solid transparent;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(31, 111, 159, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
} */
/* .worksheet-preview:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 18px 40px rgba(31, 111, 159, 0.28);
} */
.worksheet-preview-box {
    max-width: 750px;
    margin: 30px auto;
    padding: 20px;
    background: #83f28f;
    border-radius: 24px;
    border: 1px solid #cceeff;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}
.worksheet-preview-box img {
    width: 100%;
    max-width: 650px;
    height: auto;
    display: block;
    border-radius: 18px;
    /* box-shadow: 0 12px 30px rgba(31, 111, 159, 0.18);  */
}
.worksheet-preview-box img:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 18px 40px rgba(31, 111, 159, 0.28);
}
    .download-btn,
    .print-btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 12px auto;
        font-size: 1rem;
        padding: 14px 18px;
    }

    .worksheet-section {
        margin-top: 30px;
    }

    .worksheet-section h2 {
        font-size: 1.4rem;
    }

    .worksheet-section ul {
        padding-left: 20px;
    }

}
/* print styles */
@media print {

    body * {
        visibility: hidden;
    }

    .worksheet-preview,
    .worksheet-preview * {
        visibility: visible;
    }

    .worksheet-preview {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
    }

}
/* print styles for worksheet green box */
main.worksheet-page .worksheet-preview-box {
    width: 100%;
    max-width: 750px;
    margin: 30px auto;
    padding: 25px;
    background: #83f28f !important;
    border: 5px solid #4caf50 !important;
    border-radius: 24px;
    box-sizing: border-box;
}

main.worksheet-page .worksheet-preview-box img {
    width: 100%;
    max-width: 650px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 18px;
}

/* alphabet grid worksheet styles */
.alphabet-worksheets-page {
    background: #f5fbff;
    padding: 50px 20px;
}

.alphabet-worksheets-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    text-align: center;
}

.alphabet-hero {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    background: linear-gradient(135deg, #e7fff0, #eaf6ff);
    padding: 45px 25px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.alphabet-hero h1 {
    font-size: 2.5rem;
    color: #102033;
    margin-bottom: 15px;
}

.alphabet-hero p {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 650px;
    margin: 0 auto;
}

.alphabet-grid-section {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.alphabet-grid-section h2 {
    font-size: 2rem;
    color: #102033;
    margin-bottom: 30px;
}

.alphabet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.alphabet-card {
    background: #ffffff;
    border: 2px solid #d9f7e5;
    border-radius: 22px;
    padding: 25px 18px;
    text-decoration: none;
    color: #102033;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    transition: 0.25s ease;
}

.alphabet-card:hover {
    transform: translateY(-6px);
    border-color: #12a150;
    box-shadow: 0 12px 28px rgba(18,161,80,0.18);
}

.letter-circle {
    width: 75px;
    height: 75px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #83f28f;
    color: #102033;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 800;
}

.alphabet-card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.alphabet-card p {
    font-size: 0.95rem;
    color: #5b6470;
    margin-bottom: 18px;
}

.alphabet-card span {
    display: inline-block;
    background: #0ba84a;
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
}

/* Tablet */
@media (max-width: 900px) {
    .alphabet-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .alphabet-worksheets-page {
        padding: 30px 15px;
    }

    .alphabet-hero h1 {
        font-size: 2rem;
    }

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

    .alphabet-card {
        padding: 20px 12px;
    }

    .letter-circle {
        width: 62px;
        height: 62px;
        font-size: 2rem;
    }
}

/* related worksheets styles */

.worksheet-nav-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.worksheet-nav-btn {
    background: #ffffff;
    color: #103233;
    border: 2px solid #83f28f;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: 0.25s ease;
}

.worksheet-nav-btn.current {
    background: #e8fff0;
    border-color: #0ba84a;
}

/* Tablet */
@media (max-width: 768px) {
    .worksheet-nav-links {
        gap: 12px;
    }

    .worksheet-nav-btn {
        font-size: 0.95rem;
        padding: 10px 14px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .worksheet-nav-links {
        flex-direction: column;
        align-items: center;
    }

    .worksheet-nav-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        box-sizing: border-box;
    }
}
/* end related worksheets styles */





