/* Internships Page Styles */

:root {
  --primary-color: #9c24ff;
  --primary-dark: #7b1dd9;
  --secondary-color: #42b883;
  --accent-color: #ff6b6b;
  --text-primary: #1c1e21;
  --text-secondary: #65676b;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --border-color: #e4e6ea;
  --shadow-light: 0 2px 8px rgba(156, 36, 255, 0.08);
  --shadow-medium: 0 4px 16px rgba(156, 36, 255, 0.12);
  --shadow-heavy: 0 8px 32px rgba(156, 36, 255, 0.16);
  --gradient-primary: linear-gradient(135deg, #9c24ff 0%, #42b883 100%);
  --gradient-hero: linear-gradient(135deg, #9c24ff 0%, #6d1bb8 100%);
}

/* Enhanced Global Transitions for Smooth Experience - Optimized */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Specific smooth transitions for interactive elements only */
button, .btn, .card, .track-card, .overview-card, .faq-item,
input, textarea, select {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Hero Section */
.internships-hero {
  background: linear-gradient(135deg, rgba(73, 0, 182, 0.6) 0%, rgba(0, 0, 0, 0.7) 100%), 
              url('../assets/images/rocketcareers-photoedits-2025_0006s_0001_all-intern-meeting-2024-20240611-005-nologo.webp');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
  height: 90vh;
  display: flex;
  align-items: center;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.internships-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.internships-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 2rem auto; /* Added top and bottom margins (2rem) */
  padding: 0 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  /* margin-top: 2rem; */
  margin-bottom: 2rem;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1.2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 120px;
  transition: all 0.3s ease;
  animation: smoothFloat 8s ease-in-out infinite;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.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;
}

.btn:hover::before {
  left: 100%;
}

.btn.primary {
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  color: var(--primary-color);
  border-color: white;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.btn.primary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.btn.secondary:hover {
  background: white;
  color: var(--primary-color);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn.large {
  padding: 20px 44px;
  font-size: 1.15rem;
}

/* Program Overview Section */
.program-overview {
  padding: 100px 0;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #9c24ff 0%, #7b1dd9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.overview-card {
  background: white;
  overflow: hidden;
  transform: translateY(0);
  will-change: transform;
}

.overview-card:hover {
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

.card-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  will-change: transform;
}

.overview-card:hover .card-image img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.card-content {
  padding: 2rem;
  text-align: center;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.overview-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.overview-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

/* Internship Tracks Section */
.internship-tracks {
  padding: 100px 0;
  background: var(--background-light);
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.track-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  transform: none;
  transition: none;
}

.track-card:hover {
  transform: none;
  transition: none;
}

.track-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.track-icon {
  font-size: 2.5rem;
}

.track-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.track-badge {
  background: linear-gradient(135deg, #9c24ff 0%, #000000 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.track-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.track-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.track-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.track-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #9c24ff;
  font-weight: bold;
}

.track-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.track-stats span {
  background: var(--background-light);
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 500;
}

/* Success Stories Section */
.success-stories {
  padding: 100px 0;
  background: white;
}

.success-stories .section-header h2 {
  background: linear-gradient(135deg, #9c24ff 0%, #7b1dd9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.story-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(156, 36, 255, 0.1);
}

.story-quote {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-style: italic;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.author-info p {
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.author-info span {
  font-size: 0.85rem;
  color: #9c24ff;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stories-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Program Timeline Section */
.program-timeline {
  padding: 100px 0;
  background: var(--background-light);
}

.timeline {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-light);
}

.timeline-marker {
  background: var(--gradient-primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.timeline-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.timeline-content ul {
  list-style: none;
}

.timeline-content li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.timeline-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Requirements Section */
.requirements {
  padding: 100px 0;
  background: white;
}

.requirements-content {
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 0 2rem;
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.requirement-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.requirement-icon {
  width: 48px;
  height: 48px;
  background: #9c24ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.requirement-text h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.requirement-text p {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .requirements-content {
    padding: 0 1rem;
  }
  
  .requirement-item {
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .requirement-icon {
    width: 40px;
    height: 40px;
  }
  
  .requirement-text h3 {
    font-size: 1.2rem;
  }
  
  .requirement-text p {
    font-size: 0.95rem;
  }
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background: var(--background-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Application Process Section */
.application-process {
  padding: 100px 0;
  background: white;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.step {
  background: var(--background-light);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--border-color);
}

.step-number {
  background: var(--gradient-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.step-time {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
}

.application-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: var(--background-light);
  border-radius: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.application-cta h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.application-cta p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.application-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.application-note a {
  color: var(--primary-color);
  text-decoration: none;
}

.application-note a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: #f8f9fa;
}

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

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #9c24ff;
  box-shadow: 0 4px 12px rgba(156, 36, 255, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: #9c24ff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem 2rem;
  margin: 0;
  color: #4a5568;
  line-height: 1.6;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .faq-container {
    padding: 0 1rem;
  }
  
  .faq-question {
    padding: 1.25rem 1.5rem;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
  }
  
  .faq-answer p {
    padding: 0 1.5rem 1.25rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Footer Styles
.site-footer {
  background: #1c1e21;
  color: white;
}

.footer-top {
  padding: 4rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #b0b3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-section p {
  color: #b0b3b8;
  line-height: 1.6;
}

.footer-section .logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid #3a3b3c;
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer-links a {
  color: #b0b3b8;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
} */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Hero floating animation for stats */
.stat-item {
  animation: float 6s ease-in-out infinite;
}

.stat-item:nth-child(2) {
  animation-delay: -2s;
}

.stat-item:nth-child(3) {
  animation-delay: -4s;
}

/* Ready to Apply Section */
.ready-to-apply {
  padding: 100px 0;
  background: linear-gradient(135deg, #9c24ff, #6b16b8);
  color: white;
}

.apply-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.apply-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.apply-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.apply-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  color: #ffffff;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 1rem;
  opacity: 0.95;
}

.apply-action {
  text-align: center;
}

.apply-action .btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  margin-bottom: 1rem;
  background: white;
  color: #9c24ff;
  border: none;
  transition: all 0.3s ease;
}

.apply-action .btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.apply-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.apply-note a {
  color: white;
  text-decoration: underline;
}

.apply-note a:hover {
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .hero-stats {
    gap: 2rem;
  }
  
  .process-steps {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .internships-hero {
    background-attachment: scroll;
    min-height: 80vh;
    padding: 100px 0 80px;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-item {
    min-width: 120px;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-item {
    min-width: auto;
  }
}

/* Scroll animations */
.overview-card:nth-child(1) { animation-delay: 0.1s; }
.overview-card:nth-child(2) { animation-delay: 0.2s; }
.overview-card:nth-child(3) { animation-delay: 0.3s; }
.overview-card:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced hover effects with smooth transitions */
button:hover, .btn:hover {
  transform: translateY(-2px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll-triggered animations - Enhanced for smooth flow */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Base state for elements that will animate in */
.section-header, .overview-card, .track-card, .faq-item, .timeline-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

/* Enhanced staggered animation delays for smoother flow */
.overview-grid .overview-card:nth-child(1) { 
  transition-delay: 0.1s; 
  transform: translateY(40px) translateX(-20px);
}
.overview-grid .overview-card:nth-child(2) { 
  transition-delay: 0.25s; 
  transform: translateY(40px);
}
.overview-grid .overview-card:nth-child(3) { 
  transition-delay: 0.4s; 
  transform: translateY(40px) translateX(20px);
}

.tracks-grid .track-card:nth-child(1) { transition-delay: 0.1s; }
.tracks-grid .track-card:nth-child(2) { transition-delay: 0.2s; }
.tracks-grid .track-card:nth-child(3) { transition-delay: 0.3s; }
.tracks-grid .track-card:nth-child(4) { transition-delay: 0.45s; }
.tracks-grid .track-card:nth-child(5) { transition-delay: 0.6s; }
.tracks-grid .track-card:nth-child(6) { transition-delay: 0.75s; }

/* FAQ items smooth flow */
.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-item:nth-child(3) { transition-delay: 0.3s; }
.faq-item:nth-child(4) { transition-delay: 0.4s; }
.faq-item:nth-child(5) { transition-delay: 0.5s; }
.faq-item:nth-child(6) { transition-delay: 0.6s; }

/* Enhanced smooth transitions for navigation - Simplified */
.nav-item a {
  transition: color 0.3s ease, background-color 0.3s ease;
}

.submenu {
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
}

.nav-item:hover .submenu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Page load animations */
@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero section enhanced animations */
/* Enhanced card hover effects with smooth flow */
.overview-card, .track-card {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.hero-badge {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content h1 {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-content p {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-stats {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.hero-cta {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

.overview-card:hover, .track-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(156, 36, 255, 0.2);
  z-index: 10;
}

/* Card images smooth scaling */
.card-image, .overview-card .card-image {
  overflow: hidden;
  /* border-radius: 12px; */
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-image img, .overview-card img {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.overview-card:hover .card-image img,
.track-card:hover .card-image img {
  transform: scale(1.08);
}

/* FAQ smooth accordion transitions */
.faq-item {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.faq-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(156, 36, 255, 0.1);
}

.faq-answer {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  opacity: 0;
}

.faq-item.expanded {
  background: rgba(156, 36, 255, 0.02);
}

.faq-item.expanded .faq-answer {
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-icon svg {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.expanded .faq-icon svg {
  transform: rotate(180deg);
}

.faq-question {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-question:hover {
  color: var(--primary-color);
}

/* Button loading states with smooth transitions */
.btn.loading {
  opacity: 0.7;
  transform: scale(0.98);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced floating animation */
@keyframes smoothFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(-8px);
  }
  75% {
    transform: translateY(-4px);
  }
}

.stat-item {
  animation: smoothFloat 8s ease-in-out infinite;
}

.stat-item:hover {
  transform: translateY(-5px) scale(1.05);
  animation-play-state: paused;
}

/* Image hover effects */
.card-image img, .overview-card img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-image:hover img, .overview-card:hover img {
  transform: scale(1.05);
}

/* Progress bar animations */
@keyframes progressBar {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* Form input smooth transitions */
input, textarea, select {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, textarea:focus, select:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(156, 36, 255, 0.15);
}

/* Modal smooth transitions */
.application-modal {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(30px);
  opacity: 0;
}

.application-modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Background parallax effect */
.internships-hero {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section transitions */
section {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button smooth interactions */
.btn, button {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
}

.btn:hover, button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(156, 36, 255, 0.2);
}

.btn:active, button:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.15s ease;
}

/* Navigation smooth transitions */
.nav-item {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item:hover {
  transform: translateY(-1px);
}

.submenu {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(-15px) scale(0.95);
  visibility: hidden;
}

.nav-item:hover .submenu {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

/* Form elements smooth flow */
input, textarea, select {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

input:focus, textarea:focus, select:focus {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 25px rgba(156, 36, 255, 0.15);
}

/* Hero stats smooth animation flow */
.hero-stats {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-item {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: smoothFloat 8s ease-in-out infinite;
}

.stat-item:hover {
  transform: translateY(-5px) scale(1.05);
  animation-play-state: paused;
}

/* Enhanced keyframe for smoother floating */
@keyframes smoothFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(-8px);
  }
  75% {
    transform: translateY(-4px);
  }
}

/* Track card badge smooth animations */
.track-badge {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.track-card:hover .track-badge {
  transform: scale(1.1);
  background: var(--primary-color);
  color: white;
}

/* Section headers smooth entrance */
.section-header h2 {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-header.animate-in h2 {
  transform: translateY(0);
  opacity: 1;
}

/* Performance optimizations for smooth flow */
.overview-card,
.track-card,
.faq-item {
  transform: translateZ(0); /* Force hardware acceleration */
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Smooth loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Responsive smooth flow adjustments */
@media (max-width: 768px) {
  .overview-card:hover, .track-card:hover {
    transform: translateY(-6px) scale(1.02);
  }
  
  .btn:hover, button:hover {
    transform: translateY(-2px) scale(1.01);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
