body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ================= NAVBAR ================= */
.custom-navbar {
  background: linear-gradient(90deg, #8b1c1c, #b83232);
}

.navbar-brand span {
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.logo {
  height: 55px;
}

/* ================= HERO SECTION ================= */
.hero-section {
  height: 100vh;
  background: url("college.png") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  position: relative;
  color: #fff;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
}

.hero-content h3 {
  font-size: 1.6rem;
  margin-top: 10px;
  color: #ffd966;
}

.hero-content p {
  font-size: 1.15rem;
  margin-top: 20px;
  line-height: 1.7;
}
.hero-box {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 18px 10px;
  border-radius: 12px;
  color: #fff;
  backdrop-filter: blur(4px);
}

.hero-box h4 {
  font-weight: 700;
  margin-bottom: 5px;
}

.hero-box p {
  font-size: 0.95rem;
  margin: 0;
}

/* ================= ABOUT SECTION ================= */
.about-section {
  background: #f8f9fa;
}

.section-title {
  font-weight: 700;
  color: #8b1c1c;
}

.about-text {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* ================= FOOTER ================= */
.footer {
  background: #0d3b66;
  color: white;
  padding: 18px;
  font-size: 0.95rem;
}
/* ================= FOOTER ================= */
.main-footer {
  background: #0d3b66;
  color: #ffffff;
  padding-top: 40px;
  font-size: 0.95rem;
}

.footer-box h5 {
  color: #ffd966;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-box p {
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-bottom {
  background: #092a4a;
  padding: 12px;
  margin-top: 30px;
  font-size: 0.9rem;
}
/* ================= PAGE HEADER ================= */
.page-header {
  background: linear-gradient(90deg, #8b1c1c, #b83232);
  color: white;
  padding: 120px 20px 60px;
  margin-top: 70px;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.1rem;
  margin-top: 10px;
}

/* ================= ABOUT PAGE ================= */
.about-page {
  background: #ffffff;
}

.vision-mission {
  background: #f8f9fa;
}

.vm-box {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.vm-box h3 {
  color: #8b1c1c;
  font-weight: 600;
  margin-bottom: 15px;
}
/* ================= COURSES PAGE ================= */
.courses-section {
  background: #ffffff;
}

.course-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card h4 {
  color: #8b1c1c;
  font-weight: 600;
  margin-bottom: 15px;
}

.course-card ul {
  padding-left: 18px;
}

.course-card ul li {
  margin-bottom: 6px;
}

.course-note {
  background: #e9f2ff;
  padding: 20px;
  border-left: 5px solid #0d3b66;
  border-radius: 6px;
}
/* ================= FACULTY PAGE ================= */
.faculty-section {
  background: #ffffff;
}

.faculty-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-6px);
}

.faculty-img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;

  /* 🔥 REAL FIX */
  object-position: center 10%;
  transform: scale(1.08);

  border: 4px solid #8b1c1c;
  background-color: #f1f1f1;
}


.designation {
  color: #8b1c1c;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact {
  font-size: 0.95rem;
  color: #333;
}
/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(90deg, #8b1c1c, #b83232);
  color: white;
  padding: 70px 0;
}

.page-header h1 {
  font-weight: 700;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(90deg, #8b1c1c, #b83232);
  color: white;
  padding: 80px 0;
}

.page-header h1 {
  font-weight: 700;
}

/* ===== GALLERY ===== */
/* ===== GLOBAL FIX ===== */
body {
  margin: 0;
}

/* ===== NAVBAR ===== */
.custom-navbar {
  background: linear-gradient(90deg, #8b1c1c, #b83232);
}

/* ===== PAGE HEADER (IMPORTANT) ===== */
.page-header {
  background: linear-gradient(90deg, #8b1c1c, #b83232);
  color: white;
  padding: 90px 0;
  margin-top: 70px; /* navbar height */
}

.page-header h1 {
  font-weight: 700;
  font-size: 2.8rem;
}

.page-header p {
  font-size: 1.1rem;
}

/* ===== GALLERY ===== */

.gallery-title {
  font-weight: 700;
  color: #8b1c1c;
  border-left: 5px solid #8b1c1c;
  padding-left: 14px;
  margin: 40px 0 20px;
  font-size: 1.6rem;
}

.gallery-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  transition: all 0.35s ease;
  display: block;
}

.gallery-img:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 35px rgba(0,0,0,0.28);
}

/* Mobile optimization */
@media (max-width: 576px) {
  .gallery-img {
    height: 300px;
  }
}



/* ================= ENQUIRY PAGE ================= */
.enquiry-section {
  background: #f8f9fa;
}

.enquiry-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.enquiry-card h3 {
  color: #8b1c1c;
  font-weight: 700;
}

.form-control {
  border-radius: 6px;
  padding: 10px;
}

.form-control:focus {
  border-color: #8b1c1c;
  box-shadow: none;
}

