/* ============================================
   HOME PAGE STYLES
   ============================================ */

.home-page {
  margin-top: 80px;
}

/* Hero Section */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff9c4 0%, #ffe0b2 50%, #ffecb3 100%);
  padding: 4rem 2rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 217, 61, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(129, 212, 250, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 50% 20%, rgba(165, 214, 167, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 217, 61, 0.25), rgba(255, 179, 71, 0.25));
  color: #d97706;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 217, 61, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 217, 61, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(255, 217, 61, 0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  animation: fadeInUp 0.8s ease-out;
}

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

.gradient-text {
  background: linear-gradient(135deg, #ffd93d, #ffb347, #a5d6a7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 90%;
  animation: fadeInUp 1s ease-out;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease-out;
}

.hero-buttons .btn-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 4px solid white;
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* Stats Section */
.stats-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #ffd93d 0%, #ffb347 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Admissions Banner Section */
.admissions-banner {
  background: linear-gradient(135deg, #ffd93d 0%, #ffb347 50%, #ff9800 100%);
  padding: 4rem 0;
}

.admissions-banner .section-label {
  color: var(--text-dark);
}

.admissions-banner .section-title h2 {
  color: var(--text-dark);
  font-size: 2.75rem;
}

.admissions-banner .section-title p {
  color: var(--text-gray);
  font-size: 1.25rem;
}

.admissions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.admission-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  background: white;
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admission-card:nth-child(1) { animation-delay: 0.1s; }
.admission-card:nth-child(2) { animation-delay: 0.2s; }
.admission-card:nth-child(3) { animation-delay: 0.3s; }
.admission-card:nth-child(4) { animation-delay: 0.4s; }
.admission-card:nth-child(5) { animation-delay: 0.5s; }

.admission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.admission-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.admission-card:hover img {
  transform: scale(1.08);
}

.admission-cta {
  text-align: center;
  margin-top: 3rem;
}

/* About Preview Section */
.about-preview {
  background: var(--warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 4px solid white;
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

.about-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #a5d6a7, #81d4fa);
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(165, 214, 167, 0.4);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.about-content p {
  color: var(--text-gray);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-highlights {
  margin: 2rem 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.highlight-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd93d, #ffb347);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.highlight-item span {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Features Section */
.features-section {
  background: linear-gradient(135deg, #fff9c4 0%, #ffe0b2 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #ffd93d;
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
}

.feature-yellow .feature-icon {
  background: linear-gradient(135deg, #ffd93d, #ffb347);
}

.feature-blue .feature-icon {
  background: linear-gradient(135deg, #81d4fa, #4fc3f7);
}

.feature-green .feature-icon {
  background: linear-gradient(135deg, #a5d6a7, #66bb6a);
}

.feature-orange .feature-icon {
  background: linear-gradient(135deg, #ffb347, #ff9800);
}

.feature-peach .feature-icon {
  background: linear-gradient(135deg, #ffe0b2, #ffb347);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.7;
}

/* Hiring Section */
.hiring-section {
  background: white;
}

.hiring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hiring-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: white;
}

.hiring-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.hiring-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.hiring-card:hover img {
  transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, #a5d6a7 0%, #81d4fa 100%);
}

.testimonials-section .section-label {
  color: #1a5128;
}

.testimonials-section .section-title h2 {
  color: var(--text-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
  margin-bottom: 1.5rem;
}

.star {
  color: #ffd93d;
  font-size: 1.5rem;
  margin-right: 0.25rem;
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-style: italic;
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd93d, #ffb347);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.author-role {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Home CTA Section */
.home-page .cta-section .cta-content p {
  color: var(--text-gray);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admissions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid,
  .hiring-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .home-page {
    margin-top: 70px;
  }

  .hero-section {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.125rem;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .admissions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}
