:root {
  --primary: #2563eb;
  --muted: #6b7280;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #0f172a;
  background: #fff;
}
.logo-img {
    border-radius: 8px;
    object-fit: cover; 
}
#logo-image {
  max-height: 120px;
  max-width: 120px;
  object-fit: contain;

}
#topBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #0d1b2a;
  color: white;
  font-size: 24px;
  border: 3px solid white;
  cursor: pointer;
  z-index: 999;
  display: none;
}
#project-presentations {
  background-color: rgb(209, 240, 248) !important;
}
#placement-success {
  background-color: rgb(209, 240, 248) !important;
}
#topBtn:hover {
  background-color: #00337a;
}
.brand-title {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1;
}
.brand-sub {
    color: var(--muted);
    font-size: 0.75rem;
    margin-top: -2px;
}
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100;
  background: #ffffff;
  transition: padding 180ms ease, box-shadow 180ms ease, background 180ms ease;
  padding: 1rem 0;
  display: block;
  box-shadow: none;
}

#mainNav.scrolled {
  padding: 0.35rem 0;
  box-shadow: 0 6px 18px rgba(14,20,30,0.06);
  background: #ffffffcc;
}
#bg-container {
  background: url("https://i.postimg.cc/NFLDNvRX/home-bg-image.jpg") no-repeat center center/cover;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #0b0606;
  font-family: Playfair Display;
}
.nav-item {
    font-family: Poppins;
}
.nav-link {
  position: relative;
  text-decoration: none;
  color: inherit;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease-in-out;
}
.nav-link:hover::after {
  width: 100%;
}
#about h2 {
  font-size: 2rem;
  color: #0f172a;
}

#about p {
  line-height: 1.7;
}
.about.text {
    font-family: Playfair Display;
}
.founder-image {
  border-radius: 50%;
  object-fit: cover;
  width: 250px;
  height: 250px;
}
.home-buttons {
  background-color: transparent;
  border-radius: 5px;
  font-weight: bold;
  padding-top: 4px;
  padding-right: 6px;
  padding-bottom: 6px;
  padding-bottom: 4px;
  margin: 5px;
  font-family: Poppins;
}
.home-buttons:hover {
  background-color: rgb(63, 156, 190);
  transition: 1s;
  border-color: black;
}
.hidden {
  display: none !important;
}
.card-img-top {
  height: 150px;
  object-fit: cover;
}
.testimonial-card {
  max-width: 600px;
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}
.testimonial-stars {
  color: #f7c948;
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.testimonial-text {
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
  line-height: 1.6;
}
#testimonials {
  background-color: rgb(220, 240, 247);
}
#why-choose {
  background-color: rgb(220, 240, 247);
}

.branch-box {
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.branch-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.contact-section {
  background-color: #f9f9f9;
}
.contact-info p {
  margin-bottom: 10px;
  font-size: 15px;
}
.contact-form label {
  font-weight: 500;
}
.contact-form .btn {
  border-radius: 30px;
  font-weight: 600;
}
.footer {
  background: #0d1b2a;
}
.footer h5 {
  font-weight: 600;
  margin-bottom: 15px;
}
.footer-link {
  color: #ccc;
  text-decoration: none;
}
.footer-link:hover {
  color: #fff;
}
.social-icons a {
  color: #ccc;
  font-size: 20px;
  margin-right: 12px;
  transition: 0.3s;
}
.social-icons a:hover {
  color: #fff;
}
.about-section {
  padding: 60px 10%;
  background: #f9f9f9;
}
.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.about-image img {
  width: 400px;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.about-content {
  flex: 1;
}
.about-content h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #222;
}
.about-content h3 {
  font-size: 22px;
  color: #e63946;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #444;
}
.about-highlights {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.about-highlights li {
  margin-bottom: 10px;
  font-size: 16px;
}
.about-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #e63946;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}
.about-btn:hover {
  background: #b92534;
}
#mission-vision {
  background-color: rgb(220, 240, 247);
}

.gallery-section {
  padding: 60px 0;
  background: #f8f9fa;
}
.gallery-title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 40px;
}
.gallery-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.gallery-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-img:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-size: 18px;
  font-weight: 500;
}
.gallery-img:hover .gallery-overlay {
  opacity: 1;
}
.contributors {
  background: #f9f9f9;
}
.contributor-card {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.contributor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contributor-logo {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
}

/* Image utilities: keep images responsive and aligned consistently */
.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.cover-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.founder-image {
  width: 250px;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

.card .card-body {
  text-align: left;
}

/* ========================================
   IMAGE ARRANGEMENT & OPTIMIZATION (Gallery)
   ======================================== */

/* Grid gallery thumbnails */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-grid .cover-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid .cover-img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-grid .cover-img {
    height: 160px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid .cover-img {
    height: 140px;
  }
}