:root {
  --black: #000000;
  --blue: #007bff;
  --white: #ffffff;
  --gray: #f8f9fa;
  --light-gray: #e9ecef;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

/* Navbar */
nav {
  background: var(--black);
  padding: 1rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.logo { color: var(--blue); font-size: 2.2rem; font-weight: bold; text-decoration: none; }
.nav-links a { color: white; text-decoration: none; margin-left: 2rem; font-weight: 500; }
.register-btn {
  background: var(--blue); color: white; padding: 0.7rem 1.8rem; border-radius: 50px; font-weight: bold;
}
.menu-toggle { display: none; color: white; font-size: 1.8rem; cursor: pointer; }

/* Main Layout */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 5% 60px;
}
.course-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Left Card - Sticky */
/* Zoom Ribbon - Top Right Corner */
.zoom-ribbon {
  position: absolute;
  top: 12px;
  right: -45px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 60px;
  transform: rotate(45deg);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.zoom-ribbon i {
  font-size: 16px;
}


/* Optional hover effect */

.zoom-ribbon:hover {
  background: #006ee6;           /* Slightly darker blue */
  transform: rotate(45deg) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.course-card {
  position: relative;   
  overflow: hidden;     
}
.course-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  position: sticky;
  top: 40px;
  text-align: center;
}
.course-card h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--black), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.course-card p {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 2rem;
}
.course-image {
  width: 100%;
  max-width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  border: 6px solid var(--blue);
  box-shadow: 0 15px 30px rgba(0,123,255,0.25);
  /* margin: 1.5rem 0; */
}

.mentor {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  justify-content: center;
}
.register-course-btn {
  background: var(--blue);
  color: white;
  padding: 14px 12px;
  
  border-radius: 10px;

  /* font-size: 20px; */
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(0,123,255,0.4);
}
.register-course-btn:hover {
  transform: translateY(-4px);
  background: #0056b3;
  box-shadow: 0 12px 30px rgba(0,123,255,0.5);
}

/* Weeks */
.weeks-container { display: flex; flex-direction: column; gap: 1rem; }
.week-accordion {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.week-accordion:hover { border-color: var(--blue); }

.week-header {
  padding: 1.4rem 1.8rem;
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  cursor: pointer;
}
.week-header h3 { font-size: 1.35rem; color: #222; }

.week-topics {
  background: var(--gray);
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}
.week-topics.open {
  max-height: 1000px;
  padding: 1rem 0;
}

.price {
  margin-top: 15px;
  font-size: 38px;
}
/* Circle container */
.linkedin-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #007bff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

.linkedin-circle i {
  color: #fff;
  font-size: 16px;
}


.socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}
.topic-item {
  padding: 0.9rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #ddd;
}
.companies {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 6px;
  justify-content: center; /* or left: flex-start */
}

.slots-minimal {
  
  color:  #dc2626 !important;
  margin-top: 30px;
}


.companies img {
  height: 40px;
  transition: 0.3s ease;
}

.companies img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

.topic-item:last-child { border-bottom: none; }
.lock-icon { font-size: 1.4rem; }
.lock-icon.unlocked { color: var(--blue); }
.lock-icon i.fa-lock { color: var(--blue); }
.topic-name { font-size: 1.1rem; color: #333; }
.topic-name.locked { color: #888; }

/* Responsive */
@media (max-width: 992px) {
  .course-section { grid-template-columns: 1fr; gap: 3rem; text-align: left; }
  .course-card { position: static; }
  .course-card h1 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 70px; left: -100%; background: var(--black); width: 100%; 
    flex-direction: column; padding: 2rem 0; transition: 0.4s; text-align: center;
  }
  .nav-links.active { left: 0; }
  .nav-links a { margin: 1rem 0; display: block; }
  .menu-toggle { display: block; }
}