/* style.css */

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f8f8;
  overflow-x: hidden;
  margin: 0;
}

.hero-section {
    /* background-image: url('https://placehold.co/1920x600/314159/FFFFFF?text=Welcome+to+Our+Institution'); Placeholder image */
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

* {
  box-sizing: border-box;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: -1;
    border-radius: 0.5rem; /* Match parent rounded corners */
} 

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
  border-radius: 10px;
}

.no-wrap {
  white-space: nowrap;
}
.active a {
  font-weight: bold;
  color: #007bff;
  border-bottom: 2px solid #007bff;
}
.active-link {
  color: #2563eb;
  font-weight: 600;
  border-bottom: 2px solid #2563eb;
}
.group:hover .group-hover\:block {
  display: block;
}
html {
  font-size: 16px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 32px;
  background: #fff;
  border-radius: 0.5rem;
  margin-bottom: 16px;
}

.navbar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.navbar li a {
  padding: 8px 16px;
  display: block;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  transition: background 0.2s;
}
.navbar li a:hover {
  background: #f0f0f0;
}
/* 1024x600 small laptop display */
@media (max-width: 1024px) and (max-height: 600px) {
  html {
    font-size: 13.5px;
  }
  .navbar {
    padding: 8px 8px;
  }
  .hero-section {
    padding: 20px 8px;
    min-height: 120px;
    font-size: 0.95rem;
  }
}
/* Tablet */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  .navbar {
    padding: 12px 16px;
  }
  .hero-section {
    padding: 32px 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 8px;
  }
  .navbar ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .navbar li a {
    width: 100%;
    padding: 12px 8px;
  }
  .hero-section {
    padding: 24px 8px;
    min-height: 180px;
    font-size: 1rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  .navbar {
    padding: 6px 2px;
  }
  .hero-section {
    padding: 12px 2px;
    min-height: 120px;
  }
}
