/* General Styles */
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;

}

.content-wrapper {
  padding-top: 80px;
}

/* Navbar Styles */
.navbar {
  transition: all 0.3s ease;
  background-color: #002244;
  padding: 10px 20px;
  height: 60px; 
}

.navbar-brand img {
  transition: all 0.3s ease;
  max-height: 40px; /* Reduce logo size to fit within the smaller navbar */
}

.navbar.scrolled {
  background-color: #002244;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 50px; /* Further reduce height when scrolled */
}

.navbar.scrolled .navbar-brand img {
  transform: scale(0.8); /* Slightly reduce logo size when scrolled */
}

.nav-link {
  position: relative;
  overflow: hidden;
  padding: 5px 10px; /* Reduce padding for smaller navbar links */
  font-size: 0.9rem; /* Optional: Reduce font size */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #002244, #8768ad);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 10%);
  background-size: 20px 20px;
  animation: moveBackground 30s linear infinite;
}

@keyframes moveBackground {
  0% {
      transform: translate(0, 0);
  }
  100% {
      transform: translate(50px, 50px);
  }
}

.hero-section h1 {
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-section p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.3s;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Card Styles */
.card {
  border: none;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 2rem;
}

.card-title {
  color: #4a4a4a;
  font-weight: 700;
}

.card-text {
  color: #6c757d;
}

/* Leadership Section */
.leadership-section {
  background-color: #f8f9fa;
}

.card-img-wrapper {
  overflow: hidden;
}

.card-img-top {
  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

/* Footer Styles */
.footer {
  background-color:#002244;
  color: #fff;
  padding: 50px 0 20px;
}

.footer h5 {
  color: fff;
  margin-bottom: 20px;
}

.footer ul {
  padding-left: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #fff;
}

.copyright {
  background-color: rgba(0, 0, 0, 0.2);
   padding: 1rem 0;
   margin-top: 3rem;
   position: relative;
   bottom: 0;
   height:80px;
   width: 100%;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-slide-left {
  animation: slideInLeft 1s ease-out;
}

.animate-slide-right {
  animation: slideInRight 1s ease-out;
}

/* Apply animations to specific elements */
.card:nth-child(odd) {
  animation: slideInLeft 0.5s ease-out;
}

.card:nth-child(even) {
  animation: slideInRight 0.5s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
      padding: 60px 0;
  }
  
  .card {
      margin-bottom: 20px;
  }
}