* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: "Poppins", sans-serif; */
  line-height: 1.7;
  color: #2c3e50;
  overflow-x: hidden;
  background: #fafbff;
}

/* Modern Color Palette - Dark Blue Theme */
:root {
  --primary: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
  --primary-solid: #1a56db;
  --primary-light: #f0f7ff;
  --secondary: linear-gradient(135deg, #004e92 0%, #000428 100%);
  --accent: linear-gradient(135deg, #007cf0 0%, #00dfd8 100%);
  --dark: #0a1930;
  --light: #ffffff;
  --gray: #64748b;
  --border: #e1e8f2;
  --shadow: rgba(26, 86, 219, 0.1);
  --shadow-hover: rgba(26, 86, 219, 0.2);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f3f6;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
  border-radius: 10px;
}

/* Modern Animation System */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.7) rotate(-5deg);
  transition: all 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale.animated {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Hero Section with Advanced Animations */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(38, 208, 206, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 50%
    );
  animation: float-shapes 20s ease-in-out infinite;
}

@keyframes float-shapes {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-btn {
  background: linear-gradient(135deg, #004e92 0%, #000428 100%);
  color: white;
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 78, 146, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-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.6s;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 78, 146, 0.4);
  color: white;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 15s infinite ease-in-out;
}

.floating-shape:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  top: 60%;
  right: 10%;
  animation-delay: 5s;
}

.floating-shape:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) rotate(10deg);
  }
  66% {
    transform: translateY(30px) rotate(-10deg);
  }
}

/* Modern Section Styling */
.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  position: relative;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Glass Morphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 40px 30px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(26, 86, 219, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #1a2980, #26d0ce, #004e92);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: 0 40px 80px rgba(26, 86, 219, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Stats Cards with Advanced Animations */
.stats-card {
  text-align: center;
  height: 100%;
}

.stats-number {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 15px;
}

.stats-label {
  font-size: 1.2rem;
  color: var(--dark);
  font-weight: 600;
}

/* Company Grid with Masonry Layout */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.company-card {
  text-align: center;
  padding: 40px 25px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.company-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #007cf0 0%, #00dfd8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0, 124, 240, 0.3);
}

.company-card:hover .company-logo {
  transform: scale(1.2) rotate(360deg);
  box-shadow: 0 25px 50px rgba(0, 124, 240, 0.5);
}

.company-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.company-type {
  color: var(--gray);
  font-weight: 500;
}

/* Timeline Process */
.process-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  margin-bottom: 60px;
  align-items: center;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-number {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #004e92 0%, #000428 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin: 0 40px;
  flex-shrink: 0;
  box-shadow: 0 20px 40px rgba(0, 78, 146, 0.3);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-content {
  flex: 1;
  padding: 30px;
}

.timeline-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.timeline-description {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Success Stories with 3D Effect */
.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.success-card {
  padding: 40px;
  text-align: center;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
}

.student-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 auto 25px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(26, 86, 219, 0.3);
}

.student-avatar::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.student-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.student-position {
  color: var(--primary-solid);
  font-weight: 600;
  margin-bottom: 20px;
}

.student-quote {
  color: var(--gray);
  font-style: italic;
  line-height: 1.7;
  position: relative;
}

.student-quote::before,
.student-quote::after {
  content: '"';
  font-size: 3rem;
  color: rgba(26, 86, 219, 0.2);
  position: absolute;
  font-family: serif;
}

.student-quote::before {
  top: -20px;
  left: -10px;
}

.student-quote::after {
  bottom: -40px;
  right: -10px;
}

/* CTA Section with Particle Effect */
.cta-section {
  background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
  color: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::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="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: particles 30s linear infinite;
}

@keyframes particles {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100px);
  }
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 25px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-cta {
  background: linear-gradient(135deg, #004e92 0%, #000428 100%);
  color: white;
  padding: 20px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 78, 146, 0.3);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-secondary-cta {
  background: transparent;
  color: white;
  padding: 20px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid white;
  position: relative;
}

.btn-primary-cta:hover,
.btn-secondary-cta:hover {
  transform: translateY(-5px) scale(1.05);
  color: white;
}

.btn-secondary-cta:hover {
  background: white;
  color: var(--primary-solid);
}

/* Department Stats with Progress Bars */
.dept-card {
  text-align: center;
  padding: 40px 25px;
  position: relative;
}

.dept-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #007cf0 0%, #00dfd8 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dept-card:hover .dept-icon {
  transform: rotateY(360deg);
}

.dept-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.progress-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  position: relative;
}

.progress-circle svg {
  transform: rotate(-90deg);
}

.progress-circle .progress-bar {
  fill: none;
  stroke: #e8ecf4;
  stroke-width: 8;
}

.progress-circle .progress-value {
  fill: none;
  stroke: url(#gradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 2s ease-in-out;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-solid);
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column !important;
    text-align: center;
  }

  .timeline-number {
    margin: 0 0 30px 0;
  }

  .timeline-item:nth-child(even) .timeline-number {
    margin: 0 0 30px 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .company-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .success-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 80px 0;
  }

  .glass-card {
    padding: 30px 20px;
  }

  .hero-section {
    min-height: 80vh;
  }
}

/* Loading Animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
