/* ===== General Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
 
}

body {
  background-color: white;
  color: #333;
  font-family:'serif',;
}

/* ===== Header ===== */
.main-header {
  background-color: #004aad;
  color: #fff;
  padding: 20px 0;
}

.main-header .container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 600;
 
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #ffd700;
}

/* ===== Hero Section (for Preview) ===== */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #ffffff, #e9efff);
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #004aad;
}

/* ===== Footer ===== */
.main-footer {
  background-color: #002f6c;
  color: #fff;
  text-align: center;
  padding: 25px 0;
  margin-top: 40px;
}

.main-footer a {
  color: #ffd700;
  text-decoration: none;
  margin: 0 5px;
}

.main-footer a:hover {
  text-decoration: underline;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .main-header .container {
    flex-direction: column;
    gap: 10px;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
  }
}

.header_tittle{
  font-size: 20px;
  text-align: center;
  font-weight: 700;
  color: black;
  padding-top: 20px;
  padding-bottom: 10px;
}




/*popup image code*/


#popup12{
  position:fixed;
  inset:0;
  background:#0009;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

/* Popup box */
#box12{
  position:relative;
}

/* Responsive image */
#box12 img{
  width:90vw;          /* Mobile friendly */
  max-width:520px;     /* Desktop size */
  border-radius:12px;
  cursor:pointer;
}

/* Close button */
#close12{
  position:absolute;
  top:-12px;
  right:-12px;
  width:30px;
  height:30px;
  border:0;
  border-radius:50%;
  background:red;
  color:#fff;
  font-size:20px;
  cursor:pointer;
  z-index:10000;
}

/* Large screens = bigger popup */
@media (min-width: 992px){
  #box12 img{
    max-width:700px;
  }
}

.whatsapp-float img {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  z-index: 9999;
}

.course-image-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

.course-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}


.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 8px;
}

.price-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price {
  font-size: 18px;
  font-weight: 800;
}

.old-price {
  font-size: 13px;
  color: #777;
  text-decoration: line-through;
}

.buy-btn {
  border: none;
  padding: 7px 13px;
  border-radius: 7px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.discount {
  margin-left: auto;
  padding: 5px 7px;
  border-radius: 5px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
}

.explore-wrapper {
  padding: 5px 14px 14px;
}

.explore-btn {
  width: 100%;
  border: none;
  padding: 10px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* =====================================================
   MOBILE LOGIN
   HIDDEN EVERYWHERE BY DEFAULT
===================================================== */

.mobile-login-wrapper {
  display: none !important;
}


/* =====================================================
   MOBILE ONLY
===================================================== */

@media screen and (max-width: 850px) {

  .mobile-login-wrapper {
    display: block !important;

    width: 100%;
    padding: 10px 14px;

    box-sizing: border-box;

    background: #ffffff;

    border-bottom: 1px solid #e5e7eb;
  }


  .mobile-login-btn {
    position: relative;

    display: flex !important;

    align-items: center;
    justify-content: center;

    gap: 9px;

    width: 100%;
    height: 48px;

    box-sizing: border-box;

    color: #ffffff !important;
    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    border-radius: 13px;

    background: linear-gradient(
      135deg,
      #2563eb,
      #4f46e5
    );

    box-shadow:
      0 7px 20px
      rgba(37, 99, 235, 0.25);

    overflow: hidden;

    transition: all 0.25s ease;
  }


  .mobile-login-btn:hover {
    transform: translateY(-2px);

    box-shadow:
      0 10px 28px
      rgba(37, 99, 235, 0.35);
  }


  .mobile-login-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: rgba(255,255,255,0.18);

    border: 1px solid rgba(255,255,255,0.22);
  }


  .mobile-login-icon i {
    font-size: 13px;
  }


  .mobile-login-arrow {
    position: absolute;

    right: 18px;

    font-size: 13px;

    opacity: 0.85;
  }

}


/* =====================================================
   DESKTOP - FORCE HIDE
===================================================== */

@media screen and (min-width: 851px) {

  .mobile-login-wrapper,
  .mobile-login-btn {
    display: none !important;
  }

}