/* ============= ANNOUNCEMENTS SECTION ============= */

marquee {
  color: #f3f0f0;
  font-weight: bold;
  padding: 5px;
  background: #f5f3ff;
  border: 3px solid #ff0000;
  border-left: 5px solid #ff0000;
  border-radius: 8px;
  /* margin: 0 px; */
}

/* .announcements-section {
  background: #f0efef;
  padding: 5px 20px;
  margin-top: 2px;
  position: sticky;
  top: 0;
  z-index: 10;
} */

.announcement-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ff0000;
  font-weight: 600;
  /* max-width: 95%; */
  /* margin: 0 auto; */
}

.announcement-banner i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

marquee {
  color: #eb1515;
  font-weight: 600;
  flex-grow: 1;
}

/* ============= HERO BANNER ============= */
.hero-banner {
  background: linear-gradient(135deg, #003b77 0%, #e53333 100%);
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner::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="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="30" r="3" fill="white" opacity="0.1"/><circle cx="40" cy="70" r="2" fill="white" opacity="0.1"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.hero-tagline {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 15px;
  font-style: italic;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.95);
}

/* Hero Banner Section */
.hero-banner {
  background: linear-gradient(135deg, #003b77 0%, #e53333 100%);
  color: #fff;
  padding: 80px 20px;
  border-radius: 20px;
  max-width: 1200px;
  margin: 40px auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1.6rem;
  color: #ffd700;
  font-style: italic;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  font-weight: 500;
}

/* CTA Buttons Container */
.hero-cta-buttons {
  display: inline-flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons General */
.hero-cta-buttons a.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 38px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Primary Button */
.hero-cta-buttons a.btn-primary {
  background-color: #ffffff;
  color: #003b77;
  border: 2px solid #ffffff;
}

.hero-cta-buttons a.btn-primary:hover {
  background-color: #f71c1c;
  color: #ffffff;
  border-color: #f80b0b;
  box-shadow: 0 6px 20px rgba(245, 82, 32, 0.45);
}

/* Secondary Button */
.hero-cta-buttons a.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.hero-cta-buttons a.btn-secondary:hover {
  background-color: #fa1c1c;
  color: #fff;
  border-color: #e53333;
  /* box-shadow: 0 6px 20px rgba(229, 51, 51, 0.45); */
}

/* Responsive Text and Layout */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  
  .hero-cta-buttons {
    gap: 16px;
  }

  .hero-cta-buttons a.btn {
    font-size: 1rem;
    padding: 14px 28px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-cta-buttons {
    flex-direction: column;
  }

  .hero-cta-buttons a.btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============= HERO BANNER ============= */

/* ============= ABOUT INSTITUTE ============= */
.about-institute {
  max-width:900px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.about-institute h2 {
  color: #003b77;
  font-size: 2rem;
  margin-bottom: 25px;
}

.about-content p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.read-more-link {
  color: #e53333;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.read-more-link:hover {
  color: #003b77;
  transform: translateX(5px);
}

/* ============= ABOUT INSTITUTE ============= */

/* ============= HIGHLIGHTS SECTION ============= */
.highlights-section {
  background: #f7fafd;
  padding: 50px 20px;
  margin: 50px 0;
  border-radius: 12px;
}

.highlights-section h2 {
  text-align: center;
  color: #003b77;
  margin-bottom: 40px;
  font-size: 2rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-top: 4px solid #e53333;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(229,51,51,0.15);
}

.highlight-icon {
  font-size: 2.8rem;
  color: #e53333;
  margin-bottom: 15px;
}

.highlight-card h3 {
  color: #003b77;
  font-size: 1.2rem;
  margin: 12px 0;
}

.highlight-card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.highlight-stat {
  display: block;
  color: #e53333;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8e8e8;
}

/* ============= HIGHLIGHTS SECTION ============= */

/* ============= COURSES OFFERED ============= */
.courses-offered {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.courses-offered h2 {
  text-align: center;
  color: #003b77;
  margin-bottom: 40px;
  font-size: 2rem;
}

.courses-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.course-preview-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.course-preview-card:hover {
  border-color: #e53333;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(229,51,51,0.15);
}

.course-icon {
  font-size: 2.5rem;
  color: #e53333;
  margin-bottom: 15px;
}

.course-preview-card h3 {
  color: #003b77;
  font-size: 1.3rem;
  margin: 12px 0;
}

.course-list {
  color: #e53333;
  font-weight: 600;
  margin: 8px 0;
  font-size: 0.95rem;
}

.course-desc {
  color: #555;
  font-size: 0.9rem;
  margin: 12px 0;
}

.view-link {
  color: #e53333;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.view-link:hover {
  color: #003b77;
}

.view-all-courses {
  text-align: center;
}
/* ============= COURSES OFFERED ============= */

/* ============= FEATURED FACULTY ============= */
.featured-faculty {
  background: #f7fafd;
  padding: 50px 20px;
  margin: 50px 0;
  border-radius: 12px;
}

.featured-faculty h2 {
  text-align: center;
  color: #003b77;
  margin-bottom: 40px;
  font-size: 2rem;
}

.faculty-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
}

.faculty-card-home {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-top: 4px solid #e53333;
}

.faculty-card-home:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(229,51,51,0.15);
}

.faculty-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.faculty-img-home {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.faculty-card-home:hover .faculty-img-home {
  transform: scale(1.05);
}

.faculty-subject-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e53333;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.faculty-card-content {
  padding: 20px;
}

.faculty-card-content h3 {
  color: #003b77;
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}

.faculty-title {
  color: #e53333;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 4px 0;
}

.faculty-qualification {
  color: #666;
  font-size: 0.85rem;
  margin: 4px 0;
}

.faculty-bio {
  color: #555;
  font-size: 0.85rem;
  margin: 10px 0;
  line-height: 1.5;
}

.faculty-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.faculty-rating i {
  color: #ffc107;
  font-size: 0.8rem;
}

.faculty-rating span {
  color: #666;
  font-size: 0.85rem;
  font-weight: 600;
}

.view-all-faculty {
  text-align: center;
}

/* ============= FEATURED FACULTY ============= */

/* ============= STATS SECTION HOME ============= */
.stats-section-home {
  background: linear-gradient(135deg, #003b77 0%, #e53333 100%);
  padding: 50px 20px;
  margin: 50px 0;
  border-radius: 12px;
}

.stats-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card-home {
  text-align: center;
  color: #fff;
}

.stat-number-large {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-year {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ============= STATS SECTION HOME ============= */

/* ============= QUICK LINKS SECTION ============= */
.quick-links-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.quick-links-section h2 {
  text-align: center;
  color: #003b77;
  margin-bottom: 40px;
  font-size: 2rem;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.quick-link-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.quick-link-card:hover {
  border-color: #e53333;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(229,51,51,0.15);
}

.quick-link-icon {
  font-size: 2.2rem;
  color: #e53333;
  margin-bottom: 12px;
}

.quick-link-card h3 {
  color: #003b77;
  margin: 10px 0;
  font-size: 1.1rem;
}

.quick-link-card p {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
}

/* ============= QUICK LINKS SECTION ============= */


/* CTA Banner Section */
.cta-banner {
  background: linear-gradient(135deg, #003b77 0%, #e53333 100%);
  color: #fff;
  padding: 80px 20px;
  border-radius: 20px;
  max-width: 1200px;
  margin: 40px auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Decorative subtle overlay pattern – optional */
.cta-banner::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="15" cy="15" r="3" fill="white" opacity="0.08"/><circle cx="85" cy="30" r="2" fill="white" opacity="0.08"/><circle cx="45" cy="75" r="3" fill="white" opacity="0.08"/></svg>') no-repeat center center;
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
}

.cta-banner h2 {
  position: relative;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #f7f4f4;
  z-index: 1;
}

.cta-banner p {
  position: relative;
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: rgba(238, 215, 8, 0.95);
  font-weight: 500;
  z-index: 1;
}

/* CTA Buttons Container */
.cta-buttons-banner {
  position: relative;
  display: inline-flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 1;
}

/* Button Base Style */
.cta-buttons-banner a.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 38px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

/* Light Button */
.btn-light {
  background: #ffffff;
  color: #e53333;
  border: 2px solid #fff;
  box-shadow: 0 4px 15px rgba(229, 51, 51, 0.3);
}
.btn-light:hover {
  background: #eb3131;
  color: #ffffff;
  border-color: #fc1313;
  box-shadow: 0 6px 20px rgba(235, 49, 49, 0.55);
}

/* Outline Light Button */
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid #f3f3f3;
  box-shadow: none;
}
.btn-outline-light:hover {
  background: #fff;
  color: #e53333;
  border-color: #e53333;
  box-shadow: 0 6px 20px rgba(229, 51, 51, 0.55);
}

/* Responsive Typography and Layout */
@media (max-width: 768px) {
  .cta-banner h2 {
    font-size: 2rem;
  }
  .cta-banner p {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .cta-buttons-banner a.btn {
    font-size: 1rem;
    padding: 12px 28px;
  }
}

@media (max-width: 480px) {
  .cta-banner h2 {
    font-size: 1.6rem;
  }
  .cta-banner p {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }
  .cta-buttons-banner {
    flex-direction: column;
    gap: 16px;
  }
  .cta-buttons-banner a.btn {
    width: 100%;
    justify-content: center;
  }
}
