/* Homepage Specific Styles */

/* Hero Section */
.hero {
  position: relative;
  height: calc(100vh - 70px);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 54, 0.3) 0%, rgba(0, 0, 54, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.hero-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: auto;
}

.hero-logo-side {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 0 30px rgba(255, 97, 9, 0.5),
    0 0 60px rgba(255, 97, 9, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  animation: logoFloat 3s ease-in-out infinite;
  position: relative;
  object-fit: cover;
}

.hero-logo-side:last-child {
  animation-delay: 1.5s;
}

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

.hero-logo-side::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--accent-color);
  border-bottom-color: var(--secondary-color);
  animation: spinRing 3s linear infinite;
}

.hero-logo-side::after {
  content: '';
  position: absolute;
  top: -25px;
  left: -25px;
  right: -25px;
  bottom: -25px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  animation: spinRingReverse 8s linear infinite reverse;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinRingReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.hero-divider {
  width: 350px;
  max-width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  margin: 30px auto;
  animation: fadeInLeft 1s ease-in-out 0.3s both;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-in-out 0.4s both;
  text-shadow: 0 0 40px rgba(255, 97, 9, 0.5);
  background: linear-gradient(90deg, #ffffff, #ffaa66);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-in-out 0.6s both;
  opacity: 0.95;
}

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

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

/* Introduction Section */
.intro-section {
  padding: 80px 0;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.intro-text h2 {
  font-size: 2.2rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.intro-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.intro-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
}

/* Mission & Vision */
.mission-vision {
  padding: 80px 0;
  background: var(--bg-light);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mission-card,
.vision-card {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: var(--transition);
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-5px);
}

.mission-card .icon,
.vision-card .icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.mission-card h2,
.vision-card h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.mission-card p,
.vision-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Values Section */
.values {
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: var(--transition);
}

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

.value-card .icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.value-card h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.value-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

/* Why Pillars Section */
.why-pillars {
  padding: 80px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: var(--transition);
}

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

.pillar-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.pillar-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

/* Alumni Section */
.alumni-section {
  padding: 80px 0;
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.alumni-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: var(--transition);
  padding-bottom: 20px;
}

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

.alumni-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.alumni-card h4 {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin: 15px 0 5px;
}

.alumni-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Achievements Section */
.achievements-section {
  padding: 80px 0;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.achievement-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

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

.achievement-number {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.achievement-card h3 {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.achievement-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
}

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

.testimonial-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

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

.testimonial-quote {
  font-size: 3rem;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 10px;
  font-family: serif;
}

.testimonial-text {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

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

.testimonial-author h4 {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 3px;
}

.testimonial-author p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Latest News Section */
.latest-news {
  padding: 80px 0;
}

.news-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-date {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.news-content h3 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.news-link {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.news-link:hover {
  color: var(--secondary-color);
}

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

.btn-large {
  padding: 14px 40px;
  font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover;
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* News Section */
.news-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

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

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-content {
  padding: 20px;
}

.news-card-content .date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-card-content h3 {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .alumni-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    height: auto;
    padding: 100px 0 60px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-logos {
    justify-content: center;
    gap: 20px;
  }

  .hero-logo-side {
    width: 100px;
    height: 100px;
  }

  .hero-divider {
    width: 200px;
  }

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

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

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

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

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

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

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

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

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

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

  .section-header h2 {
    font-size: 1.8rem;
  }
}
