/***** deterrent only — hurts UX; optional *****/
html, body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

:root {
  --particle: rgba(211, 233, 14, 0.2);
  --wave: rgba(217, 119, 6, .15);
}

html, body {
    overflow-x: hidden;
}

/* ===== Enhanced Particle Animations ===== */
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--particle);
  backdrop-filter: blur(4px);
  animation: particleFloat 15s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, .1);
}

.p1 {
  width: 100px;
  height: 100px;
  top: 12%;
  left: 8%;
  animation-delay: 0s;
}

.p2 {
  width: 160px;
  height: 160px;
  top: 25%;
  right: 12%;
  animation-delay: 2.5s;
}

.p3 {
  width: 80px;
  height: 80px;
  top: 50%;
  left: 15%;
  animation-delay: 5s;
}

.p4 {
  width: 130px;
  height: 130px;
  bottom: 20%;
  right: 18%;
  animation-delay: 7.5s;
}

.p5 {
  width: 70px;
  height: 70px;
  bottom: 35%;
  left: 28%;
  animation-delay: 10s;
}

.p6 {
  width: 110px;
  height: 110px;
  top: 65%;
  right: 8%;
  animation-delay: 12.5s;
}

.wave {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: .3;
  animation: waveFlow 20s ease-in-out infinite;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .2);
}

.w1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 45%;
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  animation-delay: 0s;
}

.w2 {
  width: 220px;
  height: 220px;
  bottom: 15%;
  left: 25%;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  animation-delay: 7s;
}

.w3 {
  width: 260px;
  height: 260px;
  top: 35%;
  right: 25%;
  background: linear-gradient(135deg, #1e40af, #0ea5e9);
  animation-delay: 14s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: .7;
  }
  25% {
    transform: translateY(-35px) translateX(20px) scale(1.1);
    opacity: .9;
  }
  50% {
    transform: translateY(-50px) translateX(-15px) scale(.9);
    opacity: 1;
  }
  75% {
    transform: translateY(-25px) translateX(25px) scale(1.05);
    opacity: .8;
  }
}

@keyframes waveFlow {
  0%, 100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: translateY(0) rotate(0deg);
  }
  25% {
    border-radius: 60% 40% 80% 20% / 30% 70% 30% 70%;
    transform: translateY(-45px) rotate(90deg);
  }
  50% {
    border-radius: 80% 20% 60% 40% / 70% 30% 70% 30%;
    transform: translateY(-65px) rotate(180deg);
  }
  75% {
    border-radius: 30% 70% 40% 60% / 60% 40% 80% 20%;
    transform: translateY(-35px) rotate(270deg);
  }
}

/* ===== Enhanced Glass Effects ===== */
.glass-card {
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, .2);
}

/* ===== Enhanced Button Animations ===== */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  transform: translate(-50%, -50%);
  transition: width .8s ease, height .8s ease;
}

.btn-glow:hover::before {
  width: 400px;
  height: 400px;
}

.btn-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, .3);
}

.btn-outline {
  position: relative;
  overflow: hidden;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, .1);
}

/* ===== Industry Testimonials Slider ===== */
.industry-slide.hidden {
  display: none;
}

.industry-dot {
  transition: all .4s ease;
  cursor: pointer;
}

.industry-dot[data-active="true"] {
  background-color: #0ea5e9;
  transform: scale(1.3);
}

.industry-dot:hover {
  transform: scale(1.15);
  opacity: .8;
}

/* ===== Specializations Section ===== */
.specialization-card {
  transition: all .5s cubic-bezier(.2, .8, .2, 1);
}

.specialization-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(14, 165, 233, .2);
}

/* ===== Recruiters Marquee ===== */
.recruiter-marquee {
  position: relative;
  overflow: hidden;
  padding: 28px 15px;
  background: #fff;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.recruiter-track {
  display: flex;
  width: max-content;
  animation: recruiterScroll 30s linear infinite;
}

.recruiter-marquee:hover .recruiter-track {
  animation-play-state: paused;
}

.recruiter-group {
  display: flex;
  gap: 40px;
  padding: 10px 20px;
}

.recruiter-item {
  flex: 0 0 auto;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 24px;
  padding: 24px 32px;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
}

.recruiter-item:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
  border-color: #0ea5e9;
}

.recruiter-item img {
  height: 200px;
  width: 200px;
  max-width: 160px;
  object-fit: contain;
}

@keyframes recruiterScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Achievements Marquee ===== */
.achievements-marquee {
  position: relative;
  overflow: hidden;
  padding: 32px 15px;
  background: #fff;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.achievements-track {
  display: flex;
  width: max-content;
  animation: achievementsScroll 45s linear infinite;
}

.achievements-marquee:hover .achievements-track {
  animation-play-state: paused;
}

.achievements-group {
  display: flex;
  gap: 36px;
  padding: 12px 20px;
}

.achievement-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-radius: 28px;
  padding: 28px 36px;
  min-width: 420px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
  transition: all .5s cubic-bezier(.2, .8, .2, 1);
}

.achievement-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .18);
  border-color: #0ea5e9;
}

.achievement-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .15));
}

.achievement-text {
  text-align: left;
}

.achievement-title {
  font-size: 1.25rem;
  line-height: 1.3;
  color: #1e293b;
  font-weight: 800;
}

.achievement-sub {
  font-size: 1rem;
  color: #64748b;
  margin-top: 6px;
  font-weight: 600;
}

.achievement-year {
  font-size: 1rem;
  color: #0ea5e9;
  margin-top: 8px;
  font-weight: 800;
}

@keyframes achievementsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Campus Gallery ===== */
.campus-gallery {
  column-count: 3;
  column-gap: 2rem;
}

@media (max-width: 1024px) {
  .campus-gallery { column-count: 2; }
}

@media (max-width: 640px) {
  .campus-gallery { column-count: 1; }
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 2rem;
  break-inside: avoid;
  position: relative;
  text-decoration: none;
}

.gallery-item.wide figure { aspect-ratio: 16/9; }
.gallery-item.tall figure { aspect-ratio: 3/5; }

.gallery-item figure {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
  border: 2px solid #f1f5f9;
  background: #fff;
  position: relative;
  transition: all .5s cubic-bezier(.2, .8, .2, 1);
}

.gallery-item:hover figure {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
  border-color: #0ea5e9;
}

.campus-img {
  height: 450px;
  object-fit: cover;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .85) 100%);
  color: #fff;
  transform: translateY(15px);
  opacity: 0;
  transition: all .5s cubic-bezier(.2, .8, .2, 1);
}

.gallery-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Campus Lightbox ===== */
.campus-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  transition: all .4s ease;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .9);
  opacity: 0;
  transition: opacity .4s ease;
  backdrop-filter: blur(10px);
}

.lightbox-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  pointer-events: none;
}

.campus-lightbox.open .lightbox-backdrop {
  opacity: 1;
}

.lightbox-img {
  max-width: min(90vw, 1600px);
  max-height: 85vh;
  border-radius: 28px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(30px) scale(.9);
  transition: all .5s cubic-bezier(.2, .8, .2, 1);
  pointer-events: auto;
  background: #fff;
}

.campus-lightbox.open .lightbox-img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lightbox-caption {
  margin-top: 20px;
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 1.25rem;
  text-shadow: 0 6px 15px rgba(0, 0, 0, .7);
  pointer-events: auto;
}

.lightbox-btn {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
  backdrop-filter: blur(15px);
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, .25);
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, .7);
}

.lightbox-prev {
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover,
.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.15);
}

.lightbox-close {
  top: 40px;
  right: 40px;
  font-size: 24px;
}

/* ===== News & Testimonials ===== */
.news-card {
  border: 2px solid #e5e7eb;
  border-bottom-width: 8px;
  border-right-width: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
  overflow: hidden;
  aspect-ratio: 4/3;
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .18);
  border-color: #0ea5e9;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  width: 100%;
  transition: transform .8s cubic-bezier(.25, .46, .45, .94);
}

.testimonial-slide {
  flex: 0 0 100%;
}

.testimonial-content {
  position: relative;
}

.testimonial-content::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 40px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 18px solid rgba(0, 0, 0, .1);
}

.testimonial-content::after {
  content: "";
  position: absolute;
  left: -16px;
  top: 42px;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-right: 16px solid white;
}

.testimonial-badge {
  background: linear-gradient(135deg, #0ea5e9 0%, #d97706 100%);
  color: white;
  border-radius: 12px;
  padding: 10px 20px;
  display: inline-block;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .5px;
}

.testimonial-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.testimonial-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
  cursor: pointer;
}

.testimonial-dot[data-active="true"] {
  background: #0ea5e9;
  transform: scale(1.3);
}

.testimonial-dot:hover {
  transform: scale(1.15);
}

/* ===== FAQ Enhancements ===== */
.faq-card[open] .faq-icon {
  transform: rotate(45deg);
  background: rgba(14, 165, 233, .3);
  color: #0ea5e9;
}

.faq-card summary {
  transition: all .4s ease;
}

.faq-card:hover summary {
  color: #0ea5e9;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 1024px) {
  .achievement-card {
    min-width: 380px;
    padding: 24px 28px;
  }
  
  .recruiter-item {
    min-width: 180px;
    padding: 20px 24px;
  }
  
  .recruiter-item img {
    height: 60px;
  }
}

@media (max-width: 640px) {
  .particle {
    display: none;
  }
  
  .wave {
    opacity: .15;
  }
  
  .achievements-group,
  .recruiter-group {
    gap: 24px;
  }
  
  .achievement-card {
    min-width: 320px;
    padding: 20px 24px;
    gap: 20px;
  }
  
  .achievement-icon {
    font-size: 3rem;
  }
  
  .recruiter-item {
    min-width: 160px;
    padding: 16px 20px;
  }
  
  .recruiter-item img {
    height: 50px;
  }
  
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
  .lightbox-close { top: 20px; right: 20px; }
}

/* ===== Additional Utilities ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 1s cubic-bezier(.2, .8, .2, 1);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #0ea5e9, #d97706);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #0284c7, #b45309);
}

/* whatsapp icon */

/* Floating WhatsApp Icon Enhancements */
@keyframes bounceIn {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); }
}

.fixed.bottom-6.right-6 {
  animation: bounceIn 0.8s ease-out forwards;
}

@media (max-width: 640px) {
  .fixed.bottom-6.right-6 {
    bottom: 4rem; /* Higher on mobile to avoid overlapping footers */
    right: 1.5rem;
  }
  
  /* Additional mobile adjustments */
  .particle, .wave {
    width: 60%; /* Smaller particles/waves on mobile */
    height: 60%;
  }
  
  @keyframes recruiterScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Keep same, but slower if needed */
  }
  
  .recruiter-marquee {
    padding: 20px 10px; /* Smaller padding */
  }
  
  .achievements-marquee {
    padding: 24px 10px;
  }
  
  .specialization-card .aspect-video img {
    height: auto; /* Ensure images fit */
  }
  
  .campus-img {
    height: 300px; /* Reduce height on mobile */
  }
}