 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align:justify;
}

:root {
  --primary-blue: #1a237e;
  --secondary-blue: #1976d2;
  --accent-blue: #90caf9;
  --text-light: #ffffff;
}

body {
  background-color: #f5f5f5;
}

/* Header Styles */
header {
  background-color: var(--primary-blue);
  padding: 1rem;
  /* position: fixed; */
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  /* color: var(--text-light); */
  color: rgb(15, 15, 15);
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-blue);
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Slider Section */
.slider-container {
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  height: 100vh;
  z-index:-1;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 600px;
  position: relative;
}

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

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 10px;
}

.pagination-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.pagination-dot.active {
  background-color: var(--text-light);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.arrow:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.prev {
  left: 20px;
  display :none; 
}

.next {
  right: 20px;
  display :none; 
}

/* Admission Banner */
.admission-banner {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  color: var(--text-light);
  padding: 3rem;
  text-align: center;
  animation: colorShift 5s infinite alternate;
}

@keyframes colorShift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    background-color: var(--primary-blue);
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }

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

  .hamburger {
    display: block;
    color: var(--text-light);
  }

  .slider-container {
    height: 400px;
  }

  .slide {
    height: 400px;
  }
}

/* Cards Section */
.section-title {
  text-align: center;
  padding: 2rem;
  color: var(--primary-blue);
  font-size: 2.5rem;
}

.cards-container {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding:1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.card-container {
  display: flex;
  height:auto;
  flex-wrap:wrap;
  gap: 2rem;
  max-width: fit-content;
  margin: 0 auto;
}
@media only screen and (max-width:991px){
    .aligns{
  flex-wrap: wrap;
    }
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.card img {
  width: 100%;
  height: 200px;
  /*object-fit: cover;*/
}

.card-content {
  padding: 1.5rem;
}

.card h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.card p {
  color: #666;
  line-height: 1.6;
}

/* Footer Styles */
footer {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 3rem 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--accent-blue);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  font-size: 1.5rem;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.flex {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  height: auto;
  /* margin-top: 2rem; */
  justify-content: space-between;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--primary-blue);
  min-width: 200px;
  padding: 0.5rem 0;
  border-radius: 4px;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  color: var(--text-light);
  padding: 0.75rem 1rem;
  display: block;
  text-decoration: none;
  transition: background-color 0.3s;
}

.dropdown-menu a:hover {
  background-color: var(--secondary-blue);
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    background-color: rgba(255, 255, 255, 0.1);
    display: none;
    padding-left: 1rem;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown > a::after {
    content: " ▼";
    font-size: 0.8em;
  }
}

.slider-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  /* max-width: 999px; */
  /* height: 100%; */
  text-align: center;
  box-shadow: 0 8px 20px rgba(156, 156, 156, 0.3);
  position: relative;
  overflow: hidden;
}

.slider-box h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgb(100, 100, 99);
}

#paragraph {
  font-size: 1.1rem;
  min-height: 70px;
  line-height: 1.5;
  color: #303030;
  animation: fadeIn 0.6s ease;
}

.navigation {
  margin-top: 25px;
}

.arrow-btn {
  background: rgb(167, 165, 165);
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 20px;
  margin: 5px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.arrow-btn:hover {
  background: rgb(119, 118, 116);
}

.pagination {
  margin-top: 15px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s ease;
  cursor: pointer;
}

.active-dot {
  background-color: rgb(92, 92, 91);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-hero {
  background: linear-gradient(rgba(26, 34, 126, 0.57), rgba(25, 118, 210, 0.62)),
    url("./public/photos/HOME/banner.jpg") center/cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2rem;
}

.mission-section {
  /*
    background-color:rgb(50, 128, 206); */
  background-color: #f8f9fa;
  padding: 4rem 2rem;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.timeline-item {
  padding: 20px;
  background: white;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  border-left: 4px solid var(--primary-blue);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.leader-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.testimonial-card {
  background: var(--primary-blue);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 800px;
}

@media (max-width: 738px) {
  .welcome{
      width:100px;
  }
  .section-title{
      font-size:20px;
  }
  }
  
.baar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  background: black;
  opacity: 0.5;
  width: 100vw;
  height: 100vh;
  visibility: hidden;
  transition: all 0.2s ease;
}
.baar{
display:block;
}
.baar-overlay.show {
  visibility: visible;
}
.baaar {
  position: fixed;
  inset-block: 0;
  left: 0;
  width: 100%;
  max-width: 320px;
  padding: 20px;
  /* display: grid; */
  /* grid-template-rows: auto 1fr auto; */
  transform: translateX(-100%);
  background-color: var(--primary-blue);
  transition: all 0.6s ease;

}
.hhmc{
  display:flex;
  background-color: var(--primary-blue);
  flex-direction: column;
  padding: 1rem;
  text-align: left;
  gap:2rem;
}
.hhmc a{
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}
.hhmc a:hover {
  color: var(--accent-blue);
}
.baaar.show {
  transform: none;
  transition: all 1s ease;
}

.headercs {
    background-color: #0059b3;
    padding: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1 {
    margin: 0;
    font-size: 1em;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery-item {
    overflow: hidden;
    position:relative;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 89, 179, 0.2);
    background: white;
    cursor:pointer;
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contex{
    position:absolute;
    top:50%;
    left:50%;
    font-weight:900;
    color: white;
    visibility:hidden;
}
.gallery-item:hover .contex{
    visibility:visible;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 89, 179, 0.4);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(1deg);
}
.vme-society {
  padding: 40px 20px;
  background-color: #f8f9fb;
  font-family: Arial, sans-serif;
}
.vme-society h2 {
  color: #003366;
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 25px;
}
.vme-box {
  background-color: #fff;
  border-left: 4px solid #0047ab;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: auto;
}
.vme-box p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
  text-align: justify;
}
.vme-box strong {
  font-size: 17px;
  display: inline-block;
  margin-bottom: 10px;
}
.vme-box ul {
  margin-left: 20px;
  margin-bottom: 15px;
}
.vme-box ul li {
  font-size: 16px;
  line-height: 1.6;
  list-style-type: disc;
  color: #333;
}
@media (max-width: 768px) {
  .vme-society h2 {
    font-size: 22px;
  }

  .vme-box {
    padding: 15px;
  }

  .vme-box p,
  .vme-box ul li {
    font-size: 15px;
  }
}



