/* ===== 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);
  }
}

/* ===== TRANSITION SECTION ===== */
.transition-section {
  /* height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
}

.morphing-text {
  font-size: clamp(3rem, 8vw, 10rem);
  font-weight: 900;
  position: relative;
  perspective: 1000px;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
}

.morph-word {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(45deg, #00aaff, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: rotateY(90deg) scale(0.8);
}

.morph-word.active {
  opacity: 1;
  visibility: visible;
  transform: rotateY(0deg) scale(1);
}


/* ===== 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: cover;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  filter: grayscale(10%) contrast(1.2);
  transition: filter 0.5s ease;
}

.profile-image:hover {
  filter: grayscale(0%) 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, 221, 255, 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;
}
.stat-symbol {
  font-size: 2rem;
  color: #00aaff;
  font-weight: 700;
  margin-left: 4px;
}
.job-assistance{
  display: flex;
}



/* ===== 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;
  }

}

/* ===== TRANSITION SECTION RESPONSIVE ===== */
@media (max-width: 768px) {
  .transition-section {
    height: 80vh;
  }

  .morphing-text {
    font-size: clamp(2.5rem, 12vw, 8rem);
    height: 150px;
  }
}

@media (max-width: 480px) {
  .transition-section {
    height: 60vh;
  }

  .morphing-text {
    font-size: clamp(2rem, 15vw, 6rem);
    height: 120px;
  }
}

/* ===== 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;
}


.reviews-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #121212 100%);
  padding: 60px 20px;
  width: 100%;
  margin: auto;
}

.reviews-section h2 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 25px;
  color: #2196f3;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
}

/* ====== FILTER BUTTONS ====== */
.review-filters {
  text-align: center;
  margin-bottom: 35px;
}

.filter-btn {
  background: #1a1a1a;
  color: #90caf9;
  border: 1px solid #2196f3;
  padding: 8px 20px;
  margin: 4px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 15px;
}

.filter-btn:hover,
.filter-btn.active {
  background: #2196f3;
  color: #fff;
  transform: scale(1.05);
}

/* ====== GRID LAYOUT ====== */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  justify-items: center;
  align-items: start;
}

/* ====== REVIEW CARD ====== */
.review-card {
  background: rgba(0, 170, 255, 0.08);
  /* transparent blue glass */
  border: 1.5px solid rgba(0, 170, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 170, 255, 0.15);
  padding: 22px;
  width: 100%;
  max-width: 420px;
  color: #fff;
  height: 300px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.45s ease;
  transform-style: preserve-3d;
}

/* animated glowing border sweep */
.review-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg,
      transparent 0deg,
      rgba(0, 170, 255, 0.4) 90deg,
      transparent 180deg,
      rgba(0, 170, 255, 0.4) 270deg,
      transparent 360deg);
  animation: rotateGlow 6s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* gradient light sweep */
.review-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(0, 170, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: all 0.8s ease;
  opacity: 0;
}

/* Hover effects */
.review-card:hover {
  transform: translateY(-10px) rotate3d(1, 1, 0, 8deg) scale(1.04);
  border-color: rgba(0, 170, 255, 0.7);
  box-shadow: 0 10px 30px rgba(0, 170, 255, 0.5);
}

/* On hover, activate animations */
.review-card:hover::before {
  opacity: 1;
}

.review-card:hover::after {
  left: 120%;
  opacity: 1;
}

/* text stays clean */
.review-card * {
  position: relative;
  z-index: 1;
}


.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.avatar {
  background: linear-gradient(135deg, #2196f3, #64b5f6);
  color: #fff;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  margin-right: 12px;
  box-shadow: 0 2px 6px rgba(33, 150, 243, 0.3);
}

.review-info h4 {
  margin: 0;
  font-size: 17px;
  color: #ffffff;
  font-weight: 600;
}

.review-info p {
  margin: 2px 0 0;
  color: #ffffff;
  font-size: 13px;
}

.review-body p {
  font-size: 15px;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 10px;
}

.owner-reply {
  display: block;
  background: #e3f2fd;
  border-left: 3px solid #2196f3;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  margin-top: 6px;
  color: #0d47a1;
}

/* ====== PAGINATION ====== */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 10px;
}

.pagination button {
  background: #1a1a1a;
  color: #90caf9;
  border: 1px solid #2196f3;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.pagination button.active,
.pagination button:hover {
  background: #2196f3;
  color: #fff;
  transform: scale(1.05);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 10rem 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 100%);
  overflow: hidden;
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

.contact-title {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-family: 'IgnisEtGlaciesSharpBold', sans-serif;
}

.contact-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 4rem;
}

.contact-details {
  margin-bottom: 4rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-icon {
  font-size: 1.25rem;
}

.social-links {
  display: flex;
  gap: 2rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #00aaff;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.5rem 0 0.5rem 0;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group label {
  position: absolute;
  left: 0;
  top: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus+label,
.form-group input:valid+label,
.form-group textarea:focus+label,
.form-group textarea:valid+label {
  top: 0;
  font-size: 0.75rem;
  color: #00aaff;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.form-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #00aaff;
  transition: width 0.3s ease;
}

.form-group input:focus~.form-line::after,
.form-group textarea:focus~.form-line::after {
  width: 100%;
}

.submit-btn {
  position: relative;
  padding: 1.5rem 3rem;
  background: transparent;
  border: 1px solid #00aaff;
  border-radius: 50px;
  color: #00aaff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
}

.submit-btn:hover {
  color: #000;
}

.btn-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #00aaff;
  transition: left 0.3s ease;
  z-index: -1;
}

.submit-btn:hover .btn-bg {
  left: 0;
}

/* ===== 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;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }
  .whatsapp-btn {
    bottom: 85px;
    left: 25px;
  }
}

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

/* ===== 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: 450px;
  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;
  list-style-type: none;
}

.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: 55px;
    height: 55px;
    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) {
   .BTN-EAS{
    display: flex;
    justify-content: space-between;
    
  }
  .chatbot-container {
    height: calc(100vh - 60px);
  }
 
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff; 
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #00aaff;
}

.contact-icon i {
  font-size: 1.2rem;
  color: #00aaff;
}
/* ===== 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;
}
/* Advertisement Banner */
.ad-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  color: #fff;
  width: 340px;
  max-width: 90%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  padding: 20px 25px;
  z-index: 9999;
  display: none;
  animation: fadeIn 0.8s ease forwards;
}

.ad-banner.show {
  display: block;
}

.close-ad {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.close-ad:hover {
  color: #fff;
}

.ad-content h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #00aaff;
  font-weight: 600;
}

.ad-content p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #ccc;
}

.ad-btn {
  display: inline-block;
  background: #00aaff;
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.ad-btn:hover {
  background: #00c4cc;
}

.ad-contact {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #bbb;
}

.ad-contact i {
  color: #00aaff;
  margin-right: 5px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px){
  .ad-banner{
    bottom: 85PX;
  }
}