@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --font-main: "Inter", sans-serif;
  --color-bg: #f8f9fa;
  --color-dark: #24262b;
  --color-light: #fff;
  --color-accent: #007bff;
  --color-text: #374151;
  --color-grid: #2734960a;
  --button-color: #140d52;
  --colour-nothings: #ff2e63;
  --up-color: #00d9ff;
  --up-shadow-rgb: 0, 217, 255;
  --primary-color: #007bff;
  --secondary-color: #f0f4f8;
  --font-color: #333;
  --white-color: #ffffff;
  --border-radius: 12px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  box-sizing: border-box;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: var(--color-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-image {
  height: 60px;
  width: auto;
}

/* Nav Bar (Mobile) */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.3s ease-in-out;
  z-index: 999;
}

.nav-bar.show-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Nav Links */
.nav-lists {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  font-size: 1.6rem;
  color: var(--color-text);
  font-weight: 600;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--color-accent);
}

/* Mobile Nav Button */
.mobile-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-icon {
  height: 28px;
  width: 28px;
}

/* Main Content Grid */
.main-content {
 display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #ffffff; /* Warm festive base */
background-image:
  linear-gradient(to right, rgba(0, 128, 128, 0.08) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(128, 128, 128, 0.08) 1px, transparent 1px);
background-size: 24px 24px; /* Spacious festive grid */
}
.container {
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.container h1 {
  font-size: 4rem;
  color: var(--button-color);
  margin-bottom: 1rem;
  font-weight: 700;
}
.container span {
  font-size: 2.5rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.container p {
  font-size: 2rem;
  color: var(--colour-nothings);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  border-top: 1px solid #e0e0e0;
}

.coupon-card {
  position: relative; /* key for badge positioning */
  background: white;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 24px;
  max-width: 900px;
  height: 150px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.discount-badge {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #1e1e80;
  color: #fff;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: bold;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  z-index: 2;
}

.logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin-left: 55px;
}

.coupon-content {
  flex: 1;
  min-width: 200px;
}

.coupon-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111;
}

.coupon-desc {
  font-size: 16px;
  color: #555;
}
.coupon-desc b {
  color: var(--colour-nothings);
  font-weight: 700;
}
.copy-btn {
  background-color: #1e1e80;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

.copy-btn:hover {
  background-color: #2d2dc0;
}

.coupon-code {
  font-weight: bold;
  letter-spacing: 0.5px;
}

.copy-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.pw-body-coupon-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.search-bar-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 30px auto 20px;
  padding: 0 16px;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border: 1.8px solid #ccc;
  border-radius: 40px;
  padding: 12px 20px 12px 48px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar:focus-within {
  border-color: #2d2dc0; /* royal blue */
  box-shadow: 0 0 0 4px rgba(45, 45, 192, 0.25); /* subtle blue glow */
}

.search-icon {
  position: absolute;
  left: 18px;
  width: 20px;
  height: 20px;
  opacity: 0.6;
  pointer-events: none;
  filter: invert(40%);
}

.search-bar input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #222;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.3s;
}

.search-bar input::placeholder {
  color: #888;
  font-weight: 400;
}

.no-results {
  margin-top: 15px;
  text-align: center;
  color: #d7263d;
  font-size: 15px;
  background-color: #fff0f0;
  padding: 10px 16px;
  border-radius: 8px;
  display: none;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.05);
}

.hidden {
  display: none !important;
}

.announcement-banner {
  margin-top: 2rem;
background: linear-gradient(135deg, #00FFFF, #FF69B4, #FF8C00, #32CD32);

  color: #ffffff; /* Black text for contrast */
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.announcement-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: slide-left 25s linear infinite;
}

.announcement-content span {
  display: inline-block;
  margin-right: 80px;
  font-weight: 700; /* Bolder text */
  /* Add a subtle text shadow to make the text pop, like a light source */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Optional: Add a simple twinkling or "sparkle" effect */
.announcement-content span::before {
    content: '✨ '; /* Adding a sparkle emoji/character */
    color: #000000; /* Black color for the sparkle */
}

@keyframes slide-left {
  /* Keep your existing animation for the scrolling effect */
  to {
    transform: translateX(-100%);
  }
}


.all-course-table-sections {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.pw-coupon-table-headings {
  font-style: italic;
  font-weight: 700;
  text-align: center;
  color: #2d2dc0;
  margin: 1rem 0 1rem 0;
  font-size: 2rem;
}
.table-sections {
  width: 100%;
  max-width: 1200px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', sans-serif;
}

thead tr {
  background-color: #1e1e80;
  color: white;
}

th,
td {
  padding: 12px 10px;
  border: 1px solid #ddd;
}

th {
  text-align: left;
}

td {
  text-align: left;
}

td:last-child {
  text-align: center;
  font-weight: 500;
  color: #000;
}
@media (max-width: 600px) {
  table th,
  table td {
    padding: 22px 14px !important;
  }
}
.coupon-section {
  max-width: 1200px;
  margin: 2rem 2rem;
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.coupon-section h2 {
  color: #2d2dc0;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
}

.steps {
  list-style: decimal inside;
  padding-left: 0;
  margin-bottom: 20px;
}

.steps li {
  margin-bottom: 15px;
}

.steps code {
  background: #f2f2f2;
  padding: 2px 6px;
  border-radius: 4px;
  color: #d63384;
  font-weight: bold;
}

.tip {
  background: #fff3cd;
  border-left: 6px solid #ffc107;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
}

.faq-container {
  max-width: 800px;
  margin: auto;
}
.faq-container h2 {
  font-size: 24px;
  color: #2d2dc0;
  margin-bottom: 20px;
  text-align: center;
}
a{
  text-decoration: none;
}
.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  background-color: #eef3ff;
}

.faq-icon {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  display: none;
  animation: fadeIn 0.3s ease;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .coupon-section {
    max-width: 98vw;
    margin: 1.5rem 1vw;
    padding: 18px 12px;
    border-radius: 10px;
  }
  .faq-container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .faq-header,
  .faq-answer {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 600px) {
  .table-sections{
    width: 100%;
    overflow-x: auto;
  }
  table{
    font-size: 14px;
    width: 100%;
  }
  th{

    text-align: center;
  }
  .coupon-section {
    max-width: 100vw;
    margin: 1rem 0.5rem;
    padding: 10px 4px;
    border-radius: 8px;
  }
  .coupon-section h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .steps {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .steps li {
    margin-bottom: 8px;
  }
  .steps code {
    font-size: 13px;
    padding: 1px 4px;
  }
  .tip {
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 6px;
  }
  .faq-container {
    max-width: 100vw;
    padding: 0 2px;
  }
  .faq-header {
    font-size: 15px;
    padding: 10px 6px;
  }
  .faq-answer {
    font-size: 13px;
    padding: 0 6px 10px 6px;
  }
}

@media (min-width: 768px) {
  .mobile-nav-btn {
    display: none;
  }

  .nav-bar {
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: none;
  }

  .nav-lists {
    flex-direction: row;
    gap: 1.5rem;
    justify-content: flex-end;
  }

  .nav-link {
    font-size: 1rem;
  }
}

/* Mobile Screen  */
@media (max-width: 768px) {
  .container h1 {
    font-size: 2rem;
  }
  .container span {
    font-size: 1.6rem;
  }
  .container p {
    font-size: 1.6rem;
    font-weight: 700;
  }
  .coupon-card {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    width: 300px;
  }

  .logo {
    transform: translate(50%);
    height: 50px;
  }

  .discount-badge {
    position: absolute;
    transform: translateY(-490%);
    background-color: #1e1e80;
    color: #fff;
    padding: 4px 8px;
    font-size: 13px;
    font-weight: bold;
    border-bottom-right-radius: 6px;
    z-index: 2;
  }

  .coupon-title {
    font-size: 16px;
  }

  .coupon-desc {
    font-size: 13px;
  }

  .copy-btn {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }
  .pw-coupon-table-headings {
    font-size: 1.5rem;
    font-weight: 700;
  }
}
.reviews-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 1rem;
}

.reviews-section h2 {
  text-align: center;
  color: #111;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.review-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #007bff;
}

.review-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Chatbot */
/* Chat Icon Styles */
.chat-icon {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: transform 0.2s ease-out;
}
.chat-icon:hover {
  transform: scale(1.1);
}
.chat-icon svg {
  width: 32px;
  height: 32px;
}

/* Chat Box Styles */
.chatbot-box {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 350px;
  max-width: 90vw;
  background: var(--white-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 1001;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.chatbot-box.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.chat-header {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  background: none;
  border: none;
  color: var(--white-color);
  cursor: pointer;
  padding: 0;
}
.close-btn svg {
  width: 20px;
  height: 20px;
}

.chat-body {
  padding: 20px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-body::-webkit-scrollbar {
  width: 6px;
}
.chat-body::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.message {
  padding: 10px 15px;
  border-radius: 18px;
  max-width: 80%;
  line-height: 1.4;
}
.bot-message {
  background-color: var(--secondary-color);
  color: var(--font-color);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.user-message {
  background-color: var(--primary-color);
  color: var(--white-color);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 15px;
}
.typing-indicator span {
  height: 8px;
  width: 8px;
  background-color: #aaa;
  border-radius: 50%;
  display: inline-block;
  animation: bounce 1.2s infinite;
}
.typing-indicator span:nth-of-type(2) {
  animation-delay: 0.2s;
}
.typing-indicator span:nth-of-type(3) {
  animation-delay: 0.4s;
}
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-footer {
  display: flex;
  border-top: 1px solid #e0e0e0;
  padding: 10px;
}
.chat-footer input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  outline: none;
  font-size: 1rem;
  margin-right: 10px;
  transition: border-color 0.2s;
}
.chat-footer input:focus {
  border-color: var(--primary-color);
}
.chat-footer button {
  background: var(--primary-color);
  color: var(--white-color);
  border: none;
  padding: 0 15px;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.chat-footer button:hover {
  background: #0056b3;
}
.chat-footer button svg {
  width: 20px;
  height: 20px;
}

.copy-btn {
  margin-top: 10px;
  color: var(--white-color);
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.chatbot-box img{
  filter: invert(100%);
}
/* Mobile-friendly Chatbot Styles */
@media (max-width: 600px) {
  .chat-icon {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }
  .chat-icon svg {
    width: 24px;
    height: 24px;
  }
  .chatbot-box {
    width: 98vw;
    max-width: 98vw;
    right: 1vw;
    bottom: 70px;
    border-radius: 10px;
    padding: 0;
  }
  .chat-header {
    padding: 12px 10px;
    font-size: 1rem;
  }
  .chat-body {
    padding: 12px 6px;
    max-height: 220px;
    font-size: 0.95rem;
    gap: 8px;
  }
  .message {
    padding: 8px 10px;
    font-size: 0.97rem;
    max-width: 95%;
  }
  .chat-footer {
    padding: 8px 4px;
  }
  .chat-footer input {
    padding: 10px;
    font-size: 0.97rem;
    margin-right: 6px;
    border-radius: 8px;
  }
  .chat-footer button {
    padding: 0 10px;
    border-radius: 8px;
  }
  .copy-btn {
    width: 100%;
    margin-top: 8px;
    padding: 8px 0;
    font-size: 0.95rem;
    border-radius: 8px;
    justify-content: center;
  }
}