/* RESET & BASE STYLES */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  height: 100%;
  overflow-x: hidden;
}
.footer {
  background-color: #222;
  color: #fff;
  padding: 25px 15px;
  text-align: center;
}
.popup-content h2 {
  margin-top: 0;
  text-align: center;
}
.popup-header {
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content.landscape {
  display: flex;
  flex-direction: row;
  background: #fff;
  padding: 20px;
  width: 95%;
  max-width: 1000px;
  border-radius: 10px;
  gap: 30px;
  position: relative;
}

.popup-left {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-right: 1px solid #ccc;
}

.popup-left img {
  max-width: 100%;
  width: 180px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 10px;
}

.popup-right {
  flex: 2;
  overflow-y: auto;
  max-height: 90vh;
}

.popup-right form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup-right label {
  font-weight: bold;
  margin-top: 5px;
}

.popup-right input,
.popup-right select,
.popup-right textarea {
  padding: 6px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

.checkbox-group {
  margin-top: 10px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 36px;
  font-weight: bold;
  color: #ff0000;
  background-color: #fff;
  border: 2px solid #ff0000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 34px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background-color: #ff0000;
  color: #fff;
}

.popup-logo {
  max-height: 60px;
  margin-top: 5px;
}

.form-title {
  text-align: center;
  margin: 15px 0;
  font-size: 20px;
  color: #333;
}

.popup-content label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.popup-content input,
.popup-content select,
.popup-content textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  font-size: 14px;
}

.popup-content button {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  background-color: #28a745;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: #218838;
}
checkbox-group {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.required {
  color: red;
}


.view-terms-link {
  font-size: 14px;
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;
}

.terms-text {
  margin-top: 10px;
  background: #f9f9f9;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  color: #333;
}

.terms-text ul {
  padding-left: 20px;
  margin: 0;
}


.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

.close-btn {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: #e00;
}

.popup-content label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.popup-content input,
.popup-content select,
.popup-content textarea {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.popup-content button {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: #0056b3;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: red;
}
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer a:hover {
  color: #fff;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.middle-banner {
  flex: 1;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sub-heading {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #444;
  margin-bottom: 20px;
}


.banner-image {
  width: 220px; /* Change this value as needed */
  height: auto; /* Keeps the height proportional */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  object-fit: contain;
}
/* NOTICE BAR */
.notice {
  background-color: #0091bd;
  color: white;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 15px;
}

.notice p {
  margin: 0;
}

/* LOGO HEADER */
.{
  padding: 1px;
  border: 2px solid transparent;
  border-radius: 2px;
  background-image: linear-gradient(white, white), linear-gradient(to right, #ff6e7f, #bfe9ff); /* pink to blue gradient */
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* optional soft shadow */
}
.logo-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-left .logo {
  max-width: 100px;
  height: auto;
}

.icon-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  cursor: pointer;
}

/* PRODUCT LIST SECTION */
h2 {
  text-align: center;
  margin: 30px 0 10px;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 0 15px 30px;
}

.product-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 10px;
  position: relative;
  width: 100%;
  max-width: 250px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  border-radius: 8px;
}

.discount-badge {
  background: #ff4d4d;
  color: white;
  padding: 4px 10px;
  position: absolute;
  font-size: 12px;
  border-radius: 0 0 8px 0;
  top: 0;
  left: 0;
}

.product-title {
  font-weight: bold;
  font-size: 16px;
  margin: 10px 0 5px;
}

.product-desc {
  color: #4caf50;
  font-size: 14px;
  margin-bottom: 8px;
}

.ratings {
  font-size: 14px;
  margin-bottom: 5px;
  color: #777;
}

.price {
  margin-bottom: 10px;
}

.price del {
  color: #999;
}

.price .offer {
  color: green;
  font-weight: bold;
  margin-left: 5px;
}
.product-info { 
  background: linear-gradient(to right, #0091bd, #0091bd); 
  padding: 7px 10px;

  text-align: center;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  margin: 10px auto;        /* Centered with vertical spacing */
  max-width: 900px;         /* Limit total width */
  width: 90%;               /* Responsive width on smaller screens */
}
.product-info h2 {
  font-size: 2em;
  color: #3f51b5;
  margin-bottom: 7px;
  font-weight: 700;
margin-top: 0;        /* Removes extra space above heading */
  padding-top: 0; 
}

.product-info .sub-heading {
  font-size: 1.2em;
  color: #e91e63;
  font-weight: bold;
  margin-bottom: 7px;
}
.course-section {
  background: linear-gradient(to right, #fce4ec, #e3f2fd);
  padding: 20px 10px;
  max-width: 1200px;
  margin: 0 auto 10px auto; /* 40px bottom space */
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.container.product-container {
  background: #ffffff;
  border-radius: 15px;
  padding: 40px 25px;
  margin: 0 auto 60px;
  max-width: 1200px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 3px solid transparent;
  border-image: linear-gradient(to right, #42a5f5, #ab47bc, #ef5350) 1; /* beautiful gradient border */
}

.product-container {
  background: #fff;
  border-radius: 15px;
  padding: 40px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.group-heading {
  font-size: 1.8em;
  color: #ad1457;
  border-bottom: 2px dashed #ad1457;
  margin-top: 0;
  margin-bottom: 25px;
  text-align: center;
  padding-bottom: 10px;
}

.product-section .product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
}

.product-card {
  background: #fafafa;
  border-radius: 12px;
  padding: 20px;
  width: 270px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.discount-badge {
  background: #d32f2f;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 10px;
}

.product-title {
  font-weight: bold;
  font-size: 1.2em;
  color: #333;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9em;
  margin-bottom: 10px;
  color: #444;
}

.ratings {
  color: #ff9800;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.price {
  font-size: 1em;
  margin-bottom: 15px;
}

.price del {
  color: #999;
}

.offer {
  color: green;
  font-weight: bold;
  margin-left: 5px;
}

.add-cart-btn {
  background: linear-gradient(to right, #ec407a, ##0091bd);
  color: #fff;
  padding: 8px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
}

.add-cart-btn:hover {
  background: linear-gradient(to right, #d81b60, #4a148c);
}


.product-info .description {
  font-size: 1em;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: justify;
}

@media (max-width: 768px) {
  .product-info {
    padding: 30px 15px;
  }

  .product-info h2 {
    font-size: 1.6em;
  }

  .product-info .description {
    text-align: left;
    font-size: 0.95em;
  }
}


.add-cart-btn {
  display: block;
  background-color: #ffcc00;
  color: black;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}
.product-info .container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
}

.product-info .container:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}


.add-cart-btn:hover {
  background-color: #ffc107;
}

/* RESPONSIVE */
@media (min-width: 600px) {
  .product-card {
    width: 45%;
  }
}

@media (min-width: 900px) {
  .product-card {
    width: 22%;
  }
}

/* AUTH POPUP */
.auth-popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
}

.auth-container {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  position: relative;
}

.auth-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.auth-field {
  margin-bottom: 15px;
}

.auth-field input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
}

.auth-button {
  width: 100%;
  padding: 10px;
  background-color: #3e8e41;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.auth-button:hover {
  background-color: #0056b3;
}

.error {
  color: red;
  font-size: 13px;
  display: block;
  margin-top: 5px;
}

/* FOOTER */
.footer {
  background-color: #0091bd;
  color: #fff;
  padding-top: 40px;
  width: 100%;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sliding-text {
  flex: 1;
  margin: 0 20px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 30px;
}

.slide-track {
  display: inline-block;
  animation: slide 18s linear infinite;
}

.slide-item {
  display: inline-block;
  padding: 5 30px;
  font-size: 16px;
  color: #800000;
  font-weight: bold;
}
@media (max-width: 600px) {
  .product-card {
    width: 100%;
    max-width: 100%;
  }
}
.course-slider-section {
  background: linear-gradient(135deg, #f7f9fb, #eef3f7); /* Soft greyish gradient */
  padding: 50px 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Gentle shadow */
  border-radius: 12px;
  border: 2px solid #b3d7f5; /* Light blue border */
}
.category-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden; /* ensures no unwanted scroll */
}
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.category-header button {
  background: #007bff;
  color: white;
  font-size: 20px;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.category-header button:hover {
  background: #0056b3;
}
.product-card {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
  text-align: center;
  box-sizing: border-box;
}
.product-card img {
  width: 100%;
  border-radius: 8px;
}
@media (min-width: 600px) {
  .product-card {
    width: calc(50% - 20px);
  }
}

@media (min-width: 900px) {
  .product-card {
    width: calc(33.33% - 20px);
  }
}
.discount-badge {
  background: #ff4d4d;
  color: white;
  padding: 4px 10px;
  position: absolute;
  font-size: 12px;
  border-radius: 0 0 8px 0;
  top: 0;
  left: 0;
}

/* Sliding animation */
@keyframes slide {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Responsive tweaks if needed */
@media (max-width: 768px) {
  .sliding-text {
    display: none;
  }
}
.slider-container {
  position: relative;
}

.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 1;
}

.prev-btn {
  left: -20px; /* Adjust as needed */
}

.next-btn {
  right: -20px; /* Adjust as needed */
}

.card-wrapper {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}
.category-header {
  text-align: center;
  margin-bottom: 15px;
}

.category-header h2 {
  font-size: 24px;
  font-weight: bold;
}
