/*hero*/
.hero {
  position: relative;
  height: 90vh;
  background: url("../images/hero-bg.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  color: #fff;
  animation: slideUp 1s ease;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 18px;
  color: #e5e7eb;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-primary {
  background: #8b1c1c;
  padding: 14px 28px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
}

.btn-outline {
  border: 2px solid #fff;
  padding: 14px 28px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/*motto vision*/
.section {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: #0b4fa3;
  margin-bottom: 50px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.info-card {
  background: #fff;
  padding: 40px 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
}

.info-card:hover {
  transform: translateY(-10px);
}

.info-card i {
  font-size: 40px;
  color: #8b1c1c;
  margin-bottom: 15px;
}
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/*principal*/
.principal-box {
  max-width: 900px;
  margin: auto;
  display: flex;
  gap: 30px;
  align-items: center;
}

.principal-box img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #8b1c1c;
}

@media (max-width: 700px) {
  .principal-box {
    flex-direction: column;
    text-align: center;
  }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 700;
}

.news-tag {
  background: #0b4fa3;
  color: #fff;
}
.event-tag {
  background: #8b1c1c;
  color: #fff;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/*gallery*/
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  transition: 0.4s;
}

.gallery img:hover {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*main*/
.page-hero {
  position: relative;
  background: url("../images/about-bg.png") center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
}

.page-hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.page-hero-content h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  margin-bottom: 15px;
}

.page-hero-content p {
  font-size: 20px;
  color: #e5e7eb;
}

.soft-bg {
  background: #f8fafc;
}

.content-width {
  max-width: 1000px;
  margin: auto;
}

.lead-text {
  font-size: 20px;
  font-weight: 600;
  color: #0b4fa3;
  margin-bottom: 20px;
}

.values-grid {
  max-width: 800px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.values-grid div {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.values-grid i {
  display: block;
  font-size: 28px;
  color: #8b1c1c;
  margin-bottom: 10px;
}

@media (max-width: 800px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/*academics*/
.pathway-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
}

.pathway-card:hover {
  transform: translateY(-10px);
}

.pathway-card i {
  font-size: 40px;
  color: #8b1c1c;
  margin-bottom: 15px;
}

.pathway-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.pathway-card p {
  color: #0b4fa3;
  font-weight: 600;
  margin-bottom: 10px;
}

.pathway-card ul {
  list-style: disc;
  padding-left: 20px;
  color: #475569;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/*admission*/
.admission-info {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.admission-info li {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e293b;
}

.admission-info i {
  color: #8b1c1c;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.download-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #1e293b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.download-card:hover {
  transform: translateY(-8px);
  background: #8b1c1c;
  color: #fff;
}

.download-card i {
  font-size: 40px;
  margin-bottom: 12px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/*downloads*/
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: auto;
  margin-top: 40px;
}

.download-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.download-card:hover {
  transform: translateY(-8px);
  background: #8b1c1c;
  color: #fff;
}

.download-card i {
  font-size: 50px;
  margin-bottom: 12px;
}

.download-card p {
  font-size: 16px;
}

@media (max-width: 1000px) {
  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .downloads-grid {
    grid-template-columns: 1fr;
  }
}

/*contact*/
.contact-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 20px;
}

.contact-info h2,
.contact-form h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #0f172a;
}

.contact-info p {
  color: #475569;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 16px;
}

.contact-item i {
  font-size: 18px;
  color: #8b1c1c;
}

.contact-form {
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

/* MAP */
.map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/*news*/
/* NEWS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-date {
  font-size: 13px;
  color: #64748b;
}

.news-content h3 {
  font-size: 20px;
  margin: 10px 0;
}

.read-more {
  color: #8b1c1c;
  font-weight: 600;
  text-decoration: none;
}

/* EVENTS */
.events-grid {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  display: flex;
  background: #0f172a;
  color: #fff;
  border-radius: 14px;
  padding: 20px;
  gap: 20px;
}

.event-date {
  background: #8b1c1c;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  min-width: 70px;
}

.event-date span {
  font-size: 26px;
  font-weight: 700;
}

.event-details h3 {
  margin-bottom: 8px;
}

.event-location {
  font-size: 14px;
  color: #e5e7eb;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/*pagination*/
.pagination {
  text-align: center;
  margin: 30px 0;
}

.pagination a {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  background: #f5f7fa;
  color: #1e293b;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.pagination a:hover {
  background: #8b1c1c;
  color: #fff;
}

.pagination a.active {
  background: #8b1c1c;
  color: #fff;
}

/* SINGLE NEWS */
.news-single-container {
  max-width: 900px;
  margin: auto;
}

.small-hero {
  padding: 120px 20px 80px;
}

.news-meta {
  font-size: 14px;
  color: #e5e7eb;
  margin-bottom: 10px;
  display: inline-block;
}

.news-feature-image {
  width: 100%;
  border-radius: 18px;
  margin: 30px 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.news-content {
  font-size: 17px;
  line-height: 1.8;
  color: #1e293b;
}

.news-content .lead {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.news-content p {
  margin-bottom: 18px;
}

.news-content blockquote {
  margin: 30px 0;
  padding: 25px;
  background: #f8fafc;
  border-left: 5px solid #8b1c1c;
  border-radius: 10px;
  font-style: italic;
}

.news-content blockquote span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: #334155;
}

.news-back {
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .news-content {
    font-size: 16px;
  }

  .news-content .lead {
    font-size: 18px;
  }
}

/* EVENT SINGLE */
.event-hero .event-subtitle {
  max-width: 700px;
  margin: 10px auto 0;
  font-size: 17px;
  color: #e5e7eb;
}

.event-single-container {
  max-width: 900px;
  margin: auto;
  position: relative;
}

.event-date-card {
  background: #8b1c1c;
  color: #fff;
  width: 120px;
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  margin: -60px auto 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.event-date-card .day {
  font-size: 34px;
  font-weight: 700;
  display: block;
}

.event-date-card .month {
  font-size: 16px;
  letter-spacing: 1px;
}

.event-date-card .year {
  font-size: 14px;
  opacity: 0.9;
}

.event-content {
  font-size: 17px;
  line-height: 1.8;
  color: #1e293b;
}

.event-content .lead {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.event-content h3 {
  margin: 30px 0 15px;
  font-size: 22px;
}

.event-schedule {
  list-style: none;
  padding: 0;
}

.event-schedule li {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.event-schedule i {
  color: #8b1c1c;
}

.event-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 16px;
  margin-top: 40px;
}

.event-back {
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .event-date-card {
    width: 100px;
    margin-top: -40px;
  }

  .event-content {
    font-size: 16px;
  }
}

/* GRID */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

/* NEWS CARD */
.news-card.news-card {
  background: #e0f2ff; /* light blue for news */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.news-card.news-card:hover {
  transform: translateY(-8px);
}

/* EVENT CARD */
.news-card.event-card {
  background: #8b1c1c; /* red for events */
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.news-card.event-card:hover {
  transform: translateY(-8px);
}

/* Images */
.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Content */
.news-content {
  padding: 20px;
}

.news-content h3 {
  margin: 10px 0;
  font-size: 20px;
}

/* Date & venue */
.news-date,
.event-venue {
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}

.event-venue {
  color: #f8d7da; /* light pink-ish on red */
}

/* Read more */
.read-more {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.downloads-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers all cards horizontally */
  gap: 20px; /* space between cards */
  margin-top: 20px;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  color: #1e293b;
  text-decoration: none;
}

.download-card i {
  font-size: 3rem;
  margin-bottom: 12px;
  color: #3b82f6; /* icon color */
}

.download-card p {
  font-weight: 500;
  font-size: 1rem;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .download-card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .download-card {
    width: 80%;
  }
}
