/* Boxed Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Top Header */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0a2a66;
  color: gold;
  padding: 8px 15px;
  flex-wrap: wrap;
}
.top-header .top-left span {
  margin-right: 15px;
  font-size: 14px;
}
.top-header .top-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.top-header a {
  color: gold;
  text-decoration: none;
}
.top-header a:hover {
  text-decoration: underline;
}
.search-form {
  display: flex;
  align-items: center;
}
.search-form input {
  padding: 5px;
  border-radius: 4px 0 0 4px;
  border: none;
}
.search-form button {
  background: gold;
  border: none;
  padding: 5px 10px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

/* Navigation */
.main-nav {
  background: #004080;
  color: white;
  position: relative;
}
.main-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.main-nav .menu li {
  position: relative;
}
.main-nav .menu > li > a {
  display: block;
  padding: 12px 18px;
  color: white;
  text-decoration: none;
}
.main-nav .menu > li > a:hover {
  background: goldenrod;
}
.main-nav .submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #002a50;
  min-width: 200px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav .submenu li a {
  display: block;
  padding: 10px;
  color: white;
}
.main-nav .submenu li a:hover {
  background: #001833;
}
.main-nav .menu li:hover .submenu {
  display: block;
}
.main-nav .menu-toggle {
  display: none;
  padding: 12px 18px;
  cursor: pointer;
  color: white;
}

/* Navigation */
.main-nav {
  background: #0a2a66;
  color: white;
  position: sticky;   /* makes it stick */
  top: 0;             /* sticks to top */
  z-index: 1000;      /* ensures it's above other sections */
}

/* Hero Slider Section */

/* Style is in Html file */

/* BANNER */
.banner img {
  width: 100%;
  display: block;
  margin: 3px 0;
  border-radius: 6px;
}

/* News Ticker */
.news-ticker-boxed {
  max-width: 1200px;
  margin: 0 auto 15px;
  background-color: #0a2a66;
  color: gold;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  overflow: hidden;
  border: 2px dashed gold;
  border-radius: 8px;
  box-shadow: 0 0 10px gold;
}
.news-ticker-icon {
  margin-right: 15px;
  font-size: 22px;
}
.news-ticker-content-wrapper {
  overflow: hidden;
  flex: 1;
  position: relative;
}
.news-ticker-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 50%;
  animation: tickerScroll 60s linear infinite;
  font-weight: bold;
  font-size: 16px;
}
.news-ticker-content-wrapper:hover .news-ticker-content {
  animation-play-state: paused;
}
@keyframes tickerScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}
.news-ticker-content a {
  color: gold;
  text-decoration: none;
  margin: 0 20px;
}
.news-ticker-content a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #0a2a66;
  color: gold;
  border-radius: 6px;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav .menu {
    flex-direction: column;
    display: none;
  }
  .main-nav .menu.show {
    display: flex;
  }
  .main-nav .menu-toggle {
    display: block;
  }
}
/* Boxed layout */
.slider-container {
  max-width: 1200px;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.slider {
  position: relative;
  height: 500px;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  max-width: 80%;
}

.slide-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.slide-content .btn {
  display: inline-block;
  padding: 12px 30px;
  background: #ffcc00;
  color: #002147;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.slide-content .btn:hover {
  background: #e6b800;
}

/* Navigation arrows */
.slider-nav span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
}

.slider-nav .prev { left: 15px; }
.slider-nav .next { right: 15px; }

/* Dots */
.slider-dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.slider-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots span.active {
  background: goldenrod;
}

/* Responsive */
@media (max-width: 768px) {
  .slider { height: 350px; }
  .slide-content h2 { font-size: 1.8rem; }
  .slide-content p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .slider { height: 250px; }
  .slide-content h2 { font-size: 1.2rem; }
  .slide-content p { font-size: 0.9rem; }
}

.hero-section {
  position: relative;
  background-color: #0a2a66; /* Midnight Blue */
  color: goldenrod;
  padding: 60px 20px;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px 0;
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1310px;
  margin: 0 auto;
  align-items: center;
}

.hero-left, .hero-right {
  flex: 1 1 300px;
  padding: 20px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: gold;}

.hero-subtext {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: white;
}

.btn {
  padding: 10px 20px;
  margin: 5px;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
}

.btn-primary {
  background: gold;
  color: black;
}

.btn-primary:hover {
  background: #191970;
  border: white;
  border-style: groove;
  color: white/* Lighter gold on hover */
}

.btn-secondary {
  background: white;
  color: black;
}

.btn-secondary:hover {
  background: gold;
  color: #191970;
}

.president-photo {
  width: 100%;
  border-radius: 10px;
}

.president-info {
  background: rgba(255, 255, 255, 0.9);
  color: black;
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  text-align: center;
}

.president-name {
  font-weight: bold;
  font-size: 1.2rem;
}

.president-position {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.president-link {
  display: inline-block;
  margin-bottom: 10px;
  color: #333;
  text-decoration: underline;
}

.social-icons a {
  color: #333;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: gold;
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
}
/* Banner Boxed Layout */
.banner-boxed {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.banner-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 2fr; /* first 3 equal, last is larger */
  gap: 1px;
  align-items: stretch;
}

/* Each item */
.banner-item {
  background: black;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.banner-item:hover {
  transform: translateY(-5px);
}

/* Larger column */
.banner-item.large {
  background: goldenrod;
  color: black;
  text-align: left;
  justify-content: center;
}

/* Text styles */
.banner-text h3 {
  font-size: 1.2rem;
  margin: 10px 0 5px;
  font-weight: 600;
  color: white;
}

.banner-text p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: white;
  
}

.banner-item.large h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Button */
.banner-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: #004080;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s;
}

.banner-btn:hover {
  background: #e6b800;
}

/* Icons */
.banner-icon {
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .banner-container {
    grid-template-columns: 1fr 1fr;
  }
  .banner-item.large {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .banner-container {
    grid-template-columns: 1fr;
  }
  .banner-item.large {
    grid-column: span 1;
    text-align: center;
  }
}


/* Section Styling */
.accreditation-section {
  background: #fff url('background.jpg') no-repeat center/cover;
  padding: 60px 20px;
  text-align: center;
}

.container {
  max-width: 1310px;
  margin: auto;
}

.section-title {
  font-size: 2.5rem;
  color: #d4af37; /* Gold */
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #555;
  line-height: 1.6;
  max-width: 800px;
  margin-inline: auto;
}

/* Cards */
.accreditation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.accreditation-card {
  background: #ffffffcc;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.accreditation-card:hover {
  transform: translateY(-5px);
}

.accreditation-card img {
  max-width: 80px;
  margin-bottom: 15px;
}

.accreditation-card h4 {
  color: #222;
  margin-bottom: 5px;
}

.accreditation-card p {
  font-size: 0.95rem;
  color: #666;
}

/* CTA Button */
.cta-buttons {
  margin-top: 20px;
}

.btn-accreditation {
  background-color: Gold;
  color: black;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-accreditation:hover {
  background-color: #191970;
  color: white;
}

.btn-accreditation i {
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 512px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .btn-accreditation {
    width: 90%;
    display: inline-block;
  }
}


.admission-section {
  background: linear-gradient(135deg, #fdf6e3, #f7e6b1);
  padding: 80px 20px;
}

.admission-container {
  max-width: 1200px;
  margin: 0 auto;
}

.admission-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.admission-text {
  flex: 1;
  min-width: 300px;
  animation: fadeInLeft 1s ease-in-out forwards;
  opacity: 0;
  transform: translateX(-30px);
}

.admission-heading {
  font-size: 36px;
  font-weight: bold;
  color: #5a4500;
  margin-bottom: 20px;
}

.admission-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #3d3000;
  margin-bottom: 25px;
  text-align: justify;
}



.admission-points {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
  text-align: left;
}

.admission-points li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
  color: #4a3c00;
}

.admission-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #b8860b;
  font-weight: bold;
}

.admission-button {
  background-color: #d4af37;
  color: #fff;
  padding: 12px 26px;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admission-button:hover {
  background-color: #b88900;
}

.admission-image {
  flex: 1;
  min-width: 280px;
  animation: fadeInRight 1s ease-in-out forwards;
  opacity: 0;
  transform: translateX(30px);
}

.admission-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .admission-columns {
    flex-direction: column;
  }

  .admission-text,
  .admission-image {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .admission-heading {
    font-size: 28px;
  }
}

/* Admission Section */
.admission-section {
  position: relative;
  background: url('/images/admission-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 20px;
  overflow: hidden;
}

.admission-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,42,102,0.85), rgba(20,61,140,0.85));
  z-index: 0;
}

.admission-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.admission-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.admission-container p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.quick-info {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  font-size: 1rem;
}

.quick-info li {
  margin: 8px 0;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-primary {
  background: #ffcc00;
  color: #0a2a66;
}

.btn-primary:hover {
  background: #e6b800;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #ffcc00;
  color: #ffcc00;
}

.btn-secondary:hover {
  background: #ffcc00;
  color: #0a2a66;
}

/* Responsive */
@media (max-width: 768px) {
  .admission-container h2 {
    font-size: 1.6rem;
  }
  .admission-container p {
    font-size: 1rem;
  }
}

.why-choose-section {
  padding: 80px 20px;
}

.why-choose-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
  justify-content: space-between;
}

.why-left, .why-right {
  flex: 1;
  min-width: 280px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-left {
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-left h2 {
  font-size: 40px;
  font-weight: bold;
  color: white;
  margin: 0;
}

.why-right {
  background-color: goldenrod; /* Night blue */
  color: black;
}

.why-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-points li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.6;
}

.why-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00ff90; /* Green checkmark */
  font-weight: bold;
  font-size: 20px;
}

@media (max-width: 768px) {
  .why-choose-container {
    flex-direction: column;
  }

  .why-left h2 {
    font-size: 32px;
    text-align: center;
  }
}

/* News Section */
/* Boxed News Ticker */
.news-ticker-boxed {
  max-width: 1200px;
  margin: 10px auto;
  background-color: linear-gradient(135deg, #0a1a2f, #123456);
  color: gold;
  display: flex;
  align-items: center;
  padding: 18px 24px;
  overflow: hidden;
  border: 2px solid gold;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  margin-bottom: 20px;
}

.news-ticker-heading {
  font-size: 28px;
  font-weight: 700;
  color: #004080;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  text-align: center;


}

/* Icon at the start */
.news-ticker-icon {
  margin-right: 15px;
  font-size: 22px;
  flex-shrink: 0;
}

/* Wrapper for scrolling content */
.news-ticker-content-wrapper {
  overflow: hidden;
  flex: 1;
  position: relative;
}

/* Scrolling content */
.news-ticker-content {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite; /* slow scroll */
  align-items: center;
}

/* Each news item */
.news-item {
  display: inline-flex;
  align-items: center;
  margin-right: 40px;
  text-decoration: none;
  color: gold;
  font-size: 15px;
  font-weight: 500;
}

.news-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
  flex-shrink: 0;
  border: 2px solid gold;
}

.news-item .date {
  font-size: 13px;
  opacity: 0.8;
  margin-right: 8px;
}

.news-item .title {
  font-size: 15px;
  font-weight: bold;
  white-space: nowrap;
}

/* Hover effect */
.news-item:hover {
  text-decoration: underline;
}

/* Pause animation on hover */
.news-ticker-content-wrapper:hover .news-ticker-content {
  animation-play-state: paused;
}

/* Ticker animation */
@keyframes tickerScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%); /* works with duplicated content */
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .news-ticker-boxed {
    padding: 10px 15px;
  }

  .news-item {
    font-size: 14px;
    margin-right: 25px;
  }

  .news-item img {
    width: 40px;
    height: 40px;
  }

  .news-item .title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .news-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-item img {
    margin-bottom: 5px;
  }
}

.news-row {
  background: linear-gradient(135deg, #0a1a2f, #123456);
  padding: 50px 0;
  display: flex;
  justify-content: center;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.news-heading {
  text-align: center;
  font-size: 28px;
  color: goldenrod;
  margin-bottom: 30px;
}

.news-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.news-card {
  flex: 1 1 calc(25% - 20px);
  background: #fff; /* ensures content is visible */
  color: #222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  text-align: center;
  transition: transform 0.3s ease;
}

.news-card img {
  width: 100%;
  height: auto;
  display: block;
}

.news-card h3 {
  font-size: 18px;
  margin: 12px 0 6px;
  color: #004080;
}

.news-card .date {
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
}

.news-card:hover {
  transform: translateY(-6px);
}

/* Responsive */
@media (max-width: 992px) {
  .news-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .news-card {
    flex: 1 1 100%;
  }
}

:root {
  --c-primary: #002855;  /* deep navy */
  --c-accent: #e0b84c;   /* gold */
  --c-light: #ffffff;
  --container: 1200px;
}

.event-section {
  padding: 40px 20px;
  background: var(--c-light);
  display: flex;
  justify-content: center;
}

.event-container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}

.event-cover {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  max-width: var(--container);
  margin: 0 auto;

}

.event-cover img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* darken for overlay contrast */
}

.event-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 40, 85, 0.85);
  color: var(--c-light);
  padding: 20px;
  text-align: left;
  animation: fadeInUp 1s ease forwards;
}

.event-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 0 10px;
}

.event-tagline {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 15px;
}

.event-datetime,
.event-location {
  font-size: 0.95rem;
  margin: 5px 0;
}

.event-cta {
  margin-top: 15px;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-right: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-primary);
  font-weight: bold;
}

.btn-primary:hover {
  background: #d4a73e;
}

.btn-secondary {
  background: transparent;
  color: var(--c-light);
  border: 1px solid var(--c-light);
}

.btn-secondary:hover {
  background: var(--c-light);
  color: var(--c-primary);
}

.calendar-options {
  display: none;
  position: absolute;
  background: var(--c-light);
  color: var(--c-primary);
  border-radius: 6px;
  top: 110%;
  left: 0;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
}

.calendar-options a {
  display: block;
  padding: 6px 10px;
  color: var(--c-primary);
  text-decoration: none;
}

.calendar-options a:hover {
  background: rgba(0,0,0,0.05);
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsiveness */
@media (max-width: 768px) {
  .event-overlay {
    text-align: center;
  }
  .btn {
    margin: 10px 5px 0;
  }
}
/* Counter Section */
:root {
  --container: 1200px;
  --primary: #004080;
  --bg: goldenrod;
}

.counter-section {
  background: var(--bg);
  padding: 60px 20px;
  text-align: center;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.counter-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.counter-box {
  flex: 1;
  min-width: 220px;
  padding: 30px 15px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(135deg, #0a1a2f, #123456);;


}

.counter-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
  color: white;
}

.counter-box p {
  font-size: 1rem;
  font-weight: 500;
  color: white;
}

/* Responsive */
@media (max-width: 992px) {
  .counter-grid {
    flex-wrap: wrap;
    gap: 15px;
  }
  .counter-box {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .counter-box {
    flex: 1 1 100%;
  }
}


/* Alumni Section */

.alumni-section {
  background: linear-gradient(135deg, #f8f9fc, #eef2f7);
  padding: 60px 20px;
}

.alumni-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.alumni-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #0a2a66;
}

.alumni-slider {
  overflow: hidden;
  position: relative;
}

.alumni-track {
  display: flex;
  gap: 20px;
  animation: scroll 25s linear infinite;
}

.alumni-card {
  flex: 0 0 calc(25% - 20px); /* 4 per row */
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alumni-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.alumni-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.alumni-card h3 {
  font-size: 18px;
  color: #0a2a66;
  margin-bottom: 5px;
}

.alumni-card .position {
  font-size: 14px;
  color: #555;
  font-style: italic;
  margin-bottom: 10px;
}

.alumni-card .message {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* Animation for auto-scroll */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause animation on hover */
.alumni-slider:hover .alumni-track {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 1024px) {
  .alumni-card {
    flex: 0 0 calc(50% - 20px); /* 2 per row */
  }
}

@media (max-width: 600px) {
  .alumni-card {
    flex: 0 0 100%; /* 1 per row */
  }
}

/* FAQ Section */


.faq-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 60px 20px;
  box-sizing: border-box;
}

.faq-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.faq-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes image behave like CSS background */
  opacity: 0.3;      /* Fades so text is readable */
}

/* Content Container */
.faq-container {
  max-width: 1200px;   /* Boxed layout */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255, 255, 255, 0.85); /* Light overlay for readability */
  padding: 30px;
  border-radius: 10px;
}

/* Columns */
.faq-column {
  flex: 1;
  min-width: 250px;
}

.faq-column h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #222;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}

.faq-column ul {
  list-style: none;
  padding: 0;
}

.faq-column ul li {
  margin: 8px 0;
  font-size: 16px;
  color: #333;
}

/* Form */
.faq-column form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-column input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.faq-column button {
  background: goldenrod;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.faq-column button:hover {
  background: #004494;
}

/* Responsive */
@media (max-width: 900px) {
  .faq-container {
    flex-direction: column;
    text-align: center;
  }
}

/* logo slider section */

/* Boxed Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.logo-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #222;
  font-weight: 600;
}

/* Slider Wrapper */
.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #004080;
}

.logo-track {
  display: flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.logo-track a {
  flex: 0 0 auto;
}

.logo-track img {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-track img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Keyframes for scrolling */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .logo-track img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .logo-track img {
    height: 50px;
  }
}

/* CSS (Scoped for Facilities Section) */

  .facilities-section {
    padding: 60px 20px;
    background: #eaeced;
  }

  .facilities-section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .facilities-section .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #002147; /* deep navy */
  }

  /* Filters */
  .facility-filters {
    margin-bottom: 30px;
  }

  .facility-filters .filter-btn {
    background: #eee;
    border: none;
    padding: 8px 16px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }

  .facility-filters .filter-btn.active,
  .facility-filters .filter-btn:hover {
    background: #002147;
    color: #fff;
  }

  /* Grid Layout */
  .facility-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .facility-card {
    background: goldenrod;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    width: calc(25% - 20px);
    min-width: 250px;
    transition: transform 0.3s ease;
    text-align: left;
  }

  .facility-card:hover {
    transform: translateY(-5px);
  }

  .facility-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .facility-card h3 {
    margin: 15px;
    font-size: 1.2rem;
    color: #002147;
  }

  .facility-card p {
    margin: 0 15px 20px;
    font-size: 0.95rem;
    color: #555;
  }

  /* Responsive */
  @media (max-width: 992px) {
    .facility-card {
      width: calc(50% - 20px);
    }
  }

  @media (max-width: 600px) {
    .facility-card {
      width: 100%;
    }
  }

  /* Testimonial section */
 
.alumni-section {
  background: linear-gradient(135deg, #0a1a2f, #123456);;
  padding: 60px 20px;
}

.alumni-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.alumni-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: goldenrod;
}

.alumni-slider {
  overflow: hidden;
  position: relative;
}

.alumni-track {
  display: flex;
  gap: 20px;
  animation: scroll 25s linear infinite;
}

.alumni-card {
  flex: 0 0 calc(25% - 20px); /* 4 per row */
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alumni-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.alumni-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.alumni-card h3 {
  font-size: 18px;
  color: #0a2a66;
  margin-bottom: 5px;
}

.alumni-card .position {
  font-size: 14px;
  color: #555;
  font-style: italic;
  margin-bottom: 10px;
}

.alumni-card .message {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* Animation for auto-scroll */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause animation on hover */
.alumni-slider:hover .alumni-track {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 1024px) {
  .alumni-card {
    flex: 0 0 calc(50% - 20px); /* 2 per row */
  }
}

@media (max-width: 600px) {
  .alumni-card {
    flex: 0 0 100%; /* 1 per row */
  }
}

/* Contact us section */

/* Contact Section */

/* Contact Section */
.contact-section {
  background: goldenrod;
  padding: 60px 20px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #0a2a66;
}

.contact-row {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

/* Contact Form */
.contact-form {
  flex: 1;
  background: #958e8e;
  padding: 25px;
  border-radius: 10px;.contact-form {
  flex: 1;
  background: #fff;
  padding: 25px 40px; /* increased left-right padding */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form {
  flex: 1;
  background: #fefefe;
  padding: 25px 40px; /* increased left-right padding */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Floating Labels */
.form-group {
  position: relative;
  margin-bottom: 25px;
}


.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  background: none;
}

.form-group label {
  position: absolute;
  left: 14px;
  top: 14px;
  color: #666;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  pointer-events: none;
  background: #fff;
  padding: 0 5px;
}

/* Float up on focus or when field is not empty */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 0.8rem;
  color: #0a2a66;
}


/* Error Messages */
.error {
  color: red;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
}

#formMessage {
  margin-top: 15px;
  font-weight: bold;
}

/* Button */
.btn-submit {
  background: goldenrod;
  color: #0a2a66;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0a2a66;
  outline: none;
}

.btn-submit {
  background: goldenrod;
  color: #0a2a66;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #0a2a66;
  color: #fff;
}

/* Google Map */
.contact-map {
  flex: 1;
  min-height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-row {
    flex-direction: column;
  }
}

/* Error & Success Messages */
.error {
  color: red;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}

#formMessage {
  margin-top: 15px;
  font-weight: bold;
}

/* Fade-in animation */
.contact-form {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



    /* Footer Base section */
.site-footer {
  background: linear-gradient(135deg, #0a1a2f, #123456);
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 50px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

/* Footer Columns */
.footer-col {
  flex: 1 1 220px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid goldenrod;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col p,
.footer-col li {
  font-size: 0.95rem;
  margin: 8px 0;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #f1c40f;
}

/* Logo */
.footer-logo {
  margin-top: 15px;
  max-width: 120px;
}

/* Social Links */
.social-links {
  margin: 10px 0 15px;
}

.social-links a {
  color: #fff;
  margin-right: 12px;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #f1c40f;
}

/* Newsletter */
.newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter input {
  padding: 10px;
  border: none;
  border-radius: 4px;
  outline: none;
}

.newsletter button {
  padding: 10px;
  background: goldenrod;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter button:hover {
  background: #0a2a66;
}

.footer-divider {
  border: none;
  border-top: 2px solid #e0e0e0; /* grey line */
  margin: 10px auto 0;           /* keep it close to copyright */
  max-width: 1200px;             /* boxed layout */
}


/* Footer Bottom */
/* Footer Bottom Container */
.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 0.9rem;
  color: #fff;
}


.footer-bottom-container a {
  color: #f1c40f;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-container a:hover {
  color: #fff;
}

/* Back to Top Button */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-size: 22px;
  background: #0073e6;
  color: #000;
  border: none;
  padding: 14px 18px;
  border-radius: 50%;
  cursor: pointer;
  display: none; /* Hidden by default */
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: all 0.3s, ease-in-out;
}
#backToTopBtn.show {
  display: block;
}

#backToTopBtn:hover {
  background: #005bb5;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .social-links {
    justify-content: center;
  }
}


/* ===== COMPREHENSIVE RESPONSIVE MEDIA QUERIES ===== */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .page-slide-content h2 {
    font-size: 1.8rem;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  /* Top header adjustments */
  .top-header {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }
  
  .top-header .top-left span {
    display: block;
    margin: 5px 0;
  }
  
  .top-header .top-right {
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  
  /* Navigation adjustments */
  .main-nav .menu {
    flex-direction: column;
    display: none;
  }
  
  .main-nav .menu.show {
    display: flex;
  }
  
  .main-nav .menu-toggle {
    display: block;
    text-align: right;
    padding: 12px 20px;
  }
  
  .main-nav .submenu {
    position: static;
    width: 100%;
    display: none;
  }
  
  .main-nav .menu li:hover .submenu {
    display: none;
  }
  
  .main-nav .menu li.active .submenu {
    display: block;
  }
  
  /* Hero section adjustments */
  .hero-container {
    flex-direction: column;
  }
  
  .hero-left, .hero-right {
    flex: 1 1 100%;
    text-align: center;
  }
  
  .president-photo {
    max-width: 250px;
  }
  
  /* Banner boxed adjustments */
  .banner-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .banner-item.large {
    grid-column: span 2;
  }
  
  /* Slider adjustments */
  .page-slide {
    height: 400px;
  }
  
  .page-slide-content h2 {
    font-size: 1.6rem;
  }
  
  .page-slide-content p {
    font-size: 1rem;
  }
  
  /* Accreditation cards */
  .accreditation-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Admission section */
  .admission-columns {
    flex-direction: column-reverse;
  }
  
  .admission-text, .admission-image {
    min-width: 100%;
  }
  
  /* News cards */
  .news-card {
    flex: 1 1 calc(50% - 20px);
  }
  
  /* Facilities grid */
  .facility-card {
    width: calc(50% - 20px);
  }
  
  /* Footer adjustments */
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
    padding: 0 15px;
  }
  
  /* Top header adjustments */
  .top-header .top-right {
    flex-direction: column;
    gap: 10px;
  }
  
  .search-form {
    width: 100%;
    margin-top: 10px;
  }
  
  .search-form input {
    width: 70%;
  }
  
  /* News ticker */
  .news-ticker-boxed {
    flex-direction: column;
    text-align: center;
  }
  
  .news-ticker-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  /* Slider adjustments */
  .page-slide {
    height: 350px;
  }
  
  .page-slider-nav .prev, 
  .page-slider-nav .next {
    padding: 8px;
    font-size: 18px;
  }
  
  /* Banner boxed adjustments */
  .banner-container {
    grid-template-columns: 1fr;
  }
  
  .banner-item.large {
    grid-column: span 1;
  }
  
  /* Hero section */
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtext {
    font-size: 1rem;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  /* Accreditation cards */
  .accreditation-cards {
    grid-template-columns: 1fr;
  }
  
  /* Why choose us */
  .why-choose-container {
    flex-direction: column;
  }
  
  /* News cards */
  .news-card {
    flex: 1 1 100%;
  }
  
  /* Alumni cards */
  .alumni-card {
    flex: 0 0 calc(100% - 20px);
  }
  
  /* FAQ section */
  .faq-container {
    flex-direction: column;
  }
  
  /* Facilities grid */
  .facility-card {
    width: 100%;
  }
  
  /* Contact section */
  .contact-row {
    flex-direction: column;
  }
  
  .contact-map {
    min-height: 300px;
  }
  
  /* Footer adjustments */
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ===== RESPONSIVE UTILITY CLASSES ===== */
.hidden-mobile {
  display: block;
}

.hidden-desktop {
  display: none;
}

.visible-mobile {
  display: none;
}

.text-center-mobile {
  text-align: left;
}

/* Mobile-first responsive helpers */
@media (max-width: 767.98px) {
  .hidden-mobile {
    display: none !important;
  }
  
  .hidden-desktop {
    display: block !important;
  }
  
  .visible-mobile {
    display: block !important;
  }
  
  .text-center-mobile {
    text-align: center !important;
  }
  
  .full-width-mobile {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .no-padding-mobile {
    padding: 0 !important;
  }
  
  .no-margin-mobile {
    margin: 0 !important;
  }
  
  .stack-mobile {
    flex-direction: column !important;
  }
}

/* Prevent horizontal scrolling */
body, html {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Responsive iframes */
iframe, video {
  max-width: 100%;
  height: auto;
}

/* Responsive tables */
table {
  width: 100%;
  border-collapse: collapse;
}

@media (max-width: 767.98px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  tr {
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }
  
  td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
  }
  
  td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    content: attr(data-label);
    font-weight: bold;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    width: 100%;
    padding: 0 10px;
  }
  
  /* Top header */
  .top-header .top-left span {
    font-size: 12px;
  }
  
  /* Slider adjustments */
  .page-slide {
    height: 300px;
  }
  
  .page-slide-content h2 {
    font-size: 1.4rem;
  }
  
  .page-slide-content .meta {
    font-size: 0.8rem;
  }
  
  .page-slide-content p {
    font-size: 0.9rem;
  }
  
  .page-slide-content .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  /* Banner items */
  .banner-item {
    padding: 15px;
  }
  
  .banner-text h3 {
    font-size: 1.1rem;
  }
  
  .banner-text p {
    font-size: 0.9rem;
  }
  
  .banner-item.large h2 {
    font-size: 1.4rem;
  }
  
  /* Hero section */
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-section {
    padding: 40px 15px;
  }
  
  /* Section titles */
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Accreditation */
  .accreditation-card {
    padding: 15px;
  }
  
  /* Admission section */
  .admission-heading {
    font-size: 1.8rem;
  }
  
  .admission-text p {
    font-size: 1rem;
  }
  
  /* News items */
  .news-item {
    flex-direction: column;
    text-align: center;
    margin-right: 20px;
  }
  
  .news-item img {
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  /* Event section */
  .event-title {
    font-size: 1.4rem;
  }
  
  .event-tagline {
    font-size: 0.9rem;
  }
  
  .event-datetime, .event-location {
    font-size: 0.85rem;
  }
  
  .event-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    margin-right: 0;
    width: 100%;
    text-align: center;
  }
  
  /* Counter section */
  .counter-box {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
  
  .counter {
    font-size: 2rem;
  }
  
  /* Form adjustments */
  .form-group input, 
  .form-group textarea {
    padding: 12px;
  }
}

/* Very small devices (phones in portrait, less than 400px) */
@media (max-width: 400px) {
  /* Slider adjustments */
  .page-slide {
    height: 250px;
  }
  
  .page-slide-content h2 {
    font-size: 1.2rem;
  }
  
  .page-slide-content p {
    font-size: 0.8rem;
  }
  
  /* Hero section */
  .hero-title {
    font-size: 1.4rem;
  }
  
  .hero-subtext {
    font-size: 0.9rem;
  }
  
  /* President info */
  .president-info {
    padding: 10px;
  }
  
  .president-name {
    font-size: 1rem;
  }
  
  .president-position {
    font-size: 0.8rem;
  }
  
  /* Buttons */
  .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  /* News ticker */
  .news-ticker-content a {
    margin: 0 10px;
    font-size: 14px;
  }
}

/* Orientation-based adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .page-slide {
    height: 300px;
  }
  
  .hero-section {
    padding: 30px 15px;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure images are high-res */
  .banner img,
  .page-slide,
  .president-photo,
  .admission-image img,
  .news-card img,
  .event-cover img,
  .alumni-card img,
  .facility-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .top-header,
  .main-nav,
  .hero-buttons,
  .event-cta,
  .newsletter,
  .social-links,
  #backToTopBtn {
    display: none !important;
  }
  
  body, .container {
    width: 100% !important;
    max-width: 100% !important;
    color: #000 !important;
    background: #fff !important;
  }
  
  a {
    color: #000 !important;
    text-decoration: underline !important;
  }
}