*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins',sans-serif;
  background:#0b1120;
  color:white;
  overflow-x:hidden;
}

/* NAVBAR */

.navbar{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 8%;
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(15,23,42,0.9);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo{
  font-size:28px;
  font-weight:700;
  color:#38bdf8;
}

.nav-links{
  display:flex;
  list-style:none;
  gap:35px;
}

.nav-links a{
  text-decoration:none;
  color:white;
  font-weight:500;
  transition:0.3s;
}

.nav-links a:hover{
  color:#38bdf8;
}

.nav-btn{
  background:#38bdf8;
  color:black;
  padding:12px 22px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.nav-btn:hover{
  transform:translateY(-3px);
}

/* NAV RIGHT */

.nav-right{
  display:flex;
  align-items:center;
}

/* HERO */

.hero{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:60px;
  padding:0 8%;
  flex-wrap:wrap;
}
.hero-left{
  flex:1;
  max-width:600px;
}

.tag{
  display:inline-block;
  padding:10px 18px;
  background:rgba(56,189,248,0.15);
  border:1px solid rgba(56,189,248,0.4);
  border-radius:30px;
  color:#38bdf8;
  margin-bottom:25px;
}

.hero-left h1{
  font-size:42px;
  line-height:1.1;
  margin:35px 0;
}

.hero-left p{
  font-size:18px;
  line-height:1.9;
  color:#94a3b8;
  max-width:550px;
}

/* HERO IMAGE */

.hero-image{
  width:420px;
  border-radius:24px;
  object-fit:cover;
  box-shadow:0 20px 60px rgba(0,0,0,0.35);
  transition:0.3s;
}

.hero-image:hover{
  transform:translateY(-8px);
}

/* BUTTONS */

.hero-buttons{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.primary-btn{
  background:#38bdf8;
  color:black;
  padding:16px 30px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.primary-btn:hover{
  transform:translateY(-5px);
}

.secondary-btn{
  padding:16px 30px;
  border-radius:12px;
  text-decoration:none;
  border:1px solid rgba(255,255,255,0.15);
  color:white;
  transition:0.3s;
}

.secondary-btn:hover{
  background:rgba(255,255,255,0.05);
}

/* STATS */

.stats{
  display:flex;
  gap:25px;
  margin-top:60px;
  flex-wrap:wrap;
}

.stat-box{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:22px 30px;
  border-radius:18px;
  backdrop-filter:blur(10px);
}

.stat-box h2{
  color:#38bdf8;
  margin-bottom:8px;
}

/* HERO RIGHT */

.hero-right{
  flex:1;
  display:flex;
  justify-content:center;
}

.glass-card{
  width:400px;
  padding:35px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:25px;
  backdrop-filter:blur(18px);
  box-shadow:0 0 40px rgba(56,189,248,0.15);
}

.glass-card h3{
  color:#38bdf8;
  margin-bottom:20px;
}

.glass-card h2{
  font-size:34px;
  margin-bottom:20px;
}

.glass-card p{
  color:#cbd5e1;
  line-height:1.8;
  margin-bottom:30px;
}

.glass-card button{
  width:100%;
  padding:15px;
  border:none;
  border-radius:12px;
  background:#38bdf8;
  color:black;
  font-weight:700;
  cursor:pointer;
  transition:0.3s;
}

.glass-card button:hover{
  transform:translateY(-5px);
}

/* FEATURES */

.features{
  padding:100px 8%;
}

.features h2{
  text-align:center;
  font-size:50px;
  margin-bottom:60px;
}

.feature-container{
  display:flex;
  gap:30px;
  justify-content:center;
  flex-wrap:wrap;
}

.feature-card{
  width:350px;
  padding:35px;
  background:rgba(255,255,255,0.04);
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.3s;
}

.feature-card:hover{
  transform:translateY(-10px);
}

.feature-card h3{
  margin-bottom:18px;
  font-size:24px;
}

.feature-card p{
  color:#94a3b8;
  line-height:1.8;
}

/* RESPONSIVE */

@media(max-width:1100px){

  .hero{
    flex-direction:column;
    text-align:center;
  }

  .hero-buttons{
    justify-content:center;
  }

  .stats{
    justify-content:center;
  }

}

@media(max-width:768px){

  .navbar{
    flex-direction:column;
    gap:20px;
  }

  .nav-links{
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
  }

  .hero-left h1{
    font-size:45px;
  }

  .features h2{
    font-size:38px;
  }

  .glass-card{
    width:100%;
  }

}

/* ABOUT PAGE */

.about-hero{
  min-height:70vh;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:80px 8%;
}

.about-content{
  max-width:850px;
}

.about-content h1{
  font-size:65px;
  margin:25px 0;
  line-height:1.2;
}

.about-content p{
  font-size:20px;
  line-height:1.9;
  color:#94a3b8;
}

/* MISSION */

.mission-section{
  padding:80px 8%;
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
}

.mission-card{
  width:500px;
  padding:40px;
  background:rgba(255,255,255,0.04);
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.3s;
}

.mission-card:hover{
  transform:translateY(-10px);
}

.mission-card h2{
  margin-bottom:20px;
}

.mission-card p{
  color:#94a3b8;
  line-height:1.9;
}

/* WHY SECTION */

.why-section{
  padding:100px 8%;
}

.why-section h2{
  text-align:center;
  font-size:50px;
  margin-bottom:60px;
}

.why-container{
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
}

.why-card{
  width:340px;
  padding:35px;
  background:rgba(255,255,255,0.04);
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.3s;
}

.why-card:hover{
  transform:translateY(-10px);
}

.why-card h3{
  margin-bottom:18px;
}

.why-card p{
  color:#94a3b8;
  line-height:1.8;
}

/* RESPONSIVE ABOUT */

@media(max-width:768px){

  .about-content h1{
    font-size:42px;
  }

  .why-section h2{
    font-size:38px;
  }

}

/* COURSES PAGE */

.courses-hero{
  min-height:50vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:80px 8%;
}

.courses-hero h1{
  font-size:65px;
  margin:25px 0;
}

.courses-hero p{
  max-width:700px;
  line-height:1.9;
  color:#94a3b8;
  font-size:19px;
}

/* ALL COURSES */

.all-courses{
  padding:80px 8%;
  display:flex;
  flex-direction:column;
  gap:40px;
}

.premium-course-card{
  display:flex;
  align-items:center;
  gap:35px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:30px;
  padding:35px;
  transition:0.3s;
}

.premium-course-card:hover{
  transform:translateY(-10px);
}

.course-image{
  width:150px;
  height:150px;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:60px;
  background:rgba(56,189,248,0.1);
  border-radius:24px;
}

.course-info{
  flex:1;
}

.course-info h2{
  margin-bottom:15px;
  font-size:32px;
}

.course-info p{
  color:#94a3b8;
  line-height:1.9;
  margin-bottom:20px;
}

.course-meta{
  display:flex;
  gap:20px;
  margin-bottom:25px;
  flex-wrap:wrap;
}

.price-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
}

.price-row h3{
  color:#38bdf8;
  font-size:30px;
}

.enroll-btn{
  background:#38bdf8;
  color:black;
  text-decoration:none;
  padding:14px 26px;
  border-radius:12px;
  font-weight:600;
  transition:0.3s;
}

.enroll-btn:hover{
  transform:translateY(-5px);
}

/* RESPONSIVE COURSES */

@media(max-width:900px){

  .premium-course-card{
    flex-direction:column;
    text-align:center;
  }

  .price-row{
    justify-content:center;
  }

  .courses-hero h1{
    font-size:42px;
  }

}

/* CONTACT PAGE */

.contact-hero{
  min-height:45vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:80px 8%;
}

.contact-hero h1{
  font-size:60px;
  margin:25px 0;
}

.contact-hero p{
  max-width:700px;
  color:#94a3b8;
  line-height:1.9;
  font-size:19px;
}

/* CONTACT SECTION */

.contact-section{
  padding:80px 8%;
  display:flex;
  gap:50px;
  justify-content:center;
  flex-wrap:wrap;
}

.contact-info{
  flex:1;
  min-width:320px;
}

.contact-info h2{
  font-size:40px;
  margin-bottom:20px;
}

.contact-info p{
  color:#94a3b8;
  line-height:1.9;
  margin-bottom:30px;
}

.info-box{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:25px;
  border-radius:20px;
  margin-bottom:20px;
}

.info-box h3{
  margin-bottom:10px;
}

/* FORM */

.contact-form{
  flex:1;
  min-width:320px;
}

.contact-form form{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:35px;
  border-radius:25px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:16px;
  margin-bottom:20px;
  border:none;
  border-radius:12px;
  background:#1e293b;
  color:white;
  font-size:16px;
}

.contact-form button{
  width:100%;
  padding:16px;
  border:none;
  border-radius:12px;
  background:#38bdf8;
  color:black;
  font-size:17px;
  font-weight:700;
  cursor:pointer;
  transition:0.3s;
}

.contact-form button:hover{
  transform:translateY(-5px);
}

/* FOOTER */

.footer{
  margin-top:80px;
  background:#020617;
  padding-top:70px;
  border-top:1px solid rgba(255,255,255,0.08);
}

.footer-content{
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
  padding:0 8% 50px;
}

.footer-logo{
  max-width:350px;
}

.footer-logo h2{
  color:#38bdf8;
  margin-bottom:20px;
}

.footer-logo p{
  color:#94a3b8;
  line-height:1.8;
}

.footer-links,
.footer-social{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.footer-links h3,
.footer-social h3{
  margin-bottom:10px;
}

.footer-links a,
.footer-social p{
  color:#94a3b8;
  text-decoration:none;
  transition:0.3s;
}

.footer-links a:hover{
  color:#38bdf8;
}

.footer-bottom{
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.08);
  padding:25px;
  color:#94a3b8;
}

/* RESPONSIVE CONTACT */

@media(max-width:768px){

  .contact-hero h1{
    font-size:42px;
  }

  .contact-info h2{
    font-size:32px;
  }

}

/* LOGIN PAGE */

.login-page{
  min-height:100vh;
  display:flex;
  background:#020617;
}

/* LEFT SIDE */

.login-left{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:60px;
}

.login-content{
  max-width:500px;
}

.login-content h1{
  font-size:65px;
  line-height:1.2;
  margin:25px 0;
}

.login-content p{
  color:#94a3b8;
  line-height:1.9;
  font-size:18px;
}

/* RIGHT SIDE */

.login-right{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:40px;
}

.login-card{
  width:100%;
  max-width:450px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:30px;
  padding:45px;
  backdrop-filter:blur(15px);
}

.login-card h2{
  font-size:38px;
  margin-bottom:10px;
}

.login-card p{
  color:#94a3b8;
  margin-bottom:30px;
}

.login-card form{
  display:flex;
  flex-direction:column;
}

.login-card input{
  width:100%;
  padding:16px;
  margin-bottom:20px;
  border:none;
  border-radius:14px;
  background:#1e293b;
  color:white;
  font-size:16px;
}

.login-card button{
  width:100%;
  padding:16px;
  border:none;
  border-radius:14px;
  background:#38bdf8;
  color:black;
  font-size:17px;
  font-weight:700;
  cursor:pointer;
  transition:0.3s;
}

.login-card button:hover{
  transform:translateY(-5px);
}

.divider{
  text-align:center;
  margin:25px 0;
  color:#94a3b8;
}

.google-btn{
  background:white !important;
  color:black !important;
}

.register-text{
  margin-top:30px;
  text-align:center;
}

.register-text a{
  color:#38bdf8;
  text-decoration:none;
}

/* RESPONSIVE LOGIN */

@media(max-width:1000px){

  .login-page{
    flex-direction:column;
  }

  .login-content{
    text-align:center;
  }

  .login-content h1{
    font-size:45px;
  }

}

/* HAMBURGER MENU */

.menu-toggle{
  display:none;
  font-size:32px;
  cursor:pointer;
}

/* DARK BUTTON */

.dark-btn{
  background:transparent;
  border:none;
  color:white;
  font-size:24px;
  cursor:pointer;
  margin-right:20px;
}

/* MOBILE NAVBAR */

@media(max-width:768px){

  .menu-toggle{
    display:block;
  }

  .navbar{
    flex-wrap:wrap;
  }

  .nav-links{
    width:100%;
    display:none;
    flex-direction:column;
    text-align:center;
    padding-top:20px;
  }

  .nav-links.active{
    display:flex;
  }

}

/* LIGHT MODE */

.light-mode{
  background:white;
  color:black;
}

.light-mode .navbar{
  background:white;
}

.light-mode .nav-links a{
  color:black;
}

.light-mode .hero p,
.light-mode .course-card p,
.light-mode .feature-card p,
.light-mode .about-content p,
.light-mode .mission-card p,
.light-mode .why-card p,
.light-mode .contact-info p,
.light-mode .footer-logo p,
.light-mode .footer-bottom{
  color:#475569;
}

.light-mode .glass-card,
.light-mode .feature-card,
.light-mode .mission-card,
.light-mode .why-card,
.light-mode .premium-course-card,
.light-mode .contact-form form,
.light-mode .info-box{
  background:#f8fafc;
  border:1px solid #e2e8f0;
}

/* HERO BUTTONS */

.hero-buttons{
  display:flex;
  gap:20px;
  margin-top:30px;
  flex-wrap:wrap;
}

.hero-buttons a{
  padding:16px 32px;
  border-radius:14px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.hero-buttons a:hover{
  transform:translateY(-4px);
}

/* MOBILE HERO */

@media(max-width:768px){

  .hero-left h1{
    font-size:48px;
    text-align:center;
  }

  .hero-left p{
    text-align:center;
  }

  .hero-buttons{
    justify-content:center;
  }

  .hero-right{
    display:flex;
    justify-content:center;
  }

  .hero-image{
    width:90%;
    max-width:340px;
  }

}

/* DASHBOARD */

.dashboard{
  min-height:100vh;
  padding:120px 8%;
}

.dashboard h1{
  font-size:60px;
  margin-bottom:15px;
}

.dashboard p{
  color:#94a3b8;
  font-size:18px;
  margin-bottom:50px;
}

/* GRID */

.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

/* CARD */

.dashboard-card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:24px;
  padding:40px;
  transition:0.3s;
}

.dashboard-card:hover{
  transform:translateY(-8px);
}

.dashboard-card h2{
  margin-bottom:20px;
  font-size:24px;
}

.dashboard-card span{
  font-size:42px;
  font-weight:700;
  color:#38bdf8;
}

/* MOBILE */

@media(max-width:768px){

  .dashboard{
    padding-top:140px;
  }

  .dashboard h1{
    font-size:42px;
    text-align:center;
  }

  .dashboard p{
    text-align:center;
  }

}

/* COURSE DETAIL PAGE */

.course-detail{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:60px;
  padding:120px 8%;
  flex-wrap:wrap;
}

/* IMAGE */

.course-detail-image{
  width:100%;
  max-width:500px;
  border-radius:30px;
  box-shadow:0 20px 60px rgba(0,0,0,0.35);
}

/* RIGHT SIDE */

.course-detail-right{
  flex:1;
  max-width:600px;
}

.course-detail-right h1{
  font-size:60px;
  line-height:1.1;
  margin:25px 0;
}

.course-detail-right p{
  color:#94a3b8;
  line-height:1.9;
  font-size:18px;
  margin-bottom:30px;
}

/* INFO BOX */

.course-info-box{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:24px;
  padding:30px;
  margin-bottom:35px;
}

.course-info-box h3{
  margin-bottom:20px;
}

.course-info-box ul{
  padding-left:20px;
}

.course-info-box li{
  margin-bottom:14px;
  color:#cbd5e1;
}

/* MOBILE */

@media(max-width:768px){

  .course-detail{
    padding-top:140px;
  }

  .course-detail-right h1{
    font-size:42px;
    text-align:center;
  }

  .course-detail-right p{
    text-align:center;
  }

}

/* --- RE-FIXED COURSE VIDEO SECTION --- */

/* Removed the width: 50% that was causing the right-side gap */
.video-section {
    width: 100%;
    display: block;
    padding: 80px 8%;
    text-align: center;
    background: transparent;
}

.video-section h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 40px;
}

/* Centered container with proper width */
.video-card-container {
    max-width: 900px; 
    margin: 0 auto; 
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* DASHBOARD COURSE CARDS */
.purchased-courses { margin-top: 40px; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.course-card-mini { background: rgba(255, 255, 255, 0.05); padding: 20px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.1); text-align: left; }
.course-card-mini img { width: 100%; border-radius: 10px; margin-bottom: 15px; }
.progress-bar { background: #333; height: 8px; border-radius: 5px; margin: 15px 0; overflow: hidden; }
.progress { background: #38bdf8; height: 100%; }
.continue-btn { width: 100%; padding: 10px; background: #38bdf8; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.continue-btn:hover { background: #0ea5e9; transform: scale(1.02); }

/* ==========================
   COURSE PLAYER LAYOUT 
   ========================== */

/* 1. Sidebar Setup */
.lesson-sidebar {
    width: 300px;
    background: #111827;
    height: 100vh;
    position: fixed; 
    left: 0;
    top: 0;
    border-right: 1px solid #374151;
    padding-top: 20px;
    z-index: 100;
}

.lesson-sidebar h3 {
    text-align: center;
    color: #38bdf8;
    margin-bottom: 20px;
    font-size: 22px;
}

.progress-container {
    width: 85%;
    margin: 0 auto 25px auto;
    text-align: center;
}

/* 2. Lecture Boxes Alignment */
.lecture-list {
    padding: 0;
    margin: 0;
    width: 100%;
    list-style: none;
}

.lecture-item {
    width: 85%;
    margin: 12px auto;
    padding: 15px;
    background: #1f2937;
    color: #9ca3af;
    border-radius: 12px;
    cursor: pointer;
    display: block;
    text-align: center;
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.lecture-item:hover, .lecture-item.active {
    background: #0ea5e9;
    color: white;
    font-weight: bold;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

/* 3. MAIN VIDEO SECTION - FIXED ALIGNMENT */
.video-section-player {
    margin-left: 300px; 
    padding: 40px;
    background: #0f172a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.video-box {
    width: 100%;
    max-width: 1000px; 
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    line-height: 0; 
}

.video-box iframe {
    width: 100%;
    aspect-ratio: 16 / 9; 
    border: none;
}

.video-details {
    max-width: 1000px;
    width: 100%;
    margin-top: 30px;
    text-align: center;
}

.download-btn {
    transition: 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

/* 4. RESPONSIVE (For Mobile) */
@media (max-width: 992px) {
    .lesson-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .video-section-player {
        margin-left: 0;
        padding: 20px;
    }
}

/* PROFILE PAGE STYLING */
.profile-container { display: flex; justify-content: center; align-items: center; height: 100vh; padding: 20px; }
.profile-card { background: #1e293b; padding: 30px; border-radius: 20px; text-align: center; width: 100%; max-width: 400px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.profile-header img { width: 100px; height: 100px; border-radius: 50%; border: 3px solid #38bdf8; margin-bottom: 15px; }
.profile-stats { display: flex; justify-content: space-around; margin: 25px 0; border-top: 1px solid #334155; padding-top: 20px; }
.stat-box h3 { color: #38bdf8; margin-bottom: 5px; }
.edit-btn { background: #38bdf8; color: #000; border: none; width: 100%; padding: 12px; border-radius: 8px; font-weight: bold; cursor: pointer; margin-bottom: 10px; }
.logout-btn { background: transparent; color: #ef4444; border: 1px solid #ef4444; width: 100%; padding: 12px; border-radius: 8px; cursor: pointer; }
.logout-btn:hover { background: #ef4444; color: white; }

/* PAYMENT MODAL STYLING */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.modal-content { background: #1e293b; margin: 10% auto; padding: 30px; border-radius: 20px; width: 90%; max-width: 400px; text-align: center; border: 1px solid #38bdf8; position: relative; }
.close { position: absolute; right: 20px; top: 10px; font-size: 30px; cursor: pointer; }
.qr-placeholder img { width: 200px; border-radius: 10px; margin: 20px 0; border: 5px solid white; }
.price-tag { font-size: 24px; font-weight: bold; color: #38bdf8; margin-bottom: 20px; }
.verify-btn { width: 100%; background: #22c55e; color: white; border: none; padding: 15px; border-radius: 10px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.verify-btn:hover { background: #16a34a; transform: translateY(-3px); }

/* NEW COURSE DETAILS BUTTON STYLING */
.details-btn {
    text-decoration: none !important; 
    padding: 10px 15px;
    background: transparent;
    color: #38bdf8 !important; 
    border: 2px solid #38bdf8 !important; 
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
    margin-right: 10px;
    display: inline-block;
    cursor: pointer;
}

.details-btn:hover {
    background: #38bdf8;
    color: #000 !important; 
    transform: translateY(-2px);
}

/* AI CHATBOT STYLING */
#chat-icon { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background: #38bdf8; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.3); z-index: 1000; transition: 0.3s; }
#chat-icon:hover { transform: scale(1.1); }
#chat-icon img { width: 35px; }

#ai-chat-container { position: fixed; bottom: 90px; right: 20px; width: 320px; height: 450px; background: #1e293b; border-radius: 15px; display: none; flex-direction: column; box-shadow: 0 10px 25px rgba(0,0,0,0.5); z-index: 1000; border: 1px solid #38bdf8; overflow: hidden; }
.chat-header { background: #38bdf8; color: black; padding: 15px; font-weight: bold; display: flex; justify-content: space-between; cursor: pointer; }
.chat-body { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.bot-msg { background: #334155; padding: 10px; border-radius: 10px; align-self: flex-start; max-width: 80%; }
.user-msg { background: #38bdf8; color: black; padding: 10px; border-radius: 10px; align-self: flex-end; max-width: 80%; }
.chat-footer { padding: 10px; display: flex; gap: 5px; background: #0f172a; }
.chat-footer input { flex: 1; padding: 10px; border-radius: 5px; border: none; outline: none; background: #1e293b; color: white; }
.chat-footer button { background: #38bdf8; border: none; padding: 10px; border-radius: 5px; cursor: pointer; }

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 60px; /* Aap ise apne hisaab se 40px ya 60px kar sakte hain */
    width: auto;  /* Aspect ratio barabar rahega */
    object-fit: contain;
    transition: 0.3s ease;
}

/* Logo par hover effect */
.nav-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px #38bdf8); /* Blue glow effect */
}

/* Mobile ke liye chhota logo */
@media (max-width: 770px) {
    .nav-logo {
        height: 50px;
    }
}


/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block !important; /* Mobile par icon dikhna chahiye */
        font-size: 30px;
        color: white;
    }
    
    .nav-links.active {
        display: flex !important; /* Click hone par list dikhni chahiye */
    }
}

@media (max-width: 768px) {
    /* Navbar fix */
    .navbar {
        padding: 15px 5%;
    }

    .nav-links {
        display: none; /* Mobile par menu chupa do jab tak click na ho */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0b1120;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links.active {
        display: flex; /* Click karne par dikhega */
    }

    /* Hero Section fix (Text bada dikhega) */
    .hero-left h1 {
        font-size: 32px !important;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    /* Course Player Fix (Most Important) */
    .lesson-sidebar {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        border-right: none;
        border-bottom: 1px solid #374151;
    }

    .video-section-player {
        margin-left: 0 !important;
        padding: 15px !important;
    }

    .video-box iframe {
        height: 200px; /* Choti screen par height kam */
    }
}

/* Continue Learning Button Hover Spark Effect */
.hover-spark:hover {
    background-color: #7dd3fc !important; /* Thoda aur bright sky-blue */
    box-shadow: 0 0 15px #38bdf8, 0 0 25px #38bdf8; /* Glow/Spark effect */
    transform: translateY(-2px); /* Halka sa upar uthega professional look ke liye */
}
