/* Global Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-image: url("../../images/school.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  margin: 0;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

nav a {
  text-decoration: none;
  color: white;
  padding: 0.5rem 1rem;
}

nav a:hover {
  color: #f3f7fc;
}


/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Container for content */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    text-align: center;
  }

  nav a {
    display: block;
    padding: 10px;
  }

  h1 {
    font-size: 1.8rem;
  }
}



/* Remove background image for login pages */
body.login-page {
  background-image: none;
  background-color: #f8f9fa;
}

/* Login page specific styles */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 20px;
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-link {
  display: flex;
  align-items: center;
  color: #666;
  text-decoration: none;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.back-link:hover {
  color: #2b6cb0;
}

.back-link::before {
  content: "←";
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.login-avatar {
  width: 80px;
  height: 80px;
  background: #e5e7eb;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #9ca3af;
}

.login-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}

.form-input {
  width: 93%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #2b6cb0;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.login-button {
  width: 100%;
  background: #2b6cb0;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  margin-bottom: 1.5rem;
}

.login-button:hover {
  background: #1d4ed8;
}

.login-button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.login-footer {
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
}

.login-footer a {
  color: #2b6cb0;
  text-decoration: none;
  transition: color 0.3s;
}

.login-footer a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.forgot-password {
  text-align: right;
  margin-bottom: 1rem;
  margin-top: -1.5rem;
}

.registration-button {
  text-align: center;
  margin-bottom: -1rem;
  margin-top: -1rem;
}

.registration-button a {
  color: #2b6cb0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #000; /* black */
}

.toggle-password svg {
    display: block;
}


.forgot-password a {
  color: #2b6cb0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.forgot-password a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.error-message {
  background: #fef2f2;
  color: #dc2626;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border: 1px solid #fecaca;
}

.success-message {
  background: #f0fdf4;
  color: #16a34a;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border: 1px solid #bbf7d0;
}

/* About Us Page Styles */
.about-text h1 {
  text-align: center;
  margin-bottom: 10px;
}
.about-section {
  margin-top: 80px;
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  background: #e5e7eb;
  color: #6b7280;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.about-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.about-location {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 2rem;
  text-align: justify;
}

/* Faculty Section */
.faculty-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.faculty-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faculty-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.faculty-subtitle {
  color: #6b7280;
  font-size: 1rem;
}

/* Center the faculty section headers */
.faculty-section-header {
  text-align: center !important;
  margin-bottom: 2rem;
}

.faculty-section-header h3 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #1f2937;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  text-align: center !important;  
}

.faculty-section-header p {
  color: #6b7280;
  font-size: 1rem;
  text-align: center !important;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faculty-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faculty-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #2b6cb0, #1d4ed8);
  color: white;
}

.faculty-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
}

.faculty-card.featured .faculty-image {
  width: 200px;
  height: 200px;
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-info h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.faculty-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.faculty-info p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.faculty-card.featured .faculty-info p {
  color: rgba(255, 255, 255, 0.9);
}


.department {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 5px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2b6cb0;
  text-decoration: none !important;
  transition: color 0.3s;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #4e4e4e;
  font-weight: 500;
  transition: all 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-menu a:hover {
  color: #ffffff;
  background-color: #7ea8d4;
}

/* Active navigation link */
.nav-menu a.active {
  color: #ffffff;
  background-color: #2b6cb0;
}

.login-btn {
  background: #2b6cb0;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.login-btn:hover {
  background: #1d4ed8;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: 4rem 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.cta-btn {
  background: #2b6cb0;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #1d4ed8;
}

/* Enhanced Cards Section */
.cards-section {
  padding: 4rem 0;
  background: rgba(248, 249, 250, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Enhanced Card Image with Overlay */
.card-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  cursor: pointer;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-image:hover img {
  transform: scale(1.1);
}

/* Card Overlay Styles */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(43, 108, 176, 0.9), rgba(29, 78, 216, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.card-image:hover .card-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
  padding: 2rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.card-image:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.overlay-content p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.overlay-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.overlay-icon i {
  width: 28px;
  height: 28px;
  color: white;
  stroke-width: 2;
}

.card-btn {
  background: #2b6cb0;
  color: white;
  border: none;
  padding: 1rem;
  width: 100%;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 1rem;
}

.card-btn:hover {
  background: #1d4ed8;
}

/* Navigate Section */
.navigate-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.navigate-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.navigate-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.navigate-text p {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.navigate-features {
  list-style: none;
  margin-bottom: 2rem;
}

.navigate-features li {
  padding: 0.5rem 0;
  color: #000000;
  position: relative;
  padding-left: 1.5rem;
}

.navigate-features li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000000;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Enhanced Image Slider Styles */
.navigate-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-slider {
  position: relative;
  width: 650px;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-slider:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.image-slider:hover .slide.active img {
  transform: scale(1.05);
}

/* Enhanced Slider Indicators */
.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.indicator.active {
  background: #2b6cb0;
  border-color: #2b6cb0;
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(43, 108, 176, 0.6);
}

.indicator.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

/* Slider overlay effect */
.image-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(43, 108, 176, 0.1), rgba(29, 78, 216, 0.1));
  opacity: 0;
  transition: opacity 0.1s ease;
  z-index: 5;
  pointer-events: none;
  border-radius: 15px;
}

.image-slider:hover::before {
  opacity: 1;
}

/* Slide transition animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Footer */
.footer {
  background: rgba(43, 108, 176, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.contact-icon i {
  width: 20px;
  height: 20px;
  color: white;
  stroke-width: 1.5;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #e0e7ff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item p {
  color: #ffffff;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #e0e7ff;
}

/* Footer bottom links */
.footer-links-bottom {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

.footer-links-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links-bottom a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #2b6cb0;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle:hover {
  color: #1d4ed8;
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .navigate-text h2 {
    font-size: 2.2rem;
  }

  .image-slider {
    width: 100%;
    max-width: 600px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0;
  }

  .nav-menu a {
    display: block;
    padding: 1rem 2rem;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar {
    padding: 1rem;
    position: relative;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 2rem 0;
    margin-top: 70px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-image img {
    max-width: 300px;
  }

  /* Cards Section Mobile */
  .cards-section {
    padding: 2rem 0;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-image {
    height: 250px;
  }

  .overlay-content {
    padding: 1.5rem;
  }

  .overlay-content h3 {
    font-size: 1.3rem;
  }

  .overlay-content p {
    font-size: 0.9rem;
  }

  .overlay-icon {
    width: 50px;
    height: 50px;
  }

  .overlay-icon i {
    width: 24px;
    height: 24px;
  }

  /* Navigate Section Mobile */
  .navigate-section {
    padding: 2rem 0;
  }

  .navigate-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .navigate-text h2 {
    font-size: 2rem;
  }

  .navigate-text p {
    font-size: 1rem;
  }

  .image-slider {
    width: 100%;
    max-width: 500px;
    height: 300px;
    margin: 0 auto;
  }

  .indicator {
    width: 12px;
    height: 12px;
  }

  .slider-indicators {
    gap: 8px;
  }

  /* About Page Mobile */
  .about-section {
    padding: 2rem 0;
    margin-top: 70px;
  }

  .about-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .about-location {
    font-size: 1rem;
  }

  .about-text p {
    font-size: 1rem;
    text-align: left;
    line-height: 1.6;
  }

  /* Faculty Section Mobile */
  .faculty-section {
    padding: 2rem 0;
  }

  .faculty-title {
    font-size: 1.8rem;
  }

  .faculty-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
  }

  .faculty-card.featured {
    grid-column: span 1;
  }

  .faculty-image {
    width: 100px;
    height: 100px;
  }

  .faculty-card.featured .faculty-image {
    width: 120px;
    height: 120px;
  }

  /* Login Page Mobile */
  .login-card {
    padding: 1.5rem;
    margin: 10px;
    max-width: 350px;
  }

  .login-title {
    font-size: 1.3rem;
  }

  .login-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
    text-align: left;
  }

  .footer-links-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  /* Header Mobile */
  .navbar {
    padding: 0.75rem;
  }

  .nav-brand {
    font-size: 1.3rem;
  }

  .login-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  /* Hero Section Small Mobile */
  .hero {
    padding: 1.5rem 0;
  }

  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-image img {
    max-width: 250px;
  }

  .cta-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  /* Cards Section Small Mobile */
  .cards-section {
    padding: 1.5rem 0;
  }

  .card-image {
    height: 200px;
  }

  .overlay-content {
    padding: 1rem;
  }

  .overlay-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .overlay-content p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .overlay-icon {
    width: 40px;
    height: 40px;
  }

  .overlay-icon i {
    width: 20px;
    height: 20px;
  }

  /* Navigate Section Small Mobile */
  .navigate-section {
    padding: 1.5rem 0;
  }

  .navigate-text h2 {
    font-size: 1.8rem;
  }

  .navigate-features {
    margin-bottom: 1.5rem;
  }

  .navigate-features li {
    font-size: 0.95rem;
    padding: 0.4rem 0;
  }

  .image-slider {
    height: 250px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .slider-indicators {
    gap: 6px;
    bottom: 15px;
  }

  /* About Page Small Mobile */
  .about-section {
    padding: 1.5rem 0;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .section-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  /* Faculty Section Small Mobile */
  .faculty-section {
    padding: 1.5rem 0;
  }

  .faculty-title {
    font-size: 1.6rem;
  }

  .faculty-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .faculty-image {
    width: 80px;
    height: 80px;
  }

  .faculty-card.featured .faculty-image {
    width: 100px;
    height: 100px;
  }

  .faculty-info h3 {
    font-size: 1.1rem;
  }

  .faculty-info h4 {
    font-size: 1rem;
  }

  .faculty-info p {
    font-size: 0.85rem;
  }

  /* Login Page Small Mobile */
  .login-container {
    padding: 15px;
  }

  .login-card {
    padding: 1.25rem;
    margin: 5px;
  }
  


  .form-input {
    padding: 0.65rem;
    font-size: 0.95rem;
  }

  .login-button {
    padding: 0.65rem;
    font-size: 0.95rem;
  }

  /* Footer Small Mobile */
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-section h3 {
    font-size: 1.1rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .contact-item strong {
    font-size: 0.85rem;
  }

  .contact-item p {
    font-size: 0.9rem;
  }

  .footer-links li {
    margin-bottom: 0.75rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }
}

/* Contact Page Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding: 2rem 0 !important;
    margin-top: 70px !important;
  }

  .contact-section h1 {
    font-size: 2rem !important;
  }

  .contact-section > .container > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 1.5rem 0 !important;
  }

  .contact-section h1 {
    font-size: 1.8rem !important;
    margin-bottom: 1.5rem !important;
  }

  .contact-section h2 {
    font-size: 1.3rem !important;
  }

  .contact-section input,
  .contact-section textarea {
    padding: 0.65rem !important;
    font-size: 0.95rem !important;
  }
}

/* Utility Classes for Better Mobile Experience */
.text-center-mobile {
  text-align: center;
}

@media (max-width: 768px) {
  .text-center-mobile {
    text-align: center;
  }
}

/* Improved Touch Targets */
@media (max-width: 768px) {
  .nav-menu a,
  .login-btn,
  .cta-btn,
  .card-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .indicator {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .indicator::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
  }

  .indicator.active::before {
    background: #2b6cb0;
    border-color: #2b6cb0;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation for images */
.slide img {
  transition: opacity 0s ease;
}

.slide img:not([src]) {
  opacity: 0;
}

/* Accessibility improvements */
.indicator:focus {
  outline: 2px solid #2b6cb0;
  outline-offset: 2px;
}

.card-image:focus {
  outline: 2px solid #2b6cb0;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header {
    position: static;
  }

  .hero {
    margin-top: 0;
  }

  .image-slider {
    height: auto;
  }

  .slide {
    position: static;
    opacity: 1;
  }

  .slider-indicators {
    display: none;
  }

  .card-overlay {
    display: none;
  }
}

