/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

*{
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #374151; /* default text gray-700 */
}

/* Header */
header {
  padding: 1rem 1.5rem;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

/* Images on left and right */
.header-logo {
  flex-shrink: 0;
  max-width: 100px;
  height: auto;
}


/* Center text */
.header-text {
  font-family: "Times New Roman", Times, serif;
  flex-grow: 1;               
  text-align: center;
     
}

/* Larger title */
.header-text h1 {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  color: #1e40af;
  margin: 0 0 0.25rem 0;
  text-shadow: 0.5px 0.5px 0 #000000, 0.5px 0.5px 0 #ffffff;
}

.header-text p {
  font-size: 1.5rem;
  color: #000000dc;
  margin: 0;
}


nav {
  position: sticky;
  top: 0; 

  background-color: #1e3a8a;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: white;

  z-index: 998;
}

nav a {
  color: white;
  text-decoration: none;
  cursor: pointer;
  padding: 0 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  display: block;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  position: relative;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
}

.nav-buttons {
  margin-left: auto;
  gap: 0.5rem;
}

.nav-buttons button {
  border: 1px solid white;
  border-radius: 0.25rem; /* rounded */
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem; /* text-sm */
  background-color: transparent;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.nav-buttons button:hover {
  background-color: white;
  color: #1e3a8a;
}

.hamburger {
  width: 25px;
  height: 18px;
  display: none; 
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hamburger span {
  display: block;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger active state (cross) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}


.banner-section {
  width: 100%;
  overflow: hidden;
}


.banner-image {
  width: 100%;
  display: block;
  object-fit: cover; 
}

.banner-title {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: #1e40af;

}

.banner-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-choose-us {
  background-color: rgb(201, 209, 221);
  text-align: left;
}

.why-choose-us h1 {
  padding: 2rem 0;
  text-align: right;
}

.reasons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reasons-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.3s ease;
}

.reasons-list li:hover {
  background-color: #f8fafc;
}

.reason-number {
  margin-left: 0.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #1e40af;
  min-width: 50px;
}

.reason-text {
  margin-left: 0.5rem;
}

.reason-text h3 {
  font-size: clamp(0.5rem, 3vw, 1.3rem);
  margin: 0 0 5px;
  color: #111827;
}

.reason-text p {
  font-size: clamp(0.5rem, 3vw, 1.1rem);
  line-height: 1.5;
  color: #333;
}

.testimonials {
  width: 100%;
  padding: 1rem;
  background-color: #eaeefc;
  display: flex;
  flex-direction: column;

}

.testimonials h1 {
  text-align: left;
  padding: 0;
}

.testimonial {
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.testimonial.reverse {
  flex-direction: row-reverse;
}

.testimonial-text {
  flex: 1;
  position: relative;
}

.testimonial-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(0.8rem, 6vw, 2.5rem);
  font-style: italic;
  color: #1e40af;
}

.testimonial-text .highlight {
  position: relative;
  background: rgba(30, 64, 175, 0.15);
  z-index: 2;
}

.testimonial-image {
  flex: 1;
  text-align: center;
}

.testimonial-image img {
  max-width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.our-vision {
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: left;
  background-color: rgb(201, 209, 221);
}

.vision-content h1 {
  text-align: right;
}

.vision-text {
  font-size: clamp(0.5rem, 3vw, 1.3rem);;
  line-height: 1.3;
  color: #333;
  margin-bottom: 3rem;
}

.vision-line {
  width: 15rem;
  height: 0.2rem;
  background-color: #1e40af;
  margin: 0 auto;
}

.academics-section {
  padding: 1rem;
  background-color: #eaeefc;
}

.academic-cards {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.academic-card {
  display: flex;
  flex: 1;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  height: 400px;
}

.academic-image {
  flex: 1;
}

.academic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academic-text {
  flex: 1;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.academic-text h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 15px;
}

.academic-text p {
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
}


.notice-btn {
  position: fixed;
  z-index: 997;

  bottom: 20px;
  right: 20px;
  background: #004aad;
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background 0.3s;
}

.notice-btn:hover {
  background: #003080;
}

/* Modal Overlay */
.notice-modal {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Notice Board */
.notice-content {
  position: relative;
  z-index: 1001;
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  max-height: 70%;
  display: flex;
  flex-direction: column;

  /* Animation */
  opacity: 0;
  transform: scale(0.7);
  animation-fill-mode: forwards;
}

.notice-content.show {
  animation: popup 0.4s ease-out forwards;
}

@keyframes popup {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.notice-header {
  background: #004aad;
  color: #fff;
  padding: 12px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  position: relative;
}

.close-notice {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
}

/* Flexbox Notice Item */
.notice-item {
  border-bottom: 1px solid #ddd;
  padding: 16px; /* adjustable */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 60px;
  box-sizing: border-box;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item:hover {
  background: #f9f9f9;
}

.notice-text {
  font-size: 14px;
  line-height: 1.4;
}

.notice-date {
  align-self: flex-end;
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

/* Scrollbar styling */
.notice-list::-webkit-scrollbar {
  width: 6px;
}

.notice-list::-webkit-scrollbar-thumb {
  background: #004aad;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
  .academic-cards {
    flex-direction: column;
    gap: 30px;
  }

  .academic-card {
    height: 350px;
  }
}

@media (max-width: 640px) {

  .academics-section {
    padding: 2rem 1rem;
  }

  .academic-cards {
    flex-direction: column;
    gap: 24px;
  }

  .academic-card {
    flex-direction: column;
    height: auto;
  }

  .academic-image {
    width: 100%;
    height: 200px;
  }

  .academic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .academic-text {
    padding: 1rem;
    text-align: center;
  }

  .academic-text h3 {
    font-size: 1.25rem;
  }

  .academic-text p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

.teachers-section {
  margin-top: 1.5rem;
  text-align: center;
  padding: 1rem 1rem;
}

.teachers-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 4rem;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

.teacher-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1.5rem 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Teacher image */
.teacher-card img {
  width: 8rem; 
  height: 8rem; 
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 2px solid #1e40af; 
  transition: transform 0.3s ease;
}

.teacher-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.25rem;
}

.teacher-card p {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0;
}

.view-more {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
  padding: 0;
  background: none;
  box-shadow: none;
  grid-column: 2;
}

.view-more a {
  font-size: 0.875rem;
  color: white;
  background-color: #1e40af; 
  border: 1px solid #1e40af;
  border-radius: 0.25rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.view-more a:hover {
  background-color: white;
  color: #1e40af;
  transform: translateY(-2px);
}

.two-column {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 100%;
  padding: 2rem;
}

.text-content {
  flex: 1;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideIn 1s ease forwards;
}

.text-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 6vw, 4rem);
  color: #1e40af;
  margin-bottom: 1rem;
}

.text-content p {
  font-size: clamp(0.5rem, 6vw, 1rem);
  color: #4b5563;
  line-height: 1.6;
}

/* Image side */
.image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-content img {
  width: 100%;
  max-width: 450px;
  border-radius: 0.5rem;
  opacity: 0;
  transform: scale(0.8);
  animation: popFade 1s ease forwards;
  animation-delay: 0.5s;
}

.read-more {
  display: none;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes popFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.contact-page {
  width: 100%;
  font-family: Arial, sans-serif;
}

/* Hero section */
.contact-hero {
  position: relative;
  width: 100%;
  height: 20rem;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(30,64,175,0.8), rgba(30,64,175,0));

  /* Animation */
  background-size: 200% 100%;
  animation: moveGradient 1.8s ease forwards;

}

@keyframes moveGradient {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: bold;

  opacity: 0;
  animation: slideIn 1.8s ease forwards;
  animation-delay: 0.5s;

}

.contact-content {
  display: flex;
  gap: 2rem;
  padding: 4rem 2rem;
  margin: 0 auto;
  align-items: center; 
}

.contact-left {
  flex: 2;
  text-align: left;
}

.college-name {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 1rem;
}

.college-info {
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.contact-map {
  width: 100%;
  height: 600px;
  border: 0;
  display: block;
}

.faq-section {
  width: 100%;
  font-family: "Inter", sans-serif;
  color: #1e3a8a;
  overflow: hidden;
  margin-bottom: 2rem;
}
.faq-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: left;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 1rem;
  margin-left: 3rem;
}
.faq-container {
  display: flex;
  overflow: hidden;
  transition: all 0.5s ease;
}
.faq-questions {
  flex: 1;
  background-color: #f3f4f6;
  transition: flex 0.5s ease;
}
.question {
  padding: 1rem;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}
.question:hover { background-color: #e0e7ff; }
.question.active {
  background-color: #1e40af;
  color: white;
}
.arrow { font-size: 1.2rem; }

.faq-answer {
  flex: 0;
  background: white;
  padding: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease;
  position: relative;
  height: 0;
  overflow: hidden;
}
.faq-answer.active {
  flex: 3;
  opacity: 1;
  transform: translateX(0);
  padding: 2rem;
  height: auto;
  overflow: visible;
}
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1e3a8a;
}
.answer-title {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.answer-text {
  font-size: 1rem;
  color: #374151;
}

.faq-questions.collapsed { flex: 0.3; }
.faq-questions.collapsed .question { justify-content: center; font-weight: bold; }
.faq-questions.collapsed .arrow { display: none; }


.mobile-faq {
  display: none;
}

.mobile-faq-item {
  border: 1px solid #ddd;
  overflow: hidden;
  transition: background 0.3s ease;
}

.mobile-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
}

.mobile-faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.mobile-faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1rem;
  line-height: 1.6;
  color: whitesmoke;
  transition: all 0.4s ease;
}

.mobile-faq-item.active {
  background: #1e40af;
  color: white;
}

.mobile-faq-item.active .mobile-faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 1rem;
}

.mobile-faq-item.active .mobile-faq-icon {
  transform: rotate(45deg);
}

.mobile-faq-item.active .mobile-faq-question span {
  color: white;
}

.administration-section {
  background-color: #f9fafb;
  padding: 3rem 2rem;
}

.administration-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1e40af;
}

.admin-top {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.main-admin {
  max-width: 350px;
  width: 100%;
}

.admin-subgrid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.admin-card {
  background-color: #fff;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  flex: 1;
  max-width: 300px;
}

.admin-card:hover {
  transform: translateY(-5px);
}

.admin-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.admin-card h3 {
  margin-bottom: 0.25rem;
  color: #1e3a8a;
}

.admin-card .title {
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.75rem;
}

.admin-card p {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.5;
}

.lecturer-section {
  background-color: #f0f4f8;
  padding: 3rem 2rem;
}

.lecturer-section h2 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: #1e40af;
  margin-bottom: 1rem;
  padding: 1rem;
}

.lecturer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.lecturer-card {
  background-color: #fff;
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.lecturer-card:hover {
  transform: translateY(-5px);
}

.lecturer-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.lecturer-card h4 {
  margin-bottom: 0.25rem;
  color: #1e3a8a;
  font-size: 1.1rem;
}

.lecturer-card p {
  font-size: 0.95rem;
  color: #475569;
}

.gallery {
  column-count: 4;
  column-gap: 1rem;
  padding: 2rem;
  max-width: 1400px;
  margin: auto;
}

.gallery img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .gallery {
    column-count: 3;
  }
}

@media (max-width: 900px) {
  .gallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery {
    column-count: 1;
    column-gap: 0.5rem;
    padding: 1rem;
  }
}


.request-info {
  width: 100%;
  background-color: #f5f5f5;
}

.info-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 2rem;
  font-size: 1rem;

  color: white;
  background: #1e40af;
  border: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: color 0.5s;
}

.info-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #1e40af, #93c5fd);
  transition: left 0.5s;
  z-index: 0;
}

.info-button:hover::before {
  left: 0;
}

.info-button span {
  position: relative;
  z-index: 2;
}

.button-text {
  text-align: left;
}

.button-arrow {
  transition: transform 0.3s;
}

.info-button:hover .button-arrow {
  transform: translateX(0.5rem);
}

footer {
  background-color: #1e40af;
  color: white;
  padding: 2rem 1.5rem 1rem 1.5rem;
  font-size: 0.875rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-about .footer-logo {
  width: 100px;      
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-container h3, .footer-container h4 {
  margin-bottom: 0.75rem;
  color: white;
}

.footer-container p, .footer-container li {
  margin: 0.25rem 0;
}

.footer-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-container a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-container a:hover {
  color: #93c5fd;
}

.footer-social a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.25rem;
  transition: color 0.3s, transform 0.3s;
}

.footer-gif {
  display: block;
  margin-top: 2rem;
  max-width: 120px;  
}

.footer-social a:hover {
  color: #93c5fd;
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 1.5rem;
  padding-top: 1rem;
  text-align: left;
  font-size: 0.75rem;
}

.footer-bottom a {
  color: white;
  font-size: 0.8rem;
}

/* ------------------------
   Responsive Media Queries
   ------------------------ */
@media (max-width: 1024px) {
  .header-logo {
    max-width: 3rem;
  }
  .header-text a {
    font-size: 3rem;
  }
  .header-text p {
    font-size: 1.3rem;
  }

  .nav-links {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1e3a8a;
    padding: 0 0; /* remove padding when closed */
    transition: max-height 0.4s ease, padding 0.3s ease;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 0.5rem 0;
  }

  .nav-links .underline {
    display: none;
  }

  .nav-links a {
    position: relative;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
  }

  .nav-links a:hover {
    background: linear-gradient(to right, #ffffff, #1e3a8a); 
    color: #1e3a8a; /* your blue */
  }

  .hamburger {
    display: flex; /* show on small screens */
  }

  .banner-title {
    font-size: 3rem;
    margin: 1.5rem;
    padding: 0.5rem;
  }

  /* .testimonials {
    margin-top: 2px;
  } */

  .testimonial-image img {
    width: 60%;
  }

  .vision-text {
    margin-bottom: 1.5rem;
  }

  .vision-line {
    width: 7rem;
  }

  .teachers-grid {
    grid-template-columns: repeat(2, 1fr); 
  }

  .teacher-card img {
    width: 6.5rem;
    height: 6.5rem;
  }

  .lecturer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-button {
    background: #93c5fd;
  }

}

@media (max-width: 640px) {

  .header-text a {
    font-size: 2rem;
  }
  .header-text p {
    font-size: 0.8rem;
  }
  .reasons-list li {
    flex-direction: column;
    gap: 10px;
  }

  .reason-number {
    font-size: 1.5rem;
  }

  .banner-title {
    font-size: 2rem;
  }
  .testimonials h1{
    text-align: right;
  }
  .vision-content h1 {
    text-align: center;
  }

  .teacher-card img {
    width: 5.5rem;
    height: 5.5rem;
  }
    .two-column {
    display: block;
  }

  .read-more {
    display: inline-block;
    color: #1e40af;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 2rem;
  }
  .contact-hero{
    height: 10rem;
  }
  .contact-map {
    height: 320px;
  }
  .hero-title{
    font-size: 2.5rem;
    top: 20%;
  }
  .college-name {
    font-size: 1.5rem;
  }
  .college-info {
    font-size: 0.7rem;
  }

  .mobile-faq {
    display: inline;

  }
  .faq-container {
    display: none;
  }

  .administration-section,
  .lecturer-section {
    padding: 0;
  }

  .admin-card,
  .lecturer-card {
    border-radius: 0;
    box-shadow: none;
    padding: 1rem;
    max-width: 100%;
  }

  .admin-card,
  .lecturer-card {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .admin-card img,
  .lecturer-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
  }

  .admin-card h3,
  .lecturer-card h4 {
    margin: 0;
    font-size: 1rem;
  }

  .admin-card p,
  .lecturer-card p {
    font-size: 0.9rem;
  }

  .admin-card {
    flex-direction: row;
    text-align: left;
  }

  .lecturer-card {
    flex-direction: row-reverse;
    text-align: left;
  }

  .admin-subgrid,
  .lecturer-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .admin-top {
    margin-bottom: 2rem;
  }

  .lecturer-section h2,
  .administration-section h2 {
    font-size: 3rem;
    text-align: center;
  }
  
  .footer-links {
    display: none;
  }
  .footer-gif {
    display: none;
  }

}

.principal-message {
  padding: 80px 20px;
  background: #eef2fb; /* soft blue-grey, NOT white */
}

.principal-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
}


.principal-image img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 18px; /* more modern than circle */
  box-shadow: 0 14px 35px rgba(0,0,0,0.25);
}

.principal-text {
  position: relative;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.7;
  color: #1e293b;
  font-weight: 500;
}


.quote-mark {
  position: absolute;
  top: -50px;
  left: -30px;
  font-size: 140px;
  color: #004aad;
  opacity: 0.25;
  font-family: "Georgia", serif;
  pointer-events: none;
}


.principal-text p {
  margin: 0 0 14px;
}

.highlight {
  font-weight: 700;
  color: #004aad;
  background: linear-gradient(
    transparent 55%,
    rgba(0, 74, 173, 0.15) 55%
  );
}


.principal-text h4 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: bold;
  color: #004aad;
  text-transform: uppercase;
  letter-spacing: 1px;
}



.principal-image::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #004aad;
  margin: 12px auto 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .principal-container {
    flex-direction: column;
    text-align: center;
  }

  .principal-image img {
    width: 200px;
    height: 200px;
  }

  .quote-mark {
    left: 50%;
    transform: translateX(-50%);
    top: -60px;
  }
}

.meet-developer a{
  color: whitesmoke;
  text-decoration: none;
}