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

:root {
  --bg-dark: #020617;
  --bg-card: rgba(30, 41, 59, 0.5);
  --accent-cyan: #22d3ee;
  --accent-teal: #14b8a6;
  --accent-orange: #f59e0b;
  --accent-emerald: #10b981;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.08);
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.navbar {
  background: #0b1220;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  padding: 0;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 80px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.nav-left, .nav-right {
  width: 280px;
  display: flex;
  align-items: center;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-right {
  justify-content: flex-end;
  gap: 16px;
}

.mobile-menu {
  display: none;
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .nav-center {
    display: none;
  }
  
  .header-actions {
    display: none;
  }
  
  .nav-left, .nav-right {
    flex: 1;
    width: auto;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  color: white;
  z-index: 1002;
  letter-spacing: -0.5px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo span span {
  color: var(--accent-cyan);
}

/* Hidden containers from previous attempts */
.nav-container {
  display: none;
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1002;
  padding: 10px;
  margin-right: -10px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
}

.nav-links a {
  color: #f1f5f9;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.btn-primary {
  background: var(--accent-cyan);
  padding: 12px 32px;
  border-radius: 999px;
  color: #000;
  font-weight: 800;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.4);
  background: #06b6d4;
}

/* Navbar Responsiveness */
@media (max-width: 1024px) {
  .nav-links {
    gap: 16px;
  }
  
  .nav-links a {
    font-size: 14px;
  }
}

@media (max-width: 860px) {
  .hamburger {
    display: flex;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: #020617;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    gap: 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--glass-border);
  }

  .mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
    text-align: center;
  }

  .mobile-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
  }

  .mobile-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    align-items: center;
  }

  .menu-toggle:checked ~ .mobile-menu {
    right: 0;
  }

  .menu-toggle:checked ~ .navbar-content .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle:checked ~ .navbar-content .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .navbar-content .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.page-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}



/* ===== NEW HERO V2 (Text Left, Carousel Right) ===== */
.hero-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 5%;
  gap: 40px;
  min-height: 80vh;
  background: radial-gradient(circle at 20% 30%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
}

.hero-content {
  flex: 1;
  max-width: 650px;
}

.hero-content h1 {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 30px;
  letter-spacing: -2px;
}

.hero-content h1 span {
  color: var(--accent-cyan);
  display: block;
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
}

.hero-desc {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-val span {
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-v2 .hero-buttons {
  justify-content: flex-start !important;
  flex-wrap: wrap;
  gap: 16px;
}

/* RIGHT SIDE CAROUSEL */
.hero-carousel-container {
  flex: 1;
  position: relative;
  max-width: 600px;
}

.hero-carousel-frame {
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  background: #000;
}

.hero-carousel-slides {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.hc-slide {
  width: 33.333%;
  height: 100%;
  position: relative;
}

.hc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* OVERLAYS INSIDE CAROUSEL */
.hc-overlay-live {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  padding: 20px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 300px;
  animation: fadeIn 0.5s ease;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-emerald);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
}

.hc-overlay-live h4 {
  margin: 0 0 4px;
  font-size: 18px;
}

.hc-overlay-live p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.hc-overlay-score {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  padding: 15px 25px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.score-label {
  font-size: 11px;
  color: var(--text-secondary);
  display: block;
}

.score-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-cyan);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Hero V2 */
@media (max-width: 1024px) {
  .hero-v2 {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(36px, 8vw, 56px);
    letter-spacing: -1px;
    margin-bottom: 20px;
  }

  .hero-desc {
    font-size: 17px;
    margin-bottom: 30px;
  }

  .hero-stats {
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .hero-v2 .hero-buttons {
    justify-content: center !important;
  }

  .hero-carousel-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  padding: 100px 5% 60px;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
}

.trusted {
  color: var(--accent-cyan);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero h1 span {
  color: var(--accent-cyan);
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(34, 211, 238, 0.2);
  z-index: -1;
}

.subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== TOP FEATURES GRID ===== */
.top-features {
  padding: 60px 8%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 32px;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-8px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.feature-card h3 {
  font-size: 20px;
  margin: 0;
}

.feature-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 15px;
}

@media (max-width: 768px) {
  .top-features {
    grid-template-columns: 1fr;
    padding: 40px 5%;
  }

  .feature-card {
    padding: 24px;
  }
}

/* ===== HOW IT WORKS / TIMELINE ===== */
.how-it-works {
  padding: 100px 8%;
  text-align: center;
}

.section-label {
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

.how-it-works h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.how-it-works h2 span {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}

.timeline-container {
  max-width: 1000px;
  margin: 60px auto;
}

.timeline-bar {
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  position: relative;
  margin-bottom: 60px;
}

.timeline-progress {
  position: absolute;
  height: 100%;
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-emerald), var(--accent-orange));
  width: 100%;
  border-radius: 4px;
}

.time-marker {
  position: absolute;
  top: 15px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

.timeline-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .timeline-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .timeline-bar {
    display: none;
    /* Hide timeline bar on mobile as it doesn't align with vertical cards */
  }

  .how-it-works h2 {
    font-size: 32px;
  }
}

.time-card {
  padding: 30px;
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.time-card:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: var(--accent-cyan);
}

.time-val {
  font-size: 32px;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
}

.tc-blue .time-val {
  color: var(--accent-cyan);
}

.tc-green .time-val {
  color: var(--accent-emerald);
}

.tc-yellow .time-val {
  color: var(--accent-orange);
}

.time-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
}

.time-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}


/* ===== WHY PHYSICS MENTOR ===== */
.why-section {
  padding: 100px 8%;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.why-card {
  text-align: left;
  background: var(--bg-card);
  padding: 40px;
  border-radius: 24px;
  position: relative;
  border: 1px solid var(--glass-border);
}

.why-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(34, 211, 238, 0.1);
  position: absolute;
  top: 20px;
  left: 40px;
}

.why-card h3 {
  font-size: 22px;
  margin: 20px 0 12px;
  position: relative;
  z-index: 1;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 16px;
  position: relative;
  z-index: 1;
}


/* ===== VISION SECTION ===== */
.vision-section {
  padding: 100px 8%;
  background: linear-gradient(rgba(2, 6, 23, 1), rgba(30, 41, 59, 0.5));
  text-align: center;
}

.vision-card {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  padding: 40px 20px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
  .vision-card h2 {
    font-size: 28px;
  }

  .vision-card p {
    font-size: 16px;
  }
}

.vision-card h2 {
  font-size: 40px;
  margin-bottom: 24px;
}

.vision-card p {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
}

/* ===== CTA ===== */
.ready-section {
  padding: 120px 8%;
  text-align: center;
}

.ready-section h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
}

.ready-section h2 span {
  color: var(--accent-cyan);
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
}

.ready-section .hero-buttons {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .ready-section {
    padding: 80px 5%;
  }

  .ready-section h2 {
    font-size: 32px;
  }

  .ready-section .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .ready-section .hero-buttons .btn-primary,
  .ready-section .hero-buttons .btn-outline {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}




/* ===== Courses Page v2 (Premium + Background Images) ===== */

.courses-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 0;
}

.courses-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-label {
  color: #22d3ee;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 12px;
}

.courses-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 16px 0;
}

.courses-title span {
  color: #22d3ee;
}

.courses-subtitle {
  color: #9ca3af;
  line-height: 1.7;
  margin: 0;
  font-size: 16px;
}

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

@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .courses-wrap {
    padding: 40px 5%;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .courses-title {
    font-size: clamp(32px, 8vw, 42px);
  }

  .course-card {
    padding: 30px 20px;
    min-height: auto;
  }

  .course-name {
    font-size: 28px;
  }
}

/* ===== CARD (with image background) ===== */
.course-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 40px;
  min-height: 620px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);

  /* fallback bg if image missing */
  background: rgba(255, 255, 255, 0.04);

  color: #ffffff;
}

/* DARK OVERLAY for readability */
.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(2, 6, 23, 0.93),
      rgba(2, 6, 23, 0.55));
  z-index: 0;
}

/* subtle glow */
.course-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%,
      rgba(34, 211, 238, 0.12),
      transparent 55%);
  z-index: 0;
  pointer-events: none;
}

/* ensure content above overlays */
.course-card>* {
  position: relative;
  z-index: 1;
}

/* ✅ YOUR uploaded images */
.class10-bg {
  background: url("../images/class10_bg.png") center / cover no-repeat;
}

.class11-bg {
  background: url("../images/phy_mentor_img1.png") center / cover no-repeat;
}

.class12-bg {
  background: url("../images/phy_mentor_img2.png") center / cover no-repeat;
}

/* hover effect */
.course-card:hover {
  transform: translateY(-3px);
  transition: 0.25s ease;
  border-color: rgba(34, 211, 238, 0.18);
}

/* ===== TAGS ===== */
.course-top {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.tag-blue {
  background: rgba(34, 211, 238, 0.16);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.35);
}

.tag-yellow {
  background: rgba(251, 191, 36, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

/* ===== TEXT ===== */
.course-name {
  font-size: 34px;
  margin: 0 0 10px 0;
  font-weight: 800;
}

.course-desc {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 18px 0;
  line-height: 1.6;
  font-size: 17px;
}

/* ===== BULLETS ===== */
.course-points {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.course-points li {
  position: relative;
  padding-left: 18px;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.course-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #22d3ee;
  font-weight: 900;
}

/* ===== META PILLS ===== */
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px 0;
}

.course-meta span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.course-cta {
  margin-top: 8px;
}



/* ===== Scroll Reveal Animation ===== */




/* Optional: a slightly slower reveal for hero/title */
.reveal.slow {
  transition-duration: 1.2s;
}

/* ===== Course Card Premium Hover ===== */
.course-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.course-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
  border-color: rgba(34, 211, 238, 0.25);
}

/* Glow line on hover */
.course-card:hover::after {
  background: radial-gradient(circle at 20% 10%,
      rgba(34, 211, 238, 0.22),
      transparent 58%);
}

/* Button hover effect */
.course-cta .btn-primary {
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.course-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(34, 211, 238, 0.18);
  filter: brightness(1.06);
}

/* List item hover (subtle highlight) */
.course-points li {
  transition: transform 0.2s ease, color 0.2s ease;
}

.course-points li:hover {
  transform: translateX(4px);
  color: rgba(255, 255, 255, 0.98);
}








/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}





/* ================================
   WhatsApp Floating Button
   (Always visible while scrolling)
=================================== */

a.whatsapp-float {
  position: fixed !important;
  left: 14px !important;
  bottom: 14px !important;

  width: 50px !important;
  /* reduced size */
  height: 50px !important;

  background: #25D366 !important;
  border-radius: 50% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  z-index: 2147483647 !important;
  /* above everything */
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30) !important;

  text-decoration: none !important;
  transition: 0.25s ease !important;
}

a.whatsapp-float img {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

a.whatsapp-float:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35) !important;
}



/* ================================
   Call Floating Button (Right Side)
=================================== */

a.call-float {
  position: fixed !important;
  right: 14px !important;
  bottom: 14px !important;

  width: 50px !important;
  height: 50px !important;

  background: #0EA5E9 !important;
  /* blue call button */
  border-radius: 50% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  z-index: 2147483647 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30) !important;

  text-decoration: none !important;
  transition: 0.25s ease !important;
}

a.call-float img {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

a.call-float:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35) !important;
}

@media (max-width: 480px) {

  a.whatsapp-float,
  a.call-float {
    width: 44px !important;
    height: 44px !important;
    bottom: 20px !important;
  }

  a.whatsapp-float {
    left: 10px !important;
  }

  a.call-float {
    right: 10px !important;
  }

  a.whatsapp-float img,
  a.call-float img {
    width: 20px !important;
    height: 20px !important;
  }
}








/* Physics Mentor Footer */
.pm-footer {
  background: linear-gradient(135deg, #050b1f, #07152f);
  color: #cfd8ff;
  padding: 80px 5% 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-footer__container {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.pm-footer__logo {
  margin: 0 0 16px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.pm-footer__logo span {
  color: var(--accent-cyan);
}

.pm-footer__text {
  margin: 0 0 24px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 400px;
}

.pm-footer__title {
  margin: 0 0 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.pm-footer__list,
.pm-footer__contact {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pm-footer__list li,
.pm-footer__contact li {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.pm-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.pm-footer a:hover {
  color: var(--accent-cyan);
}

.pm-footer__bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.pm-footer__bottom p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .pm-footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .pm-footer {
    padding: 60px 8% 30px;
    text-align: center;
  }

  .pm-footer__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pm-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .pm-footer__text {
    margin-left: auto;
    margin-right: auto;
  }

  .pm-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}








/* ===== Preload: hide first view BEFORE paint ===== */
html.js.reveal-preload main.page-container>* {
  opacity: 0;
  transform: translateY(32px);
}

/* ===== Normal reveal system ===== */
html.js .scroll-reveal,
html.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

html.js .scroll-reveal.visible,
html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0s);
}

/* Slower reveal durations */
.reveal.slow {
  transition-duration: 1.2s;
}

.reveal.vslow {
  transition-duration: 1.6s;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  html.js .scroll-reveal,
  html.js.reveal-preload main.page-container>* {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== NOTIFICATION SYSTEM ===== */
.notification-container {
  position: relative;
  display: flex;
  align-items: center;
}

.notification-trigger {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  padding: 0;
  margin-right: 15px;
}

.notification-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.unread-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
  padding: 0 4px;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 380px;
  background: #ffffff;
  /* Modern clean white for contrast as per design */
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  display: none;
  flex-direction: column;
  z-index: 1100;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #1e293b;
}

.notification-panel.active {
  display: flex;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notification-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.notification-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}

.mark-all-read {
  background: none;
  border: none;
  color: #10b981;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mark-all-read:hover {
  text-decoration: underline;
}

.notification-list {
  max-height: 400px;
  overflow-y: auto;
}

.notification-list::-webkit-scrollbar {
  width: 6px;
}

.notification-list::-webkit-scrollbar-track {
  background: #f8fafc;
}

.notification-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.notification-item {
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.notification-item:hover {
  background: #f8fafc;
}

.notification-item.unread {
  background: #f0f9ff;
}

.notification-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #3b82f6;
}

.n-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.n-icon svg {
  width: 18px;
  height: 18px;
}

/* Icon colors matching design */
.n-icon.live_class {
  background: #3b82f6;
}

.n-icon.study_material {
  background: #10b981;
}

.n-icon.assignment {
  background: #f59e0b;
}

.n-icon.exam {
  background: #ef4444;
}

.n-icon.quiz {
  background: #8b5cf6;
}

.n-icon.pta_meeting {
  background: #0ea5e9;
}

.n-icon.doubt {
  background: #ec4899;
}

.n-icon.message {
  background: #64748b;
}

.n-icon.attendance {
  background: #10b981;
}

.n-icon.subscription {
  background: #f43f5e;
}

.n-icon.marks {
  background: #3b82f6;
}

.n-content {
  flex: 1;
}

.n-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.n-message {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 4px;
}

.n-time {
  font-size: 11px;
  color: #94a3b8;
}

.n-delete {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0;
  transition: opacity 0.2s;
}

.notification-item:hover .n-delete {
  opacity: 1;
}

.n-delete:hover {
  color: #ef4444;
}

.notification-empty {
  padding: 40px 20px;
  text-align: center;
  color: #94a3b8;
}

.notification-empty p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 480px) {
  .notification-panel {
    width: 320px;
    right: -60px;
  }
}


/* Logo Styles */
.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}