html, body {
  margin: 0;
  padding: 0;
  background: #0b1c2d; /* same as footer */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f8f3e7;
  color: #0b1c2d;
}

/* TOP BAR */
.top-bar {
  background: #0b1c2d;
  color: #f8f3e7;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* NAVBAR */
.navbar {
  background: #13293d;
  color: #f8f3e7;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #f8f3e7;
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: '';
  width: 0;
  height: 2px;
  background: #d4af37;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: .3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* HERO */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, #0b1c2d, #13293d);
  color: #f8f3e7;
  padding: 120px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-text {
  max-width: 520px;
}

.tagline {
  color: #d4af37;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: 46px;
  line-height: 1.2;
  margin: 15px 0;
}

.hero-text h1 span {
  color: #d4af37;
}

.hero-text p {
  opacity: .9;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

/* CTA CENTERING */
.hero-cta {
  margin-top: 30px;
  display: flex;
  justify-content: center; /* CENTER BUTTON */
}

.primary {
  background: #d4af37;
  color: #0b1c2d;
}

.outline {
  background: transparent;
  border: 1px solid #d4af37;
  color: #d4af37;
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  gap: 20px;
}

.glass-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  width: 160px;
}

/* SECTIONS */
section {
  padding: 90px 40px;
  text-align: center;
}

section h2 {
  color: #0b1c2d;
  margin-bottom: 20px;
}

/* ===== SERVICES SECTION ===== */

.section-subtitle {
  max-width: 600px;
  margin: 0 auto 50px;
  opacity: 0.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 30px;
  text-align: left;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #d4af37, #0b1c2d);
  border-radius: 20px 20px 0 0;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card h3 {
  color: #0b1c2d;
  margin-bottom: 15px;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
}

.service-card ul li {
  padding: 6px 0;
  font-size: 14px;
  position: relative;
  padding-left: 18px;
}

.service-card ul li::before {
  content: "✔";
  color: #d4af37;
  position: absolute;
  left: 0;
  font-size: 12px;
}

/* CONTACT */
.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* FOOTER */
footer {
  background: #0b1c2d;
  color: #f8f3e7;
  text-align: center;
  padding: 20px;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #13293d;
    flex-direction: column;
    width: 220px;
    display: none;
    padding: 20px;
  }

  .menu-btn {
    display: block;
  }
}
/* ===============================
   STICKY NAVBAR + BLUR ANIMATION
================================ */

/* ===== STICKY NAVBAR (BELOW TOP BAR) ===== */
.navbar {
  position: fixed;
  top: 44px; /* height of top bar */
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(19, 41, 61, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}

/* Navbar shrink on scroll */
.navbar.scrolled {
  padding: 14px 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}


/* Spacer fix so content doesn't jump */
body {
  padding-top: 90px;
}

/* Scrolled state */
.navbar.scrolled {
  background: rgba(11, 28, 45, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  padding: 14px 40px;
}

/* Smooth nav link animation */
.nav-links a {
  transition: color 0.3s ease;
}

/* Active section highlight */
.nav-links a.active {
  color: #d4af37;
}

.nav-links a.active::after {
  width: 100%;
}

/* Slide-down animation */
.navbar {
  animation: navSlide 0.8s ease forwards;
}

@keyframes navSlide {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ===============================
   TOP BAR – SOCIAL & AUTH LINKS
================================ */

/* ===== STICKY TOP BAR ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: rgba(11, 28, 45, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f8f3e7;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  transition: all 0.3s ease;
}


/* LEFT SIDE */
.top-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ICONS */
.icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  animation: float 3s ease-in-out infinite;
}

.whatsapp { background: #25d366; }
.facebook { background: #1877f2; }
.instagram { 
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
}

/* Icon hover */
.icon:hover {
  transform: scale(1.15);
}

/* Phone & email */
.text-link {
  color: #f8f3e7;
  text-decoration: none;
  margin-left: 8px;
  transition: color .3s ease;
}

.text-link:hover {
  color: #d4af37;
}

/* RIGHT SIDE */
.top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-right a {
  color: #f8f3e7;
  text-decoration: none;
  font-weight: 500;
  transition: color .3s ease;
}

.top-right a:hover {
  color: #d4af37;
}

/* FLOAT ANIMATION */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .top-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .top-left {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* ===============================
   TEMPLATES SECTION
================================ */

.templates {
  background: #f8f3e7;
}

/* Upload Box */
.upload-box {
  margin: 40px auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.upload-btn {
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #0b1c2d;
  border: none;
  padding: 16px 36px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  transition: all 0.4s ease;
}

.upload-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.upload-note {
  font-size: 13px;
  opacity: 0.7;
}

/* Template Grid */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

/* Template Card */
.template-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  text-align: center;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease;
}

/* Reveal animation */
.template-card.show {
  transform: translateY(0);
  opacity: 1;
}

/* PDF Icon */
.pdf-icon {
  width: 60px;
  height: 60px;
  background: #0b1c2d;
  color: #f8f3e7;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 15px;
}

/* Template Button */
.template-btn {
  margin-top: 15px;
  padding: 10px 22px;
  border-radius: 25px;
  border: 1px solid #d4af37;
  background: transparent;
  color: #d4af37;
  cursor: pointer;
  transition: all 0.3s ease;
}

.template-btn:hover {
  background: #d4af37;
  color: #0b1c2d;
}

/* ===============================
   CONTACT SECTION (ICON BASED)
================================ */

.contact-section {
  padding: 60px 20px 20px;
  text-align: center;
  background: #0b1c2d;
}

.contact-title {
  font-size: 32px;
  color: #f8f3e7;
  margin-bottom: 10px;
}

.contact-subtitle {
  font-size: 15px;
  color: #cfc7b5;
  margin-bottom: 30px;
}

/* CONTACT LIST */
.contact-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.contact-list {
  margin-bottom: 0;
}

/* CONTACT ITEM */
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;

  color: #f8f3e7;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;

  transition:
    transform 0.35s cubic-bezier(.22,.61,.36,1),
    color 0.35s ease;
}

/* ICON */
.contact-item img {
  width: 26px;
  height: 26px;
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1);
}

/* TEXT */
.contact-item span {
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1);
}

/* PREMIUM HOVER EFFECT */
.contact-item:hover {
  transform: translateY(-6px);
}

/* ICON LEADS */
.contact-item:hover img {
  transform: translateX(-4px) scale(1.12);
}

/* TEXT FOLLOWS */
.contact-item:hover span {
  transform: translateX(4px);
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */

@media (max-width: 768px) {
  .contact-list {
    flex-direction: column;
    gap: 26px;
    align-items: center;
  }

  .contact-item {
    font-size: 15px;
  }
}


/* ===============================
   TESTIMONIALS SECTION
================================ */

.testimonials {
  background: linear-gradient(135deg, #0b1c2d, #13293d);
  color: #f8f3e7;
  text-align: center;
}

.testimonials h2 {
  color: #d4af37;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 30px;
  margin: 60px 0;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease;
}

.stat-card.show {
  transform: translateY(0);
  opacity: 1;
}

.stat-card h3 {
  font-size: 42px;
  color: #d4af37;
}

.stat-card p {
  margin-top: 8px;
  opacity: 0.9;
}
/* COUNTER FINISH PULSE */
.count {
  display: inline-block;
}

.count.pulse {
  animation: countPulse 0.5s ease;
}

@keyframes countPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}


/* REVIEWS */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 30px;
}

.review-card {
  background: rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 35px 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  font-style: italic;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease;
}

.review-card.show {
  transform: translateY(0);
  opacity: 1;
}

.review-card h4 {
  margin-top: 20px;
  color: #d4af37;
  font-style: normal;
}

/* ===== TESTIMONIAL SLIDER ===== */
.testimonial-slider {
  overflow: hidden;
  margin-top: 60px;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  animation: slideTestimonials 25s linear infinite;
}

.review-card {
  min-width: 300px;
}

@keyframes slideTestimonials {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* ===== TESTIMONIAL CTA ===== */
.testimonial-cta {
  margin-top: 80px;
  padding: 60px 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 0;
  backdrop-filter: blur(12px);
}

.testimonial-cta h3 {
  color: #d4af37;
  font-size: 28px;
}

.testimonial-cta p {
  margin: 15px 0 30px;
  opacity: 0.9;
}

.cta-subtext {
  color: #f8f1df; /* cream tone */
  font-size: 16px;
  opacity: 0.9;
  margin: 20px 0 35px;
}
/* CTA BUTTONS — REMOVE UNDERLINE COMPLETELY */
.testimonial-cta .btn {
  text-decoration: none;
}

.testimonial-cta .btn:hover,
.testimonial-cta .btn:focus,
.testimonial-cta .btn:active {
  text-decoration: none;
}
.testimonial-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* ===============================
   PARALLAX BACKGROUNDS
================================ */

/* MAIN PARALLAX SECTIONS */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* HERO PARALLAX */
.hero.parallax {
   background-image:
    linear-gradient(rgba(11,28,45,0.85), rgba(11,28,45,0.85)),
    url("images/hero-bg.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* TESTIMONIALS PARALLAX */
.testimonials.parallax {
  background-image:
    linear-gradient(rgba(11,28,45,0.9), rgba(19,41,61,0.9)),
    url("images/CTA.jpg");
}

/* CTA INNER PARALLAX */
.parallax-inner {
  background-image:
    linear-gradient(rgba(11,28,45,0.85), rgba(11,28,45,0.85)),
    url("images/testimonial-bg.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* MOBILE FIX (IMPORTANT) */
@media (max-width: 900px) {
  .parallax,
  .parallax-inner {
    background-attachment: scroll;
  }
}


/* ===============================
   HERO FEATURE GLASS CARDS
================================ */

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  gap: 20px;
}

/* Glass card */
.feature-card.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  transition: all 0.4s ease;
}

/* IMAGE AREA (TOP ONLY) */
.feature-image {
  height: 70px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CONTENT AREA */
.feature-content {
  padding: 12px 14px 16px;
  text-align: center;
  height: calc(100% - 70px);
}

.feature-content h4 {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 0px;
}

.feature-content p {
  color: #d4af37;
  font-size: 12px;
}

/* ===============================
   HERO CARD ENTRANCE
================================ */

.hero-features .feature-card {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  animation: heroCardIn 0.9s cubic-bezier(.22,.61,.36,1) forwards;
}

/* stagger */
.hero-features .feature-card:nth-child(1) { animation-delay: 0.2s; }
.hero-features .feature-card:nth-child(2) { animation-delay: 0.4s; }
.hero-features .feature-card:nth-child(3) { animation-delay: 0.6s; }
.hero-features .feature-card:nth-child(4) { animation-delay: 0.8s; }
.hero-features .feature-card:nth-child(5) { animation-delay: 1s; }
.hero-features .feature-card:nth-child(6) { animation-delay: 1.2s; }

@keyframes heroCardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===============================
   HERO CARD FLOAT
================================ */

@keyframes heroFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.hero-features .feature-card {
  animation:
    heroCardIn 0.9s cubic-bezier(.22,.61,.36,1) forwards,
    heroFloat 7s ease-in-out infinite;
}

.hero-features .feature-card:nth-child(even) {
  animation-delay: 1.5s, 3.5s;
}

.feature-card {
  transition:
    transform 0.35s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.35s ease;
  will-change: transform;
}


/* ===============================
   BRAND (LOGO + TEXT INLINE)
================================ */
/* NAVBAR HEIGHT LOCK */
#navbar {
  height: 80px;
  display: flex;
  align-items: center;
  overflow: visible;
}

/* BRAND WRAPPER */
.brand {
  display: flex;
  align-items: center;   /* 🔥 KEY: vertical centering */
  gap: 14px;
}

/* LOGO SPACE HOLDER */
.logo-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO ITSELF */
.brand-logo {
  height: 36px;              /* base size */
  width: auto;
  transform: scale(3);     /* visual size */
  transform-origin: 50% 43%;
}

/* BRAND TEXT */
.brand-text {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;            /* 🔥 removes vertical offset */
  white-space: nowrap;
}
/* ===============================
   UPLOAD BUTTON HOVER ANIMATION
================================ */

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 14px 28px;
  background: linear-gradient(135deg, #d4af37, #f1d27a);
  color: #0b1c2d;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Shine effect */
.upload-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent
  );
  transition: all 0.6s ease;
}

/* Hover */
.upload-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 35px rgba(212, 175, 55, 0.6);
}

/* Shine slide */
.upload-btn:hover::before {
  left: 120%;
}

/* Active (click) */
.upload-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

.upload-btn {
  animation: pulse 2.5s infinite;
}
/* ===============================
   HERO VIEW SERVICES BUTTON
================================ */

.hero .btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 34px;
  background: linear-gradient(135deg, #d4af37, #f1d27a);
  color: #0b1c2d;
  font-weight: 600;
  border-radius: 32px;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Shine overlay */
.hero .btn.primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent
  );
  transition: all 0.6s ease;
}

/* Hover */
.hero .btn.primary:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 18px 45px rgba(212, 175, 55, 0.65);
}

/* Shine slide */
.hero .btn.primary:hover::before {
  left: 120%;
}

/* Click */
.hero .btn.primary:active {
  transform: translateY(-2px) scale(0.97);
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.4);
}

/* HERO CTA LAYOUT */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* View Products – Glass Button */
.hero .btn.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 34px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  color: #ffffff;
  font-weight: 600;
  border-radius: 32px;
  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Glass shine overlay */
.hero .btn.secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: all 0.6s ease;
}

/* Hover */
.hero .btn.secondary:hover {
  transform: translateY(-5px) scale(1.04);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

/* Shine slide */
.hero .btn.secondary:hover::before {
  left: 120%;
}

/* Click */
.hero .btn.secondary:active {
  transform: translateY(-2px) scale(0.97);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}



/* ===============================
   PREMIUM WELCOME TEXT
================================ */

.welcome-text {
  font-size: 14px;
  font-weight: 500;
  color: #f8f3e7;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Highlight word */
.welcome-highlight {
  color: #d4af37;
  font-weight: 600;
  position: relative;
}

/* Soft shimmer animation */
.welcome-highlight::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  animation: shimmer 3.5s ease-in-out infinite;
}

/* Fade + slide-in on load */
.welcome-text {
  animation: fadeSlide 1.2s ease forwards;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% { left: -120%; }
  50% { left: 120%; }
  100% { left: 120%; }
}
.welcome-highlight {
  text-shadow: 0 0 8px rgba(212,175,55,0.4);
}
/* ===============================
   GREETING INTRO SCREEN
================================ */

.greeting-intro {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #13293d, #0b1c2d);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeOut 1.2s ease forwards;
  animation-delay: 2.4s;
}

.greeting-box {
  text-align: center;
  color: #f8f3e7;
  animation: popIn 1s ease forwards;
}

.greeting-box h1 {
  font-size: 42px;
  color: #d4af37;
  margin-bottom: 10px;
}

.greeting-box p {
  font-size: 16px;
  opacity: 0.85;
  letter-spacing: 1px;
}

/* POP IN */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* FADE OUT */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* ===============================
   INTRO LOGO
================================ */

.intro-logo {
  width: min(320px, 70vw);   /* 🔥 BIG but RESPONSIVE */
  max-width: 70vw;
  height: auto;
  margin-bottom: 24px;
  animation: logoFloat 3.5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* ===============================
   BACKGROUND PARTICLES
================================ */

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.particles::before,
.particles::after {
  content: "";
  position: absolute;
  width: 220%;
  height: 220%;
  background-image:
    radial-gradient(circle, rgba(212,175,55,0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: particlesMove 40s linear infinite;
}

.particles::after {
  background-size: 80px 80px;
  opacity: 0.4;
  animation-duration: 65s;
}

@keyframes particlesMove {
  from { transform: translate(0, 0); }
  to   { transform: translate(-200px, -200px); }
}

/* Keep greeting box above particles */
.greeting-box {
  position: relative;
  z-index: 2;
}
/* ===============================
   TYPING TEXT EFFECT
================================ */

.brand-text {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.typing-cursor {
  color: #d4af37;
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.brand-text span {
  transition: color 0.6s ease;
}

/* Brand colors */
.color-cream {
  color: #f8f3e7;
}

.color-navy {
  color: #0080ff;
}

.color-gold {
  color: #d4af37;
}
.color-red {
  color: #c0392b; 
}

/* ===============================
   FOOTER
================================ */

.site-footer {
  
  padding: 10px 20px 10px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

/* LOGO */
.footer-logo {
  width: 90px;
  max-width: 60vw;
  height: auto;
  transform: scale(3);   /* 👈 makes it look bigger */
  transform-origin: center;
  opacity: 0.95;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.footer-logo {
  margin-bottom: 0 !important;
}

/* TEXT */
.footer-text {
  font-size: 14px;
  color: #cfc7b5;
}
.site-footer p {
  margin: 0;
}
footer {
  margin-bottom: 0;
  padding-bottom: 20px; /* keep small */
}
footer {
  position: relative;
  overflow: hidden;   /*  THIS IS THE KEY */
  padding: 22px 0;    /* keep footer compact */
}

/* ===============================
   BACK TO TOP BUTTON
================================ */

#backToTopBtn {
  position: fixed;
  right: 24px;
  bottom: 24px;

  padding: 12px 22px;
  border-radius: 999px;

  background: linear-gradient(135deg, #d4af37, #f2d675);
  color: #0b1c2d;

  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;

  box-shadow: 0 10px 25px rgba(212,175,55,0.4);

  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);

  transition: 
    opacity 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;

  z-index: 9999;
}

/* SHOW */
#backToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* HOVER (same feel as Upload Files) */
#backToTopBtn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 40px rgba(212,175,55,0.6);
}


/* PRODUCTS SECTION */
.products-section {
  background: #f8f3e7;
  padding: 80px 20px;
  text-align: center;
}

.products-section {
  display: flex;
  flex-direction: column;
  align-items: center; /* 🔥 THIS fixes perception */
}

.products-section {
  display: flex;
  justify-content: center;
}

.products-section > * {
  width: 100%;
  max-width: 1100px;
}


/* HORIZONTAL FOLDERS */
.folders-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  width: 100%;
  margin-top: 40px;
}


/* FOLDER WRAP */
.folder-wrap {
  position: relative;
  width: 260px;
}

/* FOLDER BUTTON */
.folder-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #0b1c2d;
}

/* ICON */
.folder-icon {
  font-size: 42px;
  transition: transform 0.3s ease;
}

/* NAME */
.folder-name {
  font-size: 15px;
  font-weight: 600;
}

/* HOVER */
.folder-btn:hover .folder-icon {
  transform: translateY(-6px);
}

/* SUBFOLDER PANEL */
.subfolder-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.45s ease;
  margin-top: 16px;
  background: rgba(11,28,45,0.06);
  border-radius: 14px;
  padding: 0 16px;
}

.subfolder-panel {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding: 14px;
}

.sub-folder {
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
  padding: 12px 10px;
  flex: 1;
  max-width: 120px;
}



/* OPEN STATE */
.folder-wrap.open .subfolder-panel {
  max-height: none;
  opacity: 1;
  padding: 16px;
}

/* SUB FOLDER */
.sub-folder h4 {
  color: #d4af37;
  font-size: 14px;
  margin-bottom: 6px;
}

.sub-folder p {
  font-size: 13px;
  margin: 2px 0;
}

/* MOBILE */
@media (max-width: 768px) {
  .folders-row {
    gap: 40px;
  }
}

/* PREMIUM FOLDER HOVER */
.folder-wrap {
  transition: transform 0.45s cubic-bezier(.22,.61,.36,1);
}

.folder-wrap:hover {
  transform: translateY(-6px);
}

.folder-btn {
  position: relative;
}

/* ICON MICRO FLOAT */
.folder-btn:hover .folder-icon {
  transform: translateY(-6px) scale(1.08);
  transition: transform 0.45s cubic-bezier(.22,.61,.36,1);
}
/* OPEN STATE GLOW */
.folder-wrap.open .folder-btn::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 20px;
  background: radial-gradient(
    circle at center,
    rgba(212, 175, 55, 0.097),
    transparent 70%
  );
  opacity: 1;
  pointer-events: none;
  animation: glowPulse 1.8s ease-out;
}

@keyframes glowPulse {
  0% { opacity: 0; transform: scale(0.92); }
  40% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; }
}
/* SUBFOLDER ANIMATION */
.sub-folder {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.folder-wrap.open .sub-folder {
  opacity: 1;
  transform: translateY(0);
}

/* STAGGER */
.folder-wrap.open .sub-folder:nth-child(1) { transition-delay: 0.08s; }
.folder-wrap.open .sub-folder:nth-child(2) { transition-delay: 0.16s; }
.folder-wrap.open .sub-folder:nth-child(3) { transition-delay: 0.24s; }

.folder-name {
  transition:
    transform 0.35s cubic-bezier(.22,.61,.36,1),
    letter-spacing 0.35s ease;
}

.folder-btn:hover .folder-name {
  transform: translateY(2px);
  letter-spacing: 0.4px;
}
.folder-wrap,
.folder-btn,
.sub-folder {
  will-change: transform, opacity;
}

.other-products {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 26px;
  margin-bottom: 40px;
  color: #0b1c2d;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: auto;
}

/* MINI PRODUCTS ROW */
.mini-products-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 40px auto 0;
}

/* MINI CARD */
.mini-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 22px 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #0b1c2d;
  cursor: pointer;
  position: relative;
  overflow: hidden;

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform 0.45s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.45s ease;
}

/* ICON */
.mini-card .mini-icon {
  font-size: 26px;
  transition: transform 0.4s ease;
}

/* SHINE OVERLAY */
.mini-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.55),
    transparent
  );
  transition: left 0.7s ease;
}

/* HOVER EFFECT */
.mini-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px rgba(255,255,255,0.55);
}

/* ICON POP */
.mini-card:hover .mini-icon {
  transform: scale(1.2);
}

/* SHINE SLIDE */
.mini-card:hover::before {
  left: 120%;
}

/* CLICK */
.mini-card:active {
  transform: translateY(-2px) scale(0.97);
}

/* MOBILE */
@media (max-width: 900px) {
  .mini-products-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .mini-products-row {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* ===============================
   FLIPBOOK MODAL
================================ */

/* ================= FLIPBOOK MODAL ================= */

/* ================= FLIPBOOK MODAL ================= */

.flipbook-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.flipbook-modal.active {
  display: flex;
}

/* Dark overlay */
.flipbook-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

/* Main modal container — GLASS */
.flipbook-wrapper {
  position: relative;
  width: 90vw;
  height: 90vh;
  max-width: 1800px;
  max-height: 95vh;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.18);

  border-radius: 18px;
  padding: 10px 14px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
  z-index: 2;

  /* OPEN + FLOAT ANIMATION */
  animation: flipbookPopIn 0.55s cubic-bezier(.22,.61,.36,1),
             flipbookFloat 6s ease-in-out infinite;
}

/* Flipbook viewer area */
#flipbook {
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* GLASS EDGE GLOW */
.flipbook-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.25),
    0 0 40px rgba(255,255,255,0.12);
}

/* OPEN ANIMATION */
@keyframes flipbookPopIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* SUBTLE FLOAT */
@keyframes flipbookFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}


/* Controls */
.flip-controls {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
}

/* ================= FLIP CONTROLS – GLASS ================= */

.flip-controls button {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  color: #0b1c2d;
  border: 1px solid rgba(0, 0, 0, 0.35);

  width: 48px;
  height: 48px;
  border-radius: 50%;

  cursor: pointer;
  font-size: 20px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  overflow: hidden;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.6);

  transition:
    transform 0.25s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.25s ease,
    background 0.25s ease;

  animation: flipIdlePulseGlass 3s ease-in-out infinite;
}

/* IDLE BREATHING */
@keyframes flipIdlePulseGlass {
  0%, 100% {
    box-shadow:
      0 8px 24px rgba(0,0,0,0.25),
      inset 0 1px 0 rgba(255,255,255,0.6);
  }
  50% {
    box-shadow:
      0 12px 36px rgba(0,0,0,0.35),
      inset 0 1px 0 rgba(255,255,255,0.85);
  }
}

/* SHINE SWEEP */
.flip-controls button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  transition: left 0.6s ease;
}

/* HOVER */
.flip-controls button:hover {
  transform: scale(1.12);
  background: rgba(255,255,255,0.32);
  box-shadow:
    0 16px 42px rgba(0,0,0,0.45),
    0 0 18px rgba(255,255,255,0.45),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

/* SHINE SLIDE */
.flip-controls button:hover::before {
  left: 120%;
}

/* PRESS */
.flip-controls button:active {
  transform: scale(0.96);
  box-shadow:
    inset 0 3px 8px rgba(0,0,0,0.5),
    0 4px 10px rgba(0,0,0,0.35);
  animation: none;
}

/* DIRECTIONAL NUDGE */
.flip-controls .prev:hover {
  transform: scale(1.12) translateX(-2px);
}

.flip-controls .next:hover {
  transform: scale(1.12) translateX(2px);
}


/* Close button */
/* WINDOWS 7 STYLE CLOSE BUTTON */
.flipbook-close {
  position: absolute;
  top: 12px;
  right: 14px;

  width: 34px;
  height: 34px;
  border-radius: 6px;

  background: linear-gradient(
    to bottom,
    #ff6b6b,
    #d62828
  );

  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;

  border: 1px solid #a31414;
  cursor: pointer;
  z-index: 5;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 2px 6px rgba(0,0,0,0.35);

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

/* Hover – red glow */
.flipbook-close:hover {
  background: linear-gradient(
    to bottom,
    #ff8787,
    #e03131
  );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 0 10px rgba(255, 0, 0, 0.75),
    0 4px 12px rgba(0,0,0,0.4);

  transform: scale(1.05);
}

/* Active – pressed */
.flipbook-close:active {
  background: linear-gradient(
    to bottom,
    #d62828,
    #b71c1c
  );

  box-shadow:
    inset 0 2px 6px rgba(0,0,0,0.5),
    0 1px 3px rgba(0,0,0,0.35);

  transform: scale(0.96);
}





/* ================= BOOK BUTTON PREMIUM ANIMATION ================= */

.book-item {
  display: inline-block;
  margin: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* Hover lift */
.book-item:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Click press */
.book-item:active {
  transform: scale(0.96);
}

/* Ripple glow */
.book-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(212,175,55,0.4),
    transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.book-item:hover::after {
  opacity: 1;
}

/* ================= STAGGER ANIMATION ================= */

.subfolder-panel .book-item {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.45s ease forwards;
}

.subfolder-panel .book-item:nth-child(1) { animation-delay: 0.05s; }
.subfolder-panel .book-item:nth-child(2) { animation-delay: 0.1s; }
.subfolder-panel .book-item:nth-child(3) { animation-delay: 0.15s; }
.subfolder-panel .book-item:nth-child(4) { animation-delay: 0.2s; }
.subfolder-panel .book-item:nth-child(5) { animation-delay: 0.25s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= TERM GRID LAYOUT ================= */

/* ================= TERM 1 / TERM 2 GRID (NO HTML CHANGE) ================= */

/* Make TERM 1 & TERM 2 side by side */
.subfolder-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Individual TERM block */
.sub-folder {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}

/* TERM heading */
.sub-folder h4 {
  margin-bottom: 12px;
  font-size: 14px;
  color: #d4af37;
}

/* Make subject buttons horizontal */
.sub-folder .book-item {
  display: inline-flex;
  margin: 4px 6px;
}

/* Button polish */
.book-item {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(11,28,45,0.15);
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Hover animation */
.book-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  background: #fffbe9;
}

/* MOBILE FIX: stack TERM 1 / TERM 2 */
@media (max-width: 768px) {
  .subfolder-panel {
    grid-template-columns: 1fr;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* must equal navbar height */
}


/* disable text selection */
body {
  user-select: none;
  -webkit-user-select: none;
}

@media print {
  .flipbook-modal,
  #flipbook {
    display: none !important;
  }
}

@media print {
  body {
    display: none !important;
  }
}

