/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #00aaff;
  color: #ffffff;
  overflow: hidden;
  line-height: 1.6;
}

/* Enable cursor only on desktop */
@media (min-width: 1024px) {
  body {
    cursor: none;
  }
}

@font-face {
  font-family: 'IgnisEtGlaciesSharpBold';
  src: url('../fonts/ignis-et-glacies-sharp-bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  text-align: center;
}

.loader-text {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.5rem;
  margin-bottom: 2rem;
  color: #00aaff;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
}

.loader-progress {
  width: 300px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, #00aaff, #00ccff);
  width: 0%;
  border-radius: 1px;
}

/* ===== CURSOR ===== */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #00aaff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s ease;
  display: none;
}

@media (min-width: 1024px) {
  .cursor {
    display: block;
  }
}

.cursor-follower {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid #00aaff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.1s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: none;
}

@media (min-width: 1024px) {
  .cursor-follower {
    display: block;
  }
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #00aaff;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  position: relative;
}

.logo-decent {
  color: #00aaff;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
  opacity: 0;
}

.logo-institute {
  color: #ffffff;
  opacity: 0;
  position: relative;
  display: inline-block;
  margin-left: 0.3rem;
}

/* Light line glow animation */
.logo-institute::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, #00aaff, transparent);
  animation: line-glow 2s ease-in-out 1.2s forwards;
  opacity: 0.6;
}

@keyframes line-glow {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

/* MENU LINKS */
.nav-menu {
  display: flex;
  gap: 3rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
}

.nav-link:hover {
  color: #00aaff;
}

.nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: #00aaff;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-link:hover::before {
  transform: translateY(0);
}

.nav-burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-burger span {
  width: 25px;
  height: 2px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}

.logo-flare {
  filter: blur(2px);
  opacity: 0.8;
}


.logo-shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(0,170,255,0.7) 50%, transparent 100%);
  filter: blur(2px);
  mix-blend-mode: screen;
  opacity: 0.8;
  pointer-events: none;
  z-index: 2;
}

.logo-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #00aaff;
  vertical-align: bottom;
  margin-left: 2px;
  animation: blink 0.9s steps(2, start) infinite;
}

@keyframes blink {
  to { opacity: 0; }
}
.decent-in-logo{
  height: 50px;
  width: 50px;
}

/* ===== MOBILE BOTTOM NAVBAR ===== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 0.7rem 0.5rem;
  z-index: 999;
  border-top: 1px solid rgba(0, 170, 255, 0.2);
  box-shadow: 0 -2px 10px rgba(0, 170, 255, 0.1);
}

.mobile-nav-item {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.8rem;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-item i {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
  color: #00aaff;
  text-shadow: 0 0 6px rgba(0, 170, 255, 0.5);
  transition: all 0.3s ease;
  border: 1px solid #00aaff;
  padding: 5px;
  border-radius: 40px;
}

.mobile-nav-item span {
  font-size: 0.7rem;
  color: #e0e0e0;
  transition: color 0.3s ease;
}

/* ===== Hover / Tap Glow ===== */
.mobile-nav-item:hover i,
.mobile-nav-item:active i {
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 230, 255, 0.8),
               0 0 20px rgba(0, 200, 255, 0.6),
               0 0 40px rgba(0, 150, 255, 0.4);
  transform: scale(1.25);
}

.mobile-nav-item:hover span,
.mobile-nav-item:active span {
  color: #00e5ff;
}

/* ===== Active Link (Glow stays ON) ===== */
.mobile-nav-item.active i {
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 230, 255, 0.9),
               0 0 25px rgba(0, 200, 255, 0.7),
               0 0 45px rgba(0, 150, 255, 0.5);
  transform: scale(1.15);
}

.mobile-nav-item.active span {
  color: #00e5ff;
  font-weight: 600;
}

/* ===== MOBILE ONLY ===== */
@media (max-width: 768px) {
  body{
    padding-bottom: 0px;
  }

  .mobile-bottom-nav {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

 
}

/* ===== BACKGROUND ELEMENTS ===== */
.bg-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
}

.gradient-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #00aaff, transparent 70%);
  top: 20%;
  left: 10%;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #00ccff, transparent 70%);
  top: 60%;
  right: 20%;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #ff6b6b, transparent 70%);
  bottom: 20%;
  left: 60%;
}

#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(3rem, 15vw, 8rem);
  }

  .hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 2rem);
  }

  .hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.5rem, 18vw, 6rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 5vw, 1.5rem);
  }

  .hero-description {
    font-size: clamp(0.8rem, 3vw, 0.9rem);
  }

  .hero-scroll-indicator {
    bottom: 2rem;
  }

  .scroll-wheel {
    height: 40px;
  }

  .scroll-wheel::before {
    height: 15px;
  }
  .decent-in-logo{
  height: 50px;
  width: 50px;
}
.nav-container{
  padding: 0 9PX;
}

}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(10, 10, 10, 0.8) 0%,
      rgba(10, 10, 10, 0.4) 50%,
      rgba(10, 10, 10, 0.8) 100%);
}

.hero-content {
  text-align: center;
  z-index: 1;
}

.hero-text-wrapper {
  margin-bottom: 4rem;
}

.hero-title {
  font-size: clamp(6rem, 12vw, 25rem);
  font-weight: 900;
  line-height: 0.8;
  margin-bottom: 2rem;
  perspective: 1000px;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;

}

.hero-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100px) rotateX(90deg);
}

.hero-subtitle-wrapper {
  overflow: hidden;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 300;
  color: #00aaff;
  margin-bottom: 1rem;
  transform: translateY(100%);
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  transform: translateY(100%);
  /* font-family: 'IgnisEtGlaciesSharpBold', sans-serif; */
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.scroll-wheel {
  width: 2px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  position: relative;
}

.scroll-wheel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #00aaff;
  border-radius: 1px;
  animation: scrollIndicator 2s infinite;
}

@keyframes scrollIndicator {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(40px);
  }

  100% {
    transform: translateY(0);
  }
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: 200px;
  height: 200px;
  border: 1px solid #00aaff;
  top: 20%;
  right: 10%;
  animation: float1 6s infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  border: 1px solid #00ccff;
  bottom: 30%;
  left: 15%;
  animation: float2 8s infinite;
}

.shape-3 {
  width: 100px;
  height: 100px;
  border: 1px solid #ff6b6b;
  top: 60%;
  right: 30%;
  animation: float3 7s infinite;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-40px, -20px) rotate(180deg);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(20px, -40px) rotate(90deg);
  }

  75% {
    transform: translate(-30px, 10px) rotate(270deg);
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 10rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 100%);
}

.about-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;

}


.section-label {
  font-size: 0.875rem;
  color: #00aaff;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.about-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  margin-bottom: 3rem;
  overflow: hidden;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
}

.title-line {
  display: block;
  transform: translateY(100%);
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
}

.about-description {
  margin-bottom: 4rem;
  overflow: hidden;

}

.reveal-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  transform: translateY(100%);
}

.about-image-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.image-distortion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #00aaff, #00ccff);
  border-radius: 20px;
  transform: rotate(3deg);
  z-index: 1;
}

.profile-image {
  width: 100%;
  height: 500px;
  object-fit: contain;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  filter: bluescale(100%) contrast(1.2);
  transition: filter 0.5s ease;
}

.profile-image:hover {
  filter: grayscale(50%) contrast(1);
}

.image-frame {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid rgba(0, 119, 255, 0.3);
  border-radius: 25px;
  z-index: 0;
}

.skills-marquee {
  margin: 4rem 0;
  overflow: hidden;
  background: rgba(0, 255, 136, 0.05);
  border-radius: 50px;
  padding: 1rem 0;
}


.marquee-content {
  display: flex;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-content span {
  display: inline-block;
  padding: 0 2rem;
  font-weight: 500;
  color: #00aaff;
  min-width: max-content;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}


.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: #00aaff;
  line-height: 1;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1rem;
}

.about-text-section {
  width: 700px;
  padding: 10px;
}

.about-description {
  margin-top: 50px;
}

.about-description ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 0;
  margin-top: 25px;
}

.about-description ul li {
  background: #111;
  border: 1px solid #00aaff;
  color: #00aaff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 255, 136, 0.2);
}

.about-description ul li strong {
  color: #fff;
  font-weight: 600;
}

.about-description ul li:hover {
  background: #00aaff;
  color: #0b0b0b;
  transform: translateY(-3px);
  /* box-shadow: 0 0 12px #00aaff, 0 0 25px rgba(0, 255, 136, 0.5); */
  border-color: #00aaff;
}

/* ===== ABOUT SECTION RESPONSIVE ===== */
@media (max-width: 1200px) {
  .about-content {
    gap: 6rem;
  }

  .image-wrapper {
    max-width: 350px;
  }

  .profile-image {
    height: 450px;
  }
}

@media (max-width: 1024px) {
  .about {
    padding: 8rem 0;
  }

  .about-content {
    /* grid-template-columns: 1fr;
    gap: 5rem; */
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .about-image-section {
    order: -1;
  }

  .image-wrapper {
    max-width: 320px;
  }

  .profile-image {
    height: 400px;
  }

  .about-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
  }

  .reveal-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 6rem 0;
  }

  .about-container {
    padding: 0 1.5rem;
  }

  .about-content {
    gap: 4rem;
  }


  .about-text-section {
    width: 400px;
    padding: 15px;
  }

  .image-wrapper {
    max-width: 280px;
  }

  .profile-image {
    height: 350px;
  }

  .about-title {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 2.5rem;
  }

  .reveal-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .skills-marquee {
    margin: 3rem 0;
    padding: 0.8rem 0;
  }

  .marquee-content span {
    padding: 0 1.5rem;
    font-size: 0.9rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item {
    padding: 1.8rem 1rem;
  }

  .stat-number {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 4rem 0;
    /* display: none; */
  }

  .about-container {
    padding: 0 1rem;
  }

  .about-content {
    gap: 3rem;
  }

  .image-wrapper {
    max-width: 240px;
  }

  .profile-image {
    height: 300px;
  }

  .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.15rem;
    margin-bottom: 1.5rem;
  }

  .about-title {
    font-size: clamp(1.8rem, 10vw, 3rem);
    margin-bottom: 2rem;
  }

  .about-description {
    margin-bottom: 3rem;
    padding: 10px;
  }

  .reveal-text {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
  }

  .skills-marquee {
    margin: 2.5rem 0;
    padding: 0.6rem 0;
  }

  .marquee-content span {
    padding: 0 1rem;
    font-size: 0.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

}
/* ===== PROJECTS SECTION ===== */
.projects {
  /* padding: 10rem 0; */
  background: linear-gradient(135deg, #0d0d0d 0%, #0a0a0a 100%);
  overflow: hidden;
}

.projects-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 8rem;
}

.projects-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  overflow: hidden;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
}

.projects-grid {
  display: grid;
  gap: 4rem;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-item:nth-child(even) {
  direction: rtl;
}

.project-item:nth-child(even) .project-content {
  direction: ltr;
  text-align: right;
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16/10;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: bluescale(100%) contrast(1.2);
}

.project-item:hover .project-image {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00aaff, rgba(0, 204, 255, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-number {
  font-size: 4rem;
  font-weight: 900;
  color: white;
}

.project-content {
  padding: 2rem 0;
}

.project-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.project-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.project-tech {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.project-tech span {
  padding: 0.5rem 1rem;
  background: #025c89;
  border: 1px solid #00aaff;
  border-radius: 20px;
  font-size: 0.875rem;
  color: #00aaff;
}

.project-link {
  display: inline-block;
  color: #00aaff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.project-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #00aaff;
  transition: width 0.3s ease;
}

.project-link:hover::after {
  width: 100%;
}

@media (max-width: 480px) {
  .project-title {
    font-size: 1.3rem;
  }

  .project-description {
    font-size: 1rem;
  }
}

/* ----------------------- */
/* More Courses Carousel   */
/* ----------------------- */
.more-courses {
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.more-courses-header {
  text-align: center;
  margin-bottom: 60px;
}

.more-courses-title {
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
  font-size: 2.8rem;
  color: #00aaff;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 900;
  position: relative;
  display: inline-block;
}

.more-courses-title::after {
  content: '';
  width: 120px;
  height: 3px;
  background: #00aaff;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 170, 255, 0.6);
}

/* Carousel Wrapper (Each Carousel) */
.carousel-wrapper {
  position: relative;
  width: 90%;
  margin: 0 auto 80px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(145deg, #0b0b0b, #151515);
  box-shadow: inset 0 0 25px rgba(0, 170, 255, 0.15),
    0 0 30px rgba(0, 170, 255, 0.2);
  padding: 20px 0;
}

/* Carousel Container */
.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  gap: 20px;
  padding: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
}

.carousel-track::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

/* Course Card */
.course-card {
  flex: 0 0 auto;
  width: 320px;
  background: #0a0a0a;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(0, 170, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.15);
  padding: 10px;
}

.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.5);
}

.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid rgba(0, 170, 255, 0.3);
}

.course-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.course-card p {
  color: #bfbfbf;
  font-size: 0.95rem;
  margin: 0 15px 20px;
  line-height: 1.6;

}

/* View Details Button */
.view-details-btn {
  display: block;
  padding: 10px 15px;
  background: transparent;
  border: 1px solid #00aaff;
  border-radius: 25px;
  font-size: 0.9rem;
  color: #00aaff;
  cursor: pointer;
  width: calc(100% - 30px);
  margin: 0 auto 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-details-btn:hover {
  background: #00aaff;
  color: #000;
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.7);
}

/* Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 170, 255, 0.9);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 12px 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
  backdrop-filter: blur(5px);
}

.carousel-btn:hover {
  background: #00ccff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.8);
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

@media (max-width: 768px) {
  .course-card {
    width: 260px;
  }

  .carousel-btn {
    display: none;
  }
}

@media (max-width: 468px) {
  .carousel-btn {
    display: block;
    font-size: 1.3rem;
    padding: 10px 10px;
    opacity: 0.6;
  }

  .carousel-wrapper {
    width: 100%;
  }
}


/* WhatsApp Button - Perfect Circle */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-btn img {
  width: 32px;
  height: 32px;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}



/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 35px;
  z-index: 1000;
  background-color: #00aaff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
  background-color: #0088dd;
}
/* ===== FOOTER ===== */
.footer {
  padding: 2rem 0;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-container p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .project-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .project-item:nth-child(even) {
    direction: ltr;
  }

  .project-item:nth-child(even) .project-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-container {
    justify-content: center;
  }
  .nav-menu {
    display: none;
  }

  .nav-burger {
    display: none;
  }

  .hero-title {
    font-size: 13vw;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .projects-grid {
    gap: 2rem;
  }

  .project-item {
    padding: 2rem 0;
  }
  .whatsapp-btn {
    bottom: 85px;
    left: 25px;
  }
}
/* ===== Floating Chat Icon ===== */
.chat-icon {
  position: fixed;
  bottom: 130px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 170, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9998;
  overflow: visible;
}

.chat-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 170, 255, 0.5);
}

.chat-icon-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #00aaff;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  border: 3px solid white;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* ===== Chatbot Container ===== */
.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 420px;
  height: 650px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-container.show {
  display: flex;
}

.chatbot-container.minimize {
  height: 70px;
  overflow: hidden;
}

@keyframes slideUp {
  from {
    transform: translateY(50px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ===== Header ===== */
.chat-header {
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
  color: white;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.chat-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: headerGlow 8s linear infinite;
}

@keyframes headerGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.robot-icon {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #00aaff;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid white;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.header-info h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.3px;
}

.status-text {
  font-size: 12px;
  opacity: 0.9;
  display: block;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* ===== Chat Body ===== */
.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
  cursor: pointer;
}

.chat-body::-webkit-scrollbar {
  width: 6px;
}

.chat-body::-webkit-scrollbar-track {
  background: transparent;
}

.chat-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.chat-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Messages */
.message-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: messageSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-wrapper {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.bot-avatar {
  background: linear-gradient(135deg, #00aaff, #0088cc);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 170, 255, 0.3);
}

.user-avatar {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.message-content {
  display: flex;
  flex-direction: column;
  max-width: 75%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.user-wrapper .message-content {
  align-items: flex-end;
}

.bot-message,
.user-message {
  padding: 12px 16px;
  border-radius: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.5;
  font-size: 14px;
  position: relative;
  min-width: 0;
}

.bot-message {
  background: white;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bot-message p {
  margin: 0 0 8px 0;
}

.bot-message p:last-child {
  margin-bottom: 0;
}

.bot-message ul {
  margin: 8px 0;
  padding-left: 20px;
}

.bot-message li {
  margin: 4px 0;
}

.bot-message strong {
  color: #00aaff;
  font-weight: 600;
}

.user-message {
  background: linear-gradient(135deg, #00aaff, #0088cc);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 170, 255, 0.3);
}

.message-time {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
  padding: 0 4px;
}

/* Rich Message Styles */
.course-chat-card {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 14px;
  margin-top: 8px;
  border-left: 4px solid #00aaff;
}

.course-card h4 {
  color: #00aaff;
  margin-bottom: 8px;
  font-size: 15px;
}

.course-card p {
  color: #475569;
  font-size: 13px;
  margin: 4px 0;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}

.meta-item i {
  color: #00aaff;
  font-size: 14px;
}

.info-box {
  background: #dbeafe;
  border-left: 4px solid #3b82f6;
  padding: 12px;
  border-radius: 8px;
  margin-top: 8px;
}

.info-box.success {
  background: #d1fae5;
  border-left-color: #10b981;
}

.info-box.warning {
  background: #fef3c7;
  border-left-color: #f59e0b;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 4px;
}

.quick-action-label {
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chip {
  background: white;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chip:hover {
  background: #00aaff;
  color: white;
  border-color: #00aaff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 170, 255, 0.3);
}

.chip i {
  font-size: 16px;
}

/* Typing Indicator */
.typing-indicator {
  display: none;
  padding: 0 20px 10px;
  align-items: center;
  gap: 10px;
}

.typing-indicator.show {
  display: flex;
  animation: messageSlide 0.3s ease;
}

.typing-dots {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background: #94a3b8;
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

/* Chat Footer */
.chat-footer {
  padding: 16px 20px;
  background: white;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.attachment-btn,
.emoji-btn,
.voice-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 22px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
}

.attachment-btn:hover,
.emoji-btn:hover,
.voice-btn:hover {
  background: #f1f5f9;
  color: #00aaff;
  transform: scale(1.1);
}

.input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border-radius: 24px;
  padding: 0 14px;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.input-wrapper:focus-within {
  background: white;
  border-color: #0d0d0d;
  box-shadow: 0 0 0 4px rgba(0, 170, 255, 0.1);
}

.input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 8px;
  outline: none;
  font-size: 14px;
  color: #0f172a;
}

.input-wrapper input::placeholder {
  color: #94a3b8;
}


.send-btn {
  background: linear-gradient(135deg, #00aaff, #0088cc);
  border: none;
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 170, 255, 0.3);
}

.send-btn:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 6px 16px rgba(0, 170, 255, 0.4);
}

.send-btn:active {
  transform: scale(0.95);
}

.voice-btn.recording {
  color: #ef4444;
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0%, 100% {
    background: rgba(239, 68, 68, 0.1);
  }
  50% {
    background: rgba(239, 68, 68, 0.2);
  }
}


/* Powered By */
.powered-by {
  background: #f8fafc;
  padding: 8px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  border-top: 1px solid #e2e8f0;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 768px) {
  .chatbot-container {
    width: 380px;
    height: 600px;
    right: 20px;
    bottom: 20px;
  }

  .chat-icon {
    width: 60px;
    height: 60px;
    right: 20px;
    bottom: 85px;
  }

  .chat-icon-image {
    width: 35px;
    height: 35px;
  }
 #scrollTopBtn{
    bottom: 85px;
    right: 45%;
    
  } 
}

/* Mobile */
@media (max-width: 480px) {
  .chatbot-container {
    width: calc(100vw - 20px);
    height: calc(100vh - 100px);
    max-height: 90vh;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border-radius: 16px;
  }

  .chatbot-container.fullscreen {
    width: 100vw;
    height: 100vh;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 0;
  }

  .chat-icon {
    width: 60px;
    height: 60px;
    right: 15px;
    bottom: 85px;
  }

  .chat-icon-image {
    width: 30px;
    height: 30px;
  }

  .notification-badge {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .chat-header {
    padding: 14px 16px;
    flex-shrink: 0;
  }

  .robot-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .header-info h3 {
    font-size: 15px;
  }

  .status-text {
    font-size: 11px;
  }

  .chat-body {
    padding: 12px 12px;
    gap: 12px;
  }

  .message-wrapper {
    width: 100%;
  }

  .message-content {
    max-width: 82%;
  }

  .bot-message,
  .user-message {
    padding: 10px 12px;
    font-size: 13px;
    max-width: 100%;
  }

  .bot-message p {
    margin: 0 0 6px 0;
    font-size: 13px;
  }

  .bot-message ul {
    margin: 6px 0;
    padding-left: 18px;
  }

  .bot-message li {
    margin: 3px 0;
    font-size: 13px;
  }

  .course-card {
    padding: 10px 12px;
    margin-top: 6px;
  }

  .course-card h4 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .course-card p {
    font-size: 12px;
    margin: 3px 0;
  }

  .course-meta {
    gap: 12px;
  }

  .info-box {
    padding: 10px 12px;
    margin-top: 6px;
  }

  .info-box p {
    font-size: 12px;
    margin: 4px 0;
  }

  .quick-actions {
    gap: 6px;
  }

  .chip {
    padding: 6px 12px;
    font-size: 12px;
    flex: 1 1 calc(50% - 3px);
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .quick-action-label {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .typing-indicator {
    padding: 0 12px 8px;
  }

  .typing-dots {
    padding: 10px 12px;
  }

  .chat-footer {
    padding: 12px 12px;
    gap: 8px;
    flex-shrink: 0;
  }

  .attachment-btn,
  .emoji-btn,
  .voice-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
    flex-shrink: 0;
  }

  .send-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
    flex-shrink: 0;
  }

  .input-wrapper {
    padding: 0 10px;
  }

  .input-wrapper input {
    padding: 10px 6px;
    font-size: 13px;
  }

  .powered-by {
    padding: 6px;
    font-size: 10px;
    flex-shrink: 0;
  }
#scrollTopBtn{
  display: block;
  bottom: 85px;
  padding: 14px 23px;
  right: 43%;
  
}
}

/* Small Mobile */
@media (max-width: 360px) {
  .chat-header-left {
    gap: 8px;
  }

  .header-info h3 {
    font-size: 14px;
  }

  .status-text {
    display: none;
  }

  .message-content {
    max-width: 85%;
  }

  .chip {
    font-size: 11px;
    padding: 5px 10px;
    flex: 1 1 100%;
  }

  .chip span {
    display: inline;
  }

  .chip i {
    margin-right: 4px;
  }

  .bot-message,
  .user-message {
    font-size: 12px;
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .chatbot-container {
    height: calc(100vh - 60px);
  }
}
/* ===== SCROLL PROGRESS BAR BELOW NAVBAR ===== */
.scroll-progress {
  position: fixed;
  top: 80px; 
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #00aaff, #025c89);
  z-index: 2000;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  transition: width 0.2s ease-out;
}

/* --- theme variables --- */
.course-details{
  --bg: rgba(6,10,15,0.72);
  --panel: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  --accent: #00aaff;
  --accent-2: #6e7bff;
  --muted: #98a0b3;
  --card: rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.06);
  --glass-highlight: rgba(255,255,255,0.04);
  --radius: 18px;
  --gap: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  width: 100%;
  margin: 64px auto;
  padding: 28px;
  border-radius: var(--radius);
  color: #e6eef8;
  background: radial-gradient(1200px 400px at 10% 10%, rgba(60,90,255,0.06), transparent 6%),
              radial-gradient(1000px 300px at 90% 90%, rgba(61,220,255,0.03), transparent 8%),
              var(--bg);
  box-shadow:
    0 6px 30px rgba(2,6,23,0.7),
    inset 0 1px 0 rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.02);
  position: relative;
  overflow: visible;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}

/* subtle neon gradient border (pseudo element) */
.course-details::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  padding: 1px;
  background: linear-gradient(90deg, rgba(61,220,255,0.18), rgba(110,123,255,0.14));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  filter: blur(6px) saturate(120%);
  opacity: 0.9;
 }

/* content should sit above pseudo border */
.course-details > * { position: relative; z-index: 1; }

/* header */
.course-details h3{
  font-size: 1.55rem;
  margin: 6px 0 18px;
  color: var(--accent);
  letter-spacing: 0.2px;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  box-shadow: 0 6px 18px rgba(33,47,75,0.25);
  border-left: 4px solid rgba(61,220,255,0.22);
}

/* description paragraph fallback */
.course-details p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 72ch;
}

/* horizontal layout for top summary and actions */
.details-summary {
  display: flex;
  gap: var(--gap);
  align-items: start;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* summary card */
.details-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--glass-border);
  padding: 14px;
  border-radius: 12px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(2,6,23,0.6);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* small meta labels */
.meta-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* meta values */
.meta-value {
  font-size: 1rem;
  color: #dff6ff;
  font-weight: 600;
}

/* --- list container (What You'll Learn) --- */
.details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

/* each learning item card */
.details-list li {
  background: linear-gradient(180deg, rgba(255,255,255,0.014), rgba(255,255,255,0.008));
  border: 1px solid rgba(255,255,255,0.025);
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: transform 280ms cubic-bezier(.2,.9,.2,1), box-shadow 280ms;
  box-shadow: 0 6px 18px rgba(6,10,18,0.5);
  backdrop-filter: blur(6px);
}

/* icon pill */
.details-list li::before {
  content: "✓";
  min-width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  display: inline-grid;
  place-items: center;
  color: #021122;
  font-weight: 800;
  transform: translateY(0);
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(61,220,255,0.06), inset 0 -6px 14px rgba(0,0,0,0.15);
}

/* item text */
.details-list li span {
  display: block;
  font-size: 0.97rem;
  color: #e8f8ff;
  line-height: 1.4;
}

/* hover micro-interaction */
.details-list li:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 38px rgba(2,10,30,0.75);
}

/* --- Modules area --- */
.modules-container {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* module card style */
.module-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.016), rgba(255,255,255,0.006));
  border: 1px solid rgba(255,255,255,0.02);
  box-shadow: 0 8px 30px rgba(3,6,18,0.6);
 
  align-items: start;
}

/* vertical timeline decoration */
.module-item::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.85;
  transform-origin: center;
  box-shadow: 0 6px 18px rgba(61,220,255,0.06);
}

/* module header */
.module-item h4 {
  margin: 0 0 8px 28px; /* leave space for timeline */
  color: #ffffff;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

/* module meta / badge */
.module-meta {
  align-self: center;
  margin-left: 8px;
  white-space: nowrap;
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.02);
}

/* module bullets */
.module-item ul {
  margin: 0;
  padding-left: 38px;
  list-style: disc;
  color: #dbeeff;
  line-height: 1.6;
}
.module-item ul li {
  margin: 6px 0;
  font-size: 0.95rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* subtle animated accent bar on hover */
.module-item:hover::after {
  content: "";
  position: absolute;
  right: -60%;
  top: -30%;
  width: 260%;
  height: 200%;
  background: radial-gradient(600px 200px at 10% 10%, rgba(61,220,255,0.06), transparent 12%),
              radial-gradient(400px 160px at 90% 90%, rgba(110,123,255,0.05), transparent 10%);
  transform: rotate(10deg);
  opacity: 1;
  transition: opacity 360ms ease;
  pointer-events: none;
}

/* small interactive chevron for module (when JS accordion used) */
.module-toggle {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  border: 1px solid rgba(255,255,255,0.02);
  color: var(--muted);
  font-size: 0.95rem;
  cursor: pointer;
}
/* ⚡ Performance Optimization for Smooth Scrolling */
.modules-container,
.module-item {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* reduce heavy shadows slightly */
.module-item {
  box-shadow: 0 4px 18px rgba(3, 6, 18, 0.45);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.module-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(3, 6, 18, 0.55);
}
/* divider */
.course-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
  margin: 18px 0;
}

/* responsive tweaks */
@media (max-width: 980px) {
  .details-summary { flex-direction: column; align-items: stretch; }
  .module-item { grid-template-columns: 1fr; }
  .module-item h4 { margin-left: 12px; }
  .module-item::before { left: 8px; }
}

/* compact mobile */
@media (max-width: 520px) {
  .course-details { padding: 18px; margin: 30px 12px; border-radius: 12px; }
  .details-list { grid-template-columns: 1fr; gap: 10px; }
  .details-list li::before { min-width: 30px; height: 30px; font-size: 0.85rem; border-radius: 8px; }
  .modules-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .module-item { padding: 12px; }
  .module-item h4 { font-size: 1rem; }
 
}

/* custom scrollbar inside course-details if content overflows */
.course-details::-webkit-scrollbar {
  height: 10px; width: 8px;
}
.course-details::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(110,123,255,0.3), rgba(61,220,255,0.3));
  border-radius: 999px;
  border: 2px solid rgba(6,10,15,0.72);
}
/* ===== SCROLL PROGRESS BAR BELOW NAVBAR ===== */
.scroll-progress {
  position: fixed;
  top: 80px; 
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #00aaff, #025c89);
  z-index: 2000;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  transition: width 0.2s ease-out;
}
