/*Home Page - Start*/
body { margin:0; font-family: Arial, sans-serif; }
    .top-bar { background: #ffffff; color: #003366; padding:10px 20px; display:flex; justify-content:space-between; align-items:center; position:relative; }
    .hero-section { background:#555; height:200px; display:flex; justify-content:center; align-items:center; color:white; text-align:center; }
    .cards-section{ padding:20px; display:flex; justify-content:space-around; flex-wrap:wrap; }
    .card{ background:#f2f2f2; padding:30px; width:30%; text-align:center; box-shadow:0 0 5px rgba(0,0,0,0.1); margin-bottom:20px; }
    .footer{ background:#003366; color:white; text-align:center; padding:10px; }

    /* Carousel Styles */
    .carousel { position: relative; width: 100%; height: 450px; overflow: hidden; }
    .slide { width: 100%; height: 100%; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 1s ease-in-out; }
    .slide.active { opacity: 1; }
    .carousel .arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; padding: 10px; cursor: pointer; z-index:2;}
    .carousel .prev { left: 10px; }
    .carousel .next { right: 10px; }
    .carousel-dots { text-align: center; margin-top: 5px; }
    .carousel-dots .dot { height: 10px; width: 10px; background: gray; border-radius: 50%; display: inline-block; margin: 0 5px; cursor: pointer; }
    .carousel-dots .dot.active { background: black; }

	div.error{
		color: red;
		margin-top: -10px;
	}
    /* Logo Styling */
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: bold;
      font-size: 22px;
    }
    .logo img {
      height: 80px;
      width: 80px;
    }
	.logo span{
		font-family: 'Poppins';
		font-weight: 600;
		color: #075133;
		text-transform: uppercase;
		letter-spacing: 1px;
	}

    /* Navigation Menu + Dropdown (Fixed)  */
    .menu { position: relative; }
    .menu > ul { list-style: none; margin: 0; padding: 0; display: flex; }
    .menu li { position: relative; }
    .menu a { color:#003366; padding:10px 15px; display:block; text-decoration:none; }
    .menu li:hover > a { background:#075133; color:#fff; }

    .dropdown {
	  display: none;
	  list-style: none;
	  margin: 0;
	  padding: 0;
	  position: absolute;
	  top: 100%;
	  left: 0;
	  background:#075133;
	  min-width: 190px;
	  z-index: 1000;
	  flex-direction: column;
	}
    .dropdown li { width: 100%; }
    .dropdown li a { color:white; padding:8px 12px; }

    .menu li:hover > .dropdown { display: block; }
	.home-intro {
  text-align: center;
  padding: 30px 20px;
}
.home-intro h2 { color: #075133; margin-bottom: 10px; }

.two-blocks {
  display: flex;
  justify-content: space-around;
  margin: 20px;
  flex-wrap: wrap;
}
.block {
  background: #f0f0f0;
  width: 45%;
  padding: 20px;
  margin-bottom: 20px;
}
.block h3 { color: #075133; }

.section-header h2 {
  text-align: center;
  background: #075133;
  color: white;
  margin: 0;
  padding: 12px;
  font-size: 22px;
}

.welcome-section {
  text-align: center;
  padding: 20px;
}
.welcome-section h3 {
  color: #075133;
  margin-bottom: 10px;
}

.two-box {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 20px 0;
}
.info-box {
  background: #f8f8f8;
  width: 45%;
  padding: 15px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}
.info-box h4 { color: #075133; margin-bottom: 10px; }
.info-box ul { padding-left: 18px; }

.recent-activities-new {
  margin: 40px auto;
  text-align: center;
  max-width: 1200px;
  position: relative;
}
.recent-activities-new h4 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #003366;
}
.activity-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.activity-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  scrollbar-width: none; /* Firefox */
}
.activity-row::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.activity-card-new {
  flex: 0 0 auto;
  width: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.activity-card-new:hover {
  transform: translateY(-5px);
}
.activity-card-new img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.activity-card-new .card-body {
  padding: 15px;
}
.activity-card-new h5 {
   font-size: 18px;
  margin-bottom: 8px;
  color: #003366;
}
.activity-card-new .date {
  font-size: 14px;
  color: #666;
}
.scroll-btn {
  background: #003366;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;   /* rectangular with slight curve */
  font-size: 16px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: background 0.3s ease;
}

.scroll-btn:hover {
  background: #0055aa;
}

.scroll-btn.left {
  left: -60px;   /* adjust space outside */
}

.scroll-btn.right {
  right: -60px;
}

.scroll-btn.hidden {
  display: none;
}


.footer-new {
  background: #075133;
  color: #fff;
  padding: 20px 0 10px 0;
  margin-top: 30px;
}
.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0 20px;
}
.footer-col {
  width: 23%;
  min-width: 200px;
  margin-bottom: 20px;
}
.footer-logo {
  width: 80px;
  height: 80px;
}
.footer-col h4 {
  margin-top: 10px;
}
.footer-col ul {
  list-style: none;
  padding-left: 0;
}
.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 5px 0;
}
.footer-col ul li a:hover {
  text-decoration: underline;
}

.tagline {
  font-size: 14px;
  color: #e7e7e7;
}

.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 10px;
}

/* About Us (ND style) */

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;   /* Center on page */
  padding: 40px 0;
  position: relative;
  margin-bottom: 60px;
}

.about-image {
  background: url('../images/lmvb_logo.png') no-repeat center/contain;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin-right: 100px;     /* overlap amount */
}

.about-image {
  position: relative;
}

.about-image::after {
  content: "";
  position: absolute;
  right: -20px; /* adjust for placement */
  bottom: -30px;
  width: 350px;
  height: 350px;
  border: 15px solid #f2b90e;
  border-radius: 50%;
  border-left-color: transparent;
  border-top-color: transparent;
  transform: rotate(-20deg);
  z-index: -1;
}

.about-content {
  background: #f9f9f9;
  padding: 30px;
  border: 1px solid #cccccc;
  position: relative;
  z-index: 1;
  max-width: 550px;
}

.about-content h5 {
  color: #075133;
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
}

.about-content h2 {
  margin: 5px 0 15px 0;
  color: #000;
}
.about-side-content h5 {
  color: #0056b3;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.about-side-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}
.gold-btn {
  background: #d4af37;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.gold-btn:hover {
  background: #b38e2e;
}
.lmvb-about-three {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;       /* center vertically */
  gap: 50px;                 /* spacing between emblem/stats and text */
  text-align: left;
  padding: 60px 10%;
  position: relative;
}

.stats-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  margin-left: 20px;
}
.stat-item {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: bold;
}
.stat-item span {
  font-size: 28px;
  font-weight: bold;
  color: #d4af37; /* gold highlight */
}

.emblem-box {
  width: 250px;
  height: 250px;
  background: url('../images/lmvb_logo.png') no-repeat center/contain;
  opacity: 0.9;
}

.about-side-content {
  width: 45%;
}
.about-side-content h5 {
  color: #075133;
  margin: 0;
  font-size: 16px;
}
.about-side-content h2 {
  margin-top: 5px;
}

.lmvb-latest {
  background: #f8f9fa;
  text-align: center;
}

.notification-center {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 8px;
  padding: 5px 10px;
  overflow: hidden;
  position: relative;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 30s linear infinite;
}

.marquee p {
  font-size: 18px;
  font-weight: 500;
  color: #856404;
  display: inline-block;
  padding-right: 50px; /* space for looping */
}

@keyframes scroll-left {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.marquee:hover {
  animation-play-state: paused;
}


    /* Mobile Navbar */
    @media (max-width: 768px) {
      .menu { display: none; flex-direction: column; background: #003366; position: absolute; top: 50px; right: 0; width: 200px; }
      .menu a { padding: 10px; border-bottom: 1px solid #fff; }
      .hamburger { display: block; cursor: pointer; color: white; font-size: 28px; }
    }
    .hamburger { display: none; }
/* Home Page - End*/
/* Contact Us Page */
.contact-us {
  text-align: center;
  padding: 40px 10%;
  background: #f9f9f9;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 30px;
}

.contact-info, .contact-form {
  flex: 1 1 300px;
  margin: 20px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  background: #003366;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #0055aa;
}

.map-section {
  padding: 40px 10%;
  text-align: center;
}
/* About Us Page -- Start */
.about-us {
  padding: 60px 10%;
  background: #f9f9f9;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #004080;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1.1rem;
}

.about-text .motto {
  font-size: 1.2rem;
  color: #b8860b;
  font-weight: bold;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  width: 350px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* About Us Page -- End */
/* Gallery Page -- Start */
.gallery-section {
  padding: 50px 20px;
  text-align: center;
}
.gallery-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #003366;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}
.lightbox:target {
  display: flex;
}

.gallery-main {
  padding: 40px 5%;
}
.gallery-main .section-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.gallery-event {
  text-align: center;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-event:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 12px rgba(0,0,0,0.15);
}
.gallery-event img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.gallery-event h3 {
  font-size: 18px;
  color: #003366;
  margin: 0;
}
/* Gallery Page -- End */


.gallery-container {
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.lightbox .prev, .lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px 20px;
  font-size: 32px;
  color: white;
  background: rgba(0,0,0,0.5);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}

.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }

/* Academic Page -- Start */
.academic-programme {
  padding: 60px 10%;
  background: #ffffff;
}

.academic-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.academic-container h2 {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 20px;
}

.academic-container p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #333;
}

.academic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.academic-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.academic-card:hover {
  transform: translateY(-5px);
}

.academic-card h3 {
  color: #b8860b;
  margin-bottom: 10px;
  font-size: 1.3rem;
}
/* Academic Page -- End */

/* Carrier Page -- Start */
.career-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.career-section h2 {
  color: #004080;
  margin-bottom: 15px;
  border-bottom: 2px solid #004080;
  display: inline-block;
  padding-bottom: 5px;
}

.intro {
  margin-bottom: 25px;
  font-size: 1.1em;
}

.job-listing {
  margin-bottom: 40px;
}

.job-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  background: #fafafa;
  transition: 0.3s;
}

.job-card:hover {
  background: #f0f8ff;
  border-color: #004080;
}

.job-card h3 {
  margin: 0 0 8px;
  color: #004080;
}

.job-card p {
  margin: 3px 0;
}

.apply-form h3 {
  margin-bottom: 15px;
  color: #004080;
}

.apply-form input, .apply-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.apply-form button {
  background: #004080;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: 0.3s;
}

.apply-form button:hover {
  background: #003366;
}

/* Carrier Page -- End */

/* Faculty Page -- Start */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.faculty-card {
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  background: #f9f9f9;
  transition: transform 0.2s;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faculty-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}
/* Faculty Page -- End */

