/* ================= GLOBAL ================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height, 80px); /* ensure anchored sections appear below fixed navbar */
  overflow-x: hidden;
}

/* Prevent horizontal scroll across the site */
body {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Hide body scroll while loader is visible */
body.loader-active {
  overflow-y: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ================= NAVBAR ================= */
/* NAVBAR STYLING */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11.5px 35px;

  /* Pure glass - reduced blur for better performance */
  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}


/* Scroll effect: add shadow & color change */
.navbar.scrolled {
  background: linear-gradient(135deg, #9166ee, #e785d4, #e15353); /* colorful gradient */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  padding: 7px 30px;
  will-change: background, box-shadow;
}


/* Logo */
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  animation: logoBounce 1s ease infinite alternate;
  text-decoration: none;
}

/* Navbar links */
.navbar nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover effect with color and underline */
.navbar nav a:hover {
  color: #ffeb3b; /* bright yellow hover */
}

.navbar nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  left: 0;
  bottom: -5px;
  background: #ffeb3b; /* underline color */
  transition: 0.3s;
}

.navbar nav a:hover::after,
.navbar nav a.active::after {
  width: 100%;
}

/* Media query for mobile nav spacing */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 20px;
  }
  .navbar nav a {
    margin: 0 10px;
  }
}

/* Logo + text */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;           
}

.logo img {
  height: 38px;       
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}
/* Logo micro animation - optimized for performance */
.logo img {
  transition: transform 0.3s ease, filter 0.3s ease;
  will-change: transform, filter;
}

.navbar:hover .logo img {
  transform: rotate(-3deg) scale(1.06);
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.6));
}

/* Navigation links */
.navbar nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

.navbar nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.2s ease;
}

/* Hover underline effect */
.navbar nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #ffffff;
  transition: width 0.3s;
  will-change: width;
}

.navbar nav a:hover::after {
  width: 100%;
}

.navbar nav a:hover {
  color: #ffeb3b;
}

/* Active link */
.navbar nav a.active {
  color: #ffeb3b;
}

/* ================= NAVBAR PREMIUM GLOW - OPTIMIZED ================= */
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.1),
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.1)
  );
  pointer-events: none;
  opacity: 0.5;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: -6px;
  width: 80%;
  height: 6px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent
  );
  filter: blur(4px);
  opacity: 0.4;
}

/* ================= NAVBAR LINK MICRO-INTERACTION - OPTIMIZED ================= */
.navbar nav a {
  transition: transform 0.2s ease, color 0.2s ease;
}

.navbar nav a:hover {
  transform: translateY(-1px);
  text-shadow: 0 0 12px rgba(255,255,255,0.85);
}

/* ================= ACTIVE LINK GLOW ================= */
.navbar nav a.active::after {
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    #fff570,
    #ffffff,
    #fff570
  );
  box-shadow: 0 0 12px rgba(255,255,255,0.9);
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
}

/* Hero Box */
.hero-box {
  background-color: rgba(255, 255, 255, 0.7);
  width: 600px;
  height: 362px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
  opacity: 1;
  z-index: 3;
  position: absolute;
  left: 1cm;
  top: 4cm;
  transform: translateX(0);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

@keyframes heroFadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-50%) translateX(-100px);
  }
  25% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
  75% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) translateX(-100px);
  }
}

/* Hero Logo */
.hero-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Hero Text Container */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hero Title */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 20px 0;
  font-family: 'Cinzel', serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: textReveal 2s ease-out forwards;
  opacity: 0;
  transform: translateX(-50px);
}

@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  50% {
    opacity: 0.5;
    transform: translateX(-25px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Tagline */
.hero-tagline {
  font-size: 1.2rem;
  color: #000;
  margin: 10px 0 20px 0;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.5px;
  animation: textReveal 2.5s ease-out forwards;
  opacity: 0;
  transform: translateX(-50px);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #000;
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Button */
.hero-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: inline-block;
  background: #ff2222;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 15px 30px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(120, 115, 245, 0.3);
  animation: pulseGlow 2s ease-in-out infinite, floatButton 2s ease-in-out infinite;
  opacity: 1;
  transform: none;
  z-index: 1000;
}



@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(120, 115, 245, 0.3);
  }
  50% {
    box-shadow: 0 8px 35px rgba(120, 115, 245, 0.6);
  }
}

@keyframes floatButton {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.hero-button:hover {
  animation: bubble 0.8s ease-in-out infinite;
}

@keyframes bubble {
  0%, 100% {
    transform: translateY(-2px) scale(1.05);
  }
  50% {
    transform: translateY(-5px) scale(1.08);
  }
}

/* Responsive adjustments for Hero Section */
@media (max-width: 1024px) {
  .hero-box {
    width: 70%;
    height: 350px;
    left: 2cm;
    top: 50%;
    transform: translateY(-50%) translateX(-100px);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-tagline {
    font-size: 1.1rem;
  }
  .hero-button {
    font-size: 1.25rem;
    padding: 12px 28px;
  }
  .hero-image img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .hero-box {
    width: 95%;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-tagline {
    font-size: 1rem;
    padding: 12px;
  }
  .hero-button {
    position: static;
    margin-top: 20px;
    font-size: 1rem;
    padding: 12px 30px;
  }
  .hero-image img {
    width: 120px;
    height: 120px;
  }
  .scrolling-text span {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero-box {
    width: 90%;
    height: auto;
    padding: 15px;
  }
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-tagline {
    font-size: 0.8rem;
  }
  .hero-button {
    font-size: 0.8rem;
    padding: 10px 30px;
  }
  .hero-image img {
    width: 120px;
    height: 120px;
  }
  .scrolling-text span {
    font-size: 16px;
  }
}

/* ================= SLIDESHOW ================= */
.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center -40px;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Scrolling 3D Text Background */
.scrolling-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transform-style: preserve-3d;
}

.scrolling-text span {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  animation: scrollText 20s linear infinite;
  transform: rotateX(10deg) rotateY(5deg);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes scrollText {
  0% {
    transform: translateX(100%) rotateX(10deg) rotateY(5deg);
  }
  100% {
    transform: translateX(-100%) rotateX(10deg) rotateY(5deg);
  }
}

/* Central Image */
.hero-image {
  position: relative;
  z-index: 2;
  animation: imageFloat 5s ease-in-out infinite;
}

.hero-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.1) rotateY(10deg);
}

@keyframes imageFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ================= ABOUT ================= */
.about {
  padding: 90px 60px 52px;
   background: linear-gradient(140deg, #ffffff 50%, #ffffff 50%);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
  text-align: center;
  transform: translateX(-100px) scale(0.9);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.about.visible .about-image {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-content {
  flex: 1;
  text-align: left;
  transform: translateX(100px) scale(0.9);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.about.visible .about-content {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.about-content h2 {
  font-size: 36px;
  color: #000000;
  margin-bottom: 30px;
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff6ec4, #7873f5);
  border-radius: 2px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

/* Responsive Design for About Section */
@media (max-width: 1024px) {
  .about {
    padding: 80px 40px 40px;
  }

  .about-content h2 {
    font-size: 32px;
  }

  .about-content p {
    font-size: 17px;
  }

  .about-image img {
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 60px 20px 30px;
  }

  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-content {
    text-align: center;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-content p {
    font-size: 16px;
  }

  .about-image img {
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 50px 15px 20px;
  }

  .about-content h2 {
    font-size: 24px;
  }

  .about-content p {
    font-size: 14px;
  }

  .about-image img {
    max-width: 100%;
  }
}

/* ================= SERVICES ================= */
/* Services Section */
.services {
  padding: 80px 20px 42px;
  background: linear-gradient(140deg, #ffffff 50%, #ffffff 50%);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services.visible {
  opacity: 1;
  transform: translateY(0);
}

.services .section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #333;
  text-transform: uppercase;
  text-align: center;
  position: relative;
}

.services .section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff6ec4, #7873f5, #42e695, #ffeb3b, #007bff);
  border-radius: 2px;
}

.services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Modern Card Styles */
.service-card {
  border: 2px solid #555;
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 1;
  animation: cardFadeIn 0.8s ease forwards;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

/* Assign light pastel colors to each service card */
.service-card:nth-child(1) {
  background: #e3f2fd; /* Light blue for Web Development */
}

.service-card:nth-child(2) {
  background: #f3e5f5; /* Light purple for UI/UX Design */
}

.service-card:nth-child(3) {
  background: #e8f5e8; /* Light green for App Development */
}

.service-card:nth-child(4) {
  background: #fff3e0; /* Light orange for Graphic Designing */
}

.service-card:nth-child(5) {
  background: #fce4ec; /* Light pink for Digital Marketing */
}

.service-card:nth-child(6) {
  background: #e0f2f1; /* Light cyan for SEO Optimization */
}

.service-card:nth-child(7) {
  background: #fffde7; /* Light yellow for 24/7 Helpline */
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #28a745);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

@keyframes pulse {
  0% { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); }
  50% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
  100% { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); }
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.4);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.service-title-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-title-link:hover {
  text-decoration-color: black;
}

.service-title-link:hover {
  color: #007bff;
}

.service-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .services .section-heading {
    font-size: 2rem;
  }

  .services .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .service-card {
    padding: 25px 20px;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px) {
  .services {
    padding: 70px 20px 35px;
  }

  .services .section-heading {
    font-size: 2.3rem;
  }

  .services .services-grid {
    gap: 25px;
  }

  .service-card {
    padding: 28px 22px;
  }

  .service-icon {
    font-size: 2.8rem;
  }

  .service-title {
    font-size: 1.4rem;
  }

  .service-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .services .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 20px 15px;
  }

  .service-icon {
    font-size: 2rem;
  }

  .service-title {
    font-size: 1.2rem;
  }

  .service-description {
    font-size: 0.85rem;
  }
}

/* ================= PARTICLE ANIMATION ================= */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #ff6ec4, #7873f5);
  border-radius: 50%;
  pointer-events: none;
  animation: particleBurst 1s ease-out forwards;
  z-index: 1000;
}

@keyframes particleBurst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(0);
  }
}

/* Saffron glow animation for navbar */
@keyframes saffronGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 153, 51, 0.6);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 153, 51, 0.9), 0 0 40px rgba(255, 153, 51, 0.5);
  }
}

/* Blue glow animation for navbar */
@keyframes blueGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.9), 0 0 40px rgba(0, 123, 255, 0.5);
  }
}

/* =================== STATS =================== */
/* Stats Section */
.stats {
  padding: 80px 20px 4.4px;
  background: linear-gradient(140deg, #ffffff 50%, #ffffff 50%);
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stats.visible {
  opacity: 1;
  transform: translateY(0);
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(200,200,200,0.05);
  opacity: 0.2;
  z-index: 0;
}

.stats .section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #555;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.stats .section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff6ec4, #7873f5, #42e695, #ffeb3b, #007bff);
  border-radius: 2px;
}

.stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stats .stat-box {
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 35px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid #555;
}

/* Assign light pastel colors to each stat box */
.stats .stat-box:nth-child(1) {
  background: #e3f2fd; /* Light blue */
}

.stats .stat-box:nth-child(2) {
  background: #f3e5f5; /* Light purple */
}

.stats .stat-box:nth-child(3) {
  background: #e8f5e8; /* Light green */
}

.stats .stat-box:nth-child(4) {
  background: #fff3e0; /* Light orange */
}

.stats .stat-box:nth-child(5) {
  background: #fce4ec; /* Light pink */
}

.stats .stat-box:nth-child(6) {
  background: #e0f2f1; /* Light cyan */
}

.stats .stat-box:nth-child(7) {
  background: #fffde7; /* Light yellow */
}

.stats .stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200,200,200,0.1), transparent);
  transition: left 0.4s;
}

.stats .stat-box:hover::before {
  left: 100%;
}

.stats .stat-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(150, 150, 150, 0.3);
}

.stats .stat-icon {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  color: #666;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 35px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats .stat-box:hover .stat-icon {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
}

.stat-fill {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #333;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.stat-fill::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #ccc, #aaa);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.stats .stat-box:hover .stat-fill::after {
  width: 80%;
}

.stats .stat-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .stats {
    padding: 60px 20px;
  }

  .stats .section-heading {
    font-size: 2rem;
  }

  .stats .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .stats .stat-box {
    padding: 25px 20px;
  }

  .stat-fill {
    font-size: 2rem;
  }

  .stats .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .stats .stat-title {
    font-size: 1.2rem;
  }
}

/* ================= PORTFOLIO ================= */
.portfolio {
  padding: 28px 60px 102px;
  margin: 0 0 -2cm 0;
   background: linear-gradient(140deg, #ffffff 50%, #ffffff 50%);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= PORTFOLIO DETAIL ================= */
.portfolio-detail {
  padding: 80px 20px;
  background: linear-gradient(135deg, #ffffff 50%, #ffffff 50%);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-detail.visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-detail .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.portfolio-detail h1 {
  font-size: 3rem;
  color: #333;
  margin-bottom: 40px;
  position: relative;
  animation: titleFadeIn 1s ease-out;
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-detail img {
  max-height: 200px;
  width: auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  animation: imageSlideIn 1.2s ease-out;
  margin-bottom: 40px;
}

@keyframes imageSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.portfolio-detail img:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1) saturate(1.2);
}

.portfolio-detail .intro-section,
.portfolio-detail .benefits-section,
.portfolio-detail .technologies-section {
  margin-bottom: 60px;
  animation: sectionFadeIn 1s ease-out forwards;
  opacity: 0;
}

.portfolio-detail .intro-section { animation-delay: 0.3s; }
.portfolio-detail .benefits-section { animation-delay: 0.6s; }
.portfolio-detail .technologies-section { animation-delay: 0.9s; }

@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-detail h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
  position: relative;
}

.portfolio-detail h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff6ec4, #7873f5);
  border-radius: 2px;
}

.portfolio-detail p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #666;
  max-width: 800px;
  margin: 0 auto 20px;
}

.portfolio-detail .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.portfolio-detail .benefit-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  animation: cardBounceIn 0.8s ease-out forwards;
  opacity: 0;
}

.portfolio-detail .benefit-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-detail .benefit-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-detail .benefit-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-detail .benefit-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-detail .benefit-card:nth-child(5) { animation-delay: 0.5s; }
.portfolio-detail .benefit-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardBounceIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.portfolio-detail .benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.portfolio-detail .benefit-card i {
  font-size: 3rem;
  color: #ff6ec4;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.portfolio-detail .benefit-card:hover i {
  transform: scale(1.2) rotate(10deg);
}

.portfolio-detail .benefit-card h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}

.portfolio-detail .benefit-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.portfolio-detail .tech-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.portfolio-detail .tech-item {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  animation: techFadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.portfolio-detail .tech-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-detail .tech-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-detail .tech-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-detail .tech-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-detail .tech-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-detail .tech-item:nth-child(6) { animation-delay: 0.6s; }
.portfolio-detail .tech-item:nth-child(7) { animation-delay: 0.7s; }
.portfolio-detail .tech-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes techFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-detail .tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-detail .tech-item i {
  font-size: 2.5rem;
  color: #7873f5;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.portfolio-detail .tech-item:hover i {
  transform: scale(1.1) rotate(5deg);
}

.portfolio-detail .tech-item span {
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
}

.portfolio-detail .back-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 15px 30px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 110, 196, 0.3);
  animation: btnFloat 2s ease-in-out infinite;
}

@keyframes btnFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.portfolio-detail .back-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(255, 110, 196, 0.4);
}

/* Responsive Design for Portfolio Detail */
@media (max-width: 768px) {
  .portfolio-detail {
    padding: 60px 20px;
  }

  .portfolio-detail h1 {
    font-size: 2.5rem;
  }

  .portfolio-detail img {
    max-height: 250px;
  }

  .portfolio-detail h2 {
    font-size: 2rem;
  }

  .portfolio-detail .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-detail .benefit-card {
    padding: 25px 20px;
  }

  .portfolio-detail .tech-list {
    gap: 15px;
  }

  .portfolio-detail .tech-item {
    padding: 15px;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  justify-items: center;
  perspective: 1000px;
}

/* Modern Portfolio Link */
.portfolio-link {
  text-decoration: none;
  height: 100%;
}

/* Responsive Portfolio Grid */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .portfolio {
    padding: 60px 20px 12;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-box {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    gap: 15px;
  }

  .portfolio-box {
    max-width: 100%;
  }
}

.portfolio h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.8rem;
  color: #090909;
  font-weight: 700;
  position: relative;
  letter-spacing: 0.5px;
}

.portfolio h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.portfolio-box {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 400px;
  border-radius: 25px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid rgba(229, 231, 235, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 30px 30px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.06);
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .portfolio-box {
    max-width: 100%;
    height: auto;
    min-height: 350px;
    padding: 30px 20px;
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .portfolio-box {
    min-height: 340px;
    padding: 25px 15px 20px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09), 0 4px 12px rgba(0, 0, 0, 0.05);
  }
}

@media (max-width: 480px) {
  .portfolio-box {
    min-height: 320px;
    padding: 20px 12px 15px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.04);
  }

  .portfolio-box:hover {
    transform: translateY(-12px) scale(1.02);
  }
}

@media (max-width: 768px) {
  .portfolio-box {
    max-width: 100%;
    height: auto;
    min-height: 350px;
    padding: 30px 20px;
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .portfolio-box {
    min-height: 340px;
    padding: 25px 15px 20px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09), 0 4px 12px rgba(0, 0, 0, 0.05);
  }
}

@media (max-width: 480px) {
  .portfolio-box {
    min-height: 320px;
    padding: 20px 12px 15px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.04);
  }

  .portfolio-box:hover {
    transform: translateY(-12px) scale(1.02);
  }
}

/* Unique background colors for each card */
.portfolio-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.portfolio-link:nth-child(1) .portfolio-box::before {
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.portfolio-link:nth-child(2) .portfolio-box::before {
  background: linear-gradient(90deg, #22c55e, #10b981);
}

.portfolio-link:nth-child(3) .portfolio-box::before {
  background: linear-gradient(90deg, #14b8a6, #06b6d4);
}

.portfolio-link:nth-child(4) .portfolio-box::before {
  background: linear-gradient(90deg, #d97706, #f97316);
}

.portfolio-link:nth-child(5) .portfolio-box::before {
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
}

.portfolio-link:nth-child(6) .portfolio-box::before {
  background: linear-gradient(90deg, #475569, #4f46e5);
}

.portfolio-link:nth-child(7) .portfolio-box::before {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
}

.portfolio-box:hover::before {
  transform: scaleX(1);
}

.portfolio-icon {
  font-size: 4.5rem;
  margin-bottom: 20px;
  height: 90px;
  width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.portfolio-link:nth-child(1) .portfolio-icon {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #0284c7;
}

.portfolio-link:nth-child(2) .portfolio-icon {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #16a34a;
}

.portfolio-link:nth-child(3) .portfolio-icon {
  background: linear-gradient(135deg, #ccfbf1, #99f6e4);
  color: #0d9488;
}

.portfolio-link:nth-child(4) .portfolio-icon {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
}

.portfolio-link:nth-child(5) .portfolio-icon {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  color: #a855f7;
}

.portfolio-link:nth-child(6) .portfolio-icon {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  color: #475569;
}

.portfolio-link:nth-child(7) .portfolio-icon {
  background: linear-gradient(135deg, #f9fafb, #e5e7eb);
  color: #374151;
}

.portfolio-icon i {
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.portfolio-box:hover .portfolio-icon {
  transform: scale(1.25) rotateY(360deg);
}

.portfolio-box:hover .portfolio-icon i {
  animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Portfolio Content */
.portfolio-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.5s ease;
  width: 100%;
}

.portfolio-badge {
  display: inline-block;
  padding: 7px 16px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  color: #0284c7;
  border-radius: 22px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
  transition: all 0.6s ease;
}

.portfolio-link:nth-child(2) .portfolio-badge {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #16a34a;
}

.portfolio-link:nth-child(3) .portfolio-badge {
  background: linear-gradient(135deg, #ccfbf1, #99f6e4);
  color: #0d9488;
}

.portfolio-link:nth-child(4) .portfolio-badge {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
}

.portfolio-link:nth-child(5) .portfolio-badge {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  color: #a855f7;
}

.portfolio-link:nth-child(6) .portfolio-badge {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  color: #475569;
}

.portfolio-box:hover .portfolio-badge {
  transform: scale(1.1);
}

.portfolio-content h3 {
  margin: 12px 0 14px;
  font-size: 1.5rem;
  color: #1f2937;
  font-weight: 700;
  transition: all 0.6s ease;
  letter-spacing: -0.5px;
}

.portfolio-box:hover .portfolio-content h3 {
  color: #0284c7;
}

.portfolio-box:nth-child(2):hover .portfolio-content h3 {
  color: #16a34a;
}

.portfolio-content p {
  font-size: 0.95rem;
  margin: 0 0 20px;
  color: #6b7280;
  line-height: 1.6;
  transition: all 0.6s ease;
  min-height: 48px;
}

.portfolio-box:hover .portfolio-content p {
  color: #374151;
}

/* Portfolio Meta Tags */
.portfolio-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.meta-item {
  font-size: 0.85rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.5s ease;
}

.meta-item i {
  font-size: 0.9rem;
}

.portfolio-box:hover .meta-item {
  color: #6b7280;
}

/* Portfolio Arrow */
.portfolio-arrow {
  position: absolute;
  bottom: 20px;
  right: 25px;
  font-size: 1.5rem;
  opacity: 0;
  transform: translateX(10px) translateY(10px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.portfolio-link:nth-child(1) .portfolio-arrow {
  color: #0284c7;
}

.portfolio-link:nth-child(2) .portfolio-arrow {
  color: #16a34a;
}

.portfolio-link:nth-child(3) .portfolio-arrow {
  color: #0d9488;
}

.portfolio-link:nth-child(4) .portfolio-arrow {
  color: #b45309;
}

.portfolio-link:nth-child(5) .portfolio-arrow {
  color: #a855f7;
}

.portfolio-link:nth-child(6) .portfolio-arrow {
  color: #475569;
}

/* Hover Effects */
.portfolio-box:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.18), 0 15px 35px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

.portfolio-box:hover .portfolio-arrow {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Scroll reveal animation */
.portfolio-box.reveal {
  animation: portfolioReveal 0.6s ease forwards;
}

@keyframes portfolioReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ================= STUDENTS ================= */
.students {
  padding: 100px 60px 81px 60px;
   background: linear-gradient(135deg, #ffffff 50%, #ffffff 50%);
  color: #333;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.students.visible {
  opacity: 1;
  transform: translateY(0);
}

.students .container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.students-content {
  flex: 1;
  text-align: left;
}

.students-content h2 {
  font-size: 36px;
  color: #000000;
  margin-bottom: 30px;
  position: relative;
}

.students-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #28a745);
  border-radius: 2px;
}

.students-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 30px;
}

.students-btn {
  display: inline-block;
  background: linear-gradient(45deg, #ff6ec4, #7873f5);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 15px 35px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 110, 196, 0.3);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.students-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.students-btn:hover::before {
  left: 100%;
}

@keyframes bubble {
  0%, 100% {
    transform: translateY(-3px) scale(1.1);
  }
  50% {
    transform: translateY(-5px) scale(1.15);
  }
}

.students-btn:hover {
  animation: bubble 0.8s ease-in-out infinite;
  box-shadow: 0 12px 35px rgba(255, 110, 196, 0.4);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.students-image {
  flex: 1;
  text-align: center;
}

.students-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.students-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1) saturate(1.2);
}

/* Responsive Design for Students Section */
@media (max-width: 768px) {
  .students .container {
    flex-direction: column;
    gap: 30px;
  }

  .students-content {
    text-align: center;
  }

  .students-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .students-image img:hover {
    transform: scale(1.02) rotate(1deg);
  }
}

.navbar nav a:hover {
  color: #ffeb3b; /* Bright yellow hover color */
}

/* ================= JOIN US ================= */
.join-us {
  padding: 120px 20px;
  background: linear-gradient(135deg, #ffffff 50%, #ffffff 50%);
  color: #333;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.join-us.visible {
  opacity: 1;
  transform: translateY(0);
}

.join-us .container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.join-us-image {
  flex: 1;
  text-align: center;
  animation: fadeInLeft 1s ease-out;
  order: 1; /* Image on the left */
}

.join-us-content {
  flex: 1;
  text-align: center; /* Center the content */
  animation: fadeInRight 1s ease-out;
  order: 2; /* Content on the right */
}

.join-us-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-top: -0.5cm;
  margin-bottom: 1.7cm;
  color: #333;
  position: relative;
  text-align: center;
  white-space: normal;
}

.join-us-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff6ec4, #7873f5, #42e695);
  border-radius: 2px;
}

.btn-join-us {
  display: block;
  margin: 0 auto;
}

.join-us-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.btn-join-us {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(45deg, #ff6ec4, #7873f5);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 110, 196, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-join-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-join-us:hover::before {
  left: 100%;
}

.btn-join-us:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 110, 196, 0.4);
}

.join-us-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.join-us-image img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1) saturate(1.2);
}

/* Floating animation for eye-catching effect */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.join-us-image img {
  animation: float 6s ease-in-out infinite;
}

/* Fade-in animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .join-us {
    padding: 60px 20px;
  }

  .join-us .container {
    flex-direction: column;
    gap: 40px;
  }

  .join-us-content h2 {
    font-size: 36px;
    text-align: center;
  }

  .join-us-content h2::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .join-us-content {
    text-align: center;
  }

  .join-us-image img:hover {
    transform: scale(1.03) rotate(1deg);
  }
}


/* ================= CONTACT ================= */
/* Contact Section Styling */
.contact {
  padding: 60px 5vw;  /* Same reduced padding on sides */
   background: linear-gradient(135deg, #ffffff 50%, #ffffff 50%);
  color: #333;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-heading {
  font-size: 2.5rem;
  margin-bottom: 1.5cm;
  color: #333;
  position: relative;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff6ec4, #7873f5, #42e695, #ffeb3b, #007bff);
  border-radius: 2px;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 30px;
}

.contact-item {
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  width: 30%;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-item i {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 15px;
}

.contact-item h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.contact-item p {
  color: #666;
  font-size: 1rem;
}

/* Hover Effect for Contact Info */
.contact-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
.contact-form-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  margin-top: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.contact-form-container:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  font-size: 0.95rem;
  color: #333;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
  background-color: #ffffff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button.submit-btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  font-size: 1rem;
  padding: 12px 25px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.contact-form button.submit-btn:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1e5f8e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.contact-form button.submit-btn:active {
  transform: translateY(0);
}

.form-message {
  color: #28a745;
  font-size: 1.1rem;
  margin-top: 20px;
  font-weight: bold;
  display: none;  /* Initially hidden */
  animation: slideIn 0.4s ease-out;
}

.form-message.sending {
  color: #ffc107;
}

.form-message.success {
  color: #28a745;
}

.form-message.error {
  color: #dc3545;
}

/* ================= SUCCESS MODAL ================= */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success-modal.show {
  opacity: 1;
}

.success-modal-content {
  background: white;
  border-radius: 15px;
  padding: 50px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: scale(0.9);
}

.success-modal.show .success-modal-content {
  transform: scale(1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon svg {
  width: 50px;
  height: 50px;
  color: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: checkmark 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes checkmark {
  0% {
    stroke-dashoffset: 50;
    stroke-dasharray: 50;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 50;
  }
}

.success-modal-content h3 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.success-modal-content p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.success-modal-content .form-details {
  color: #28a745;
  font-weight: 600;
  margin: 20px 0;
  font-size: 0.95rem;
}

.modal-close-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.modal-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, #20c997, #28a745);
}

.modal-close-btn:active {
  transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .contact-item {
    width: 80%;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 768px) {
  .contact-form-container {
    width: 90%;
  }
}

/* ================= CONTACT VIDEO SECTION ================= */
.contact-video {
  padding: 60px 5vw;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  color: #333;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-video.visible {
  opacity: 1;
  transform: translateY(0);
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Video */
@media screen and (max-width: 768px) {
  .contact-video {
    padding: 40px 5vw;
  }

  .video-container {
    border-radius: 8px;
  }
}

/* ================= FOOTER ================= */
footer {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: #fff;
  padding: 60px 20px 20px;
  position: relative;
  overflow-x: hidden; /* Hide x-axis overflow */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  text-align: left;
}



.footer-section h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 600;
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section ul li i {
  color: #ffffff;
  font-size: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-section ul li:hover i {
  transform: scale(1.2);
  color: #ffff00;
}

.footer-section ul li a:hover {
  color: #fffc50;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-logo span {
  font-size: 1.46rem;
  color: #ffffff;
  font-weight: bold;
  font-family: 'Cinzel', serif;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 10px;
  border: 1px solid #555;
  border-radius: 5px;
  background: #333;
  color: #fff;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: #aaa;
}

.newsletter-form button {
  padding: 10px;
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, #7873f5, #42e695);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-media a {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 110, 196, 0.3);
}

.social-media a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 110, 196, 0.5);
  background: linear-gradient(135deg, #7873f5, #42e695);
}

.social-media a i,
.social-media a img {
  transition: transform 0.3s ease;
}

.social-media a:hover i,
.social-media a:hover img {
  transform: rotate(360deg);
}

.social-media a img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.footer-divider {
  margin: 40px 0;
  border: none;
  border-top: 1px solid #444;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section {
    text-align: center;
  }

  .newsletter-form {
    flex-direction: row;
  }

  .newsletter-form input {
    flex: 1;
  }

  .social-media {
    gap: 15px;
  }

  .social-media a {
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 1.3rem;
  }

  .footer-logo span {
    font-size: 1.5rem;
  }
}

/* ================= HAMBURGER MENU ================= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -5px);
}

/* Mobile Navigation Menu */
.navbar nav {
  display: flex;
}

.navbar nav.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 20px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.navbar nav.mobile-menu.active {
  display: flex !important;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.navbar nav.mobile-menu a {
  color: #333 !important;
  padding: 15px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.navbar nav.mobile-menu a:hover {
  background: rgba(255, 110, 196, 0.1);
  color: #ff6ec4 !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    padding: 15px 25px;
  }

  .hamburger {
    display: flex;
  }

  .navbar nav {
    display: none;
  }

  .hero-left h1 {
    font-size: 32px;
  }

  .stats {
    flex-direction: column;
    gap: 30px;
  }
}
/* ================= HERO BADGE ================= */
.hero-badge-wrapper {
  position: absolute;
  top: 40%;
  right: 3%;
  transform: translateY(-50%);
  z-index: 10;
  margin-top: -140px; /* Adjusted upwards by 2cm */
}

.hero-badge {
  width: 210px;
  height: 56px;
  background: #ffffff; /* White background */
  border-radius: 30px;
  border: 2px solid #111; /* Dark border color */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-weight: 600;
  color: #111; /* Text color */
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease; /* Smooth transitions */
  animation: popUp 3s infinite ease-in-out; /* Continuous "pop" effect */
}

/* Continuous "Pop" Effect */
@keyframes popUp {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.1); /* Slight zoom */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); /* Larger shadow for "pop" effect */
  }
  100% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }
}

/* Hover Effect: Add glowing background outside the box */
.hero-badge:hover {
  border: 2px solid #0b5ed7; /* Blue border color on hover */
  box-shadow: 0 0 30px rgba(11, 94, 215, 0.7); /* Glowing blue effect */
  transform: scale(1.05); /* Slight zoom effect */
}

/* Adjusting text animation */
.hero-badge span {
  position: absolute;
  opacity: 0;
  white-space: nowrap;
  animation: badgeCycle 24s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Stagger the animation delays for each span */
.hero-badge span:nth-child(1) { animation-delay: 0s; }
.hero-badge span:nth-child(2) { animation-delay: 4s; }
.hero-badge span:nth-child(3) { animation-delay: 8s; }
.hero-badge span:nth-child(4) { animation-delay: 12s; }
.hero-badge span:nth-child(5) { animation-delay: 16s; }
.hero-badge span:nth-child(6) { animation-delay: 20s; }

/* Adjust keyframes for smooth fade in and out */
@keyframes badgeCycle {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  12%  { opacity: 1; }
  17%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Hover effect on text: rotate and scale */
.hero-badge:hover span {
  transform: translate(-50%, -50%) rotate(1deg) scale(1.2); /* Slight rotation and zoom */
}

/* Mobile Hide */
@media (max-width: 768px) {
  .hero-badge-wrapper {
    display: none;
  }
}

.hero {
  perspective: 1000px;
}

.hero-content {
  transform-style: preserve-3d;
  animation: moveIn3D 0.5s ease-out forwards;
}

@keyframes moveIn3D {
  from {
    transform: translateZ(-100px);
  }
  to {
    transform: translateZ(0);
  }
}



/* ================= CHAT WIDGET ================= */
.chat-widget {
  position: fixed;
  bottom: 20px;  /* bottom corner */
  right: 20px;   /* right corner */
  width: 250px;  /* smaller width */
  font-family: Arial, sans-serif;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateX(400px); /* start off-screen right */
  transition: transform 1s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

/* Slide-in effect */
.chat-widget.active {
  transform: translateX(0);
}

.chat-header {
  background: #0b5ed7;
  color: #fff;
  padding: 10px 12px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.chat-close {
  cursor: pointer;
  font-size: 16px;
}

.chat-body {
  max-height: 250px;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  background: #fafafa;
}

.chat-message {
  padding: 8px 12px;
  border-radius: 12px;
  line-height: 1.4;
  word-wrap: break-word;
  max-width: 90%;
  animation: messageFadeIn 0.3s ease;
}

@keyframes messageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.bot {
  align-self: flex-start;
  background: #e8e8e8;
  color: #333;
}

.chat-message.user {
  align-self: flex-end;
  background: #0b5ed7;
  color: #fff;
}

.chat-input-area {
  display: flex;
  border-top: 1px solid #ddd;
}

#chatInput {
  flex: 1;
  border: none;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}

#chatSend {
  background: #0b5ed7;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  transition: transform 0.2s;
  font-size: 13px;
}

#chatSend:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .chat-widget {
    width: 200px;
    bottom: 15px;
    right: 15px;
  }
}

/* ================= LOADER ================= */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
  overflow: hidden;
}

#loader.hide {
  opacity: 0;
  pointer-events: none;
}

#loader::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/loader background.jpg') no-repeat center center;
  background-size: cover;
  filter: blur(5px);
  z-index: -1;
}

.loader-content {
  text-align: center;
  color: white;
  max-width: 400px;
  padding: 20px;
  position: relative;
  z-index: 10;
}

.loader-logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.loader-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: logoPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.loader-ring {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 130px;
  height: 130px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: rotateRing 2s linear infinite;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.progress-bar {
  width: 250px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin: 30px auto 15px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6ec4, #7873f5, #42e695);
  border-radius: 4px;
  transition: width 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 110, 196, 0.7);
  position: relative;
  overflow: hidden;
}

.progress-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.percentage {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-top: 15px;
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  0% { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }
  100% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3); }
}

.patience-message {
  font-size: 1.2rem;
  opacity: 0.9;
  font-style: italic;
  margin: 0;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 0.9; transform: translateY(0); }
}

/* Responsive loader */
@media (max-width: 768px) {
  .loader-content {
    max-width: 300px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .patience-message {
    font-size: 1rem;
  }

  .loader-logo {
    width: 80px;
    height: 80px;
  }

  .loader-ring {
    width: 110px;
    height: 110px;
    top: -15px;
    left: -15px;
  }

  .progress-bar {
    width: 200px;
  }

  /* Hide horizontal scroll on mobile */
  html, body {
    overflow-x: hidden;
  }
}

/* ================= GET STARTED FORM ================= */
.get-started {
  padding: 80px 20px;
  background: linear-gradient(135deg, #ab4848 0%, #fff1a1 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.get-started::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(0,0,0,0.05)"/></svg>') repeat;
  opacity: 0.3;
  z-index: 0;
}

.form-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  position: relative;
  z-index: 1;
  animation: formSlideIn 1s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes formSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from {
    text-shadow: 0 0 10px rgba(255, 110, 196, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 110, 196, 0.8), 0 0 30px rgba(120, 115, 245, 0.5);
  }
}

.form-subtitle {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  animation: subtitleFadeIn 1.5s ease-out;
}

@keyframes subtitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.get-started-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  position: relative;
  animation: inputSlideIn 0.8s ease-out forwards;
  opacity: 0;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }

@keyframes inputSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: #ff6ec4;
  font-size: 1.2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  color: #333;
  background: #fff;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff6ec4;
  box-shadow: 0 0 0 3px rgba(255, 110, 196, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 18px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 110, 196, 0.3);
  position: relative;
  overflow: hidden;
  animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(255, 110, 196, 0.3);
  }
  50% {
    box-shadow: 0 12px 35px rgba(255, 110, 196, 0.5);
  }
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 110, 196, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.form-message {
  text-align: center;
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #28a745;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-message.show {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .get-started {
    padding: 60px 20px;
  }

  .form-wrapper {
    padding: 30px;
    margin: 20px;
  }

  .form-title {
    font-size: 2rem;
  }

  .form-subtitle {
    font-size: 1rem;
  }

  .submit-btn {
    font-size: 1.1rem;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .form-wrapper {
    padding: 25px;
  }

  .form-title {
    font-size: 1.8rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 15px;
  }

  .submit-btn {
    font-size: 1rem;
    padding: 12px 25px;
  }
}

/* ================= GOOGLE REVIEWS SLIDER ================= */
.reviews-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 50%, #f0f3ff 100%);
  overflow: hidden;
  position: relative;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 102, 238, 0.3), transparent);
}

.reviews-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #1a1a1a;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.reviews-section::after {
  content: 'Trusted by Industry Leaders';
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  color: #9366ee;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: -30px;
}

.reviews-slider-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
  margin-top: 80px;
  background: linear-gradient(90deg, 
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.98) 5%,
    rgba(255,255,255,0.95) 10%,
    rgba(255,255,255,0.95) 90%,
    rgba(255,255,255,0.98) 95%,
    rgba(255,255,255,1) 100%);
  padding: 15px 0;
  border-radius: 20px;
}

.reviews-slider-wrapper::before,
.reviews-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.reviews-slider-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 40%, transparent 100%);
  border-radius: 20px 0 0 20px;
}

.reviews-slider-wrapper::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.95) 60%, #ffffff 100%);
  border-radius: 0 20px 20px 0;
}

.reviews-slider {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 20px 10px;
  will-change: transform;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}

.reviews-slider-ltr {
  animation: slideLeft 50s linear infinite;
}

.reviews-slider-rtl {
  animation: slideRight 50s linear infinite;
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 11 * 11));
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(100% / 16));
  }
}

.review-card {
  min-width: 320px;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(147, 102, 238, 0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
  border: 1.5px solid rgba(147, 102, 238, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #9366ee 0%, #e785d4 50%, #e15353 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  transform: translateX(-100%);
  animation: colorSlide 3s ease infinite;
}

.review-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 24px 48px rgba(147, 102, 238, 0.2), 0 8px 32px rgba(147, 102, 238, 0.12);
  border-color: rgba(147, 102, 238, 0.25);
}

.review-card:hover::before {
  opacity: 1;
}

@keyframes colorSlide {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 12px;
}

.reviewer-info {
  display: flex;
  gap: 14px;
  align-items: center;
  flex: 1;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #9366ee;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(147, 102, 238, 0.2);
}

.reviewer-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.reviewer-company {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  font-weight: 500;
}

.review-rating {
  display: flex;
  gap: 4px;
  color: #ffc107;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-rating i {
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(255, 193, 7, 0.3);
}

.review-text {
  font-size: 0.975rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
  font-weight: 500;
}

.review-date {
  font-size: 0.8rem;
  color: #aaa;
  display: block;
  font-weight: 500;
}

/* Responsive Design for Reviews */
@media (max-width: 768px) {
  .reviews-section {
    padding: 70px 15px;
  }

  .reviews-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .reviews-slider-wrapper {
    margin-bottom: 40px;
    margin-top: 60px;
    border-radius: 16px;
  }

  .reviews-slider-wrapper::before,
  .reviews-slider-wrapper::after {
    width: 100px;
  }

  .review-card {
    min-width: 290px;
    padding: 20px;
    font-size: 0.95rem;
  }

  .reviewer-avatar {
    width: 40px;
    height: 40px;
  }

  .reviewer-info h4 {
    font-size: 1rem;
  }

  .review-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .reviews-slider-ltr,
  .reviews-slider-rtl {
    animation-duration: 45s !important;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .reviews-section {
    padding: 60px 10px;
  }

  .reviews-section h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .reviews-section::after {
    font-size: 0.75rem;
    top: 50px;
    letter-spacing: 1px;
  }

  .reviews-slider-wrapper {
    margin-bottom: 25px;
    margin-top: 40px;
    padding: 12px 0;
    border-radius: 12px;
  }

  .reviews-slider-wrapper::before,
  .reviews-slider-wrapper::after {
    width: 80px;
  }

  .review-card {
    min-width: 260px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(147, 102, 238, 0.06);
  }

  .reviewer-avatar {
    width: 38px;
    height: 38px;
  }

  .reviewer-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }

  .reviewer-company {
    font-size: 0.8rem !important;
  }

  .review-text {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 8px 0;
  }

  .review-date {
    font-size: 0.75rem;
  }

  .review-rating {
    font-size: 0.85rem;
  }

  .reviews-slider-ltr,
  .reviews-slider-rtl {
    animation-duration: 40s !important;
    gap: 16px;
    padding: 15px 5px;
  }
}


