/* Navbar Styling (unchanged) */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .nav-link{
    font-size: 1rem;
    font-weight: bold;
  }
  
  .navbar-logo {
    width: 180px;
    height: 50px;
  }

  .wattsapp-float {
    z-index: 9999;
    position: fixed;
    bottom: 40px;
    right: 5px;
  }
  
  .phone-float {
    z-index: 9999;
    position: fixed;
    bottom: 110px;
    right: 5px;
  }

  /* 2nd part bg with text */
  /* About Section Styling */
.about-section {
  background: linear-gradient(to right, #000643, #000a51);
  padding: 60px 120px;
  color: white;
}

.text-container {
  text-align: center;
  padding: 20px;
  padding-right: 40px;
}

.main-text {
  font-size: 2.5rem;
  color: #ffd902; /* Yellow */
  font-weight: bold;
}

.description {
  font-size: 1.2rem;
  line-height: 1.8;
}

.about-image {
  max-width: 100%;
  height:auto ;
  justify-content: center;
  padding-right: 50px;
}

/* Responsive Design */
@media (max-width: 991px) {
  .about-section {
    padding: 40px 10px;
  }

  .main-text {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .about-image {
    display: none; /* Hide image for mobile */
  }
}

/* 3rd part vision */
/* Vision Section */
.vision-section {
  background: #f0f4ff; /* Light blue background */
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Subtle shadow */
  margin: -50px auto 0; /* Slight overlap */
  padding: 40px 50px;
  width: 90%;
  max-width: 1200px;
  z-index: 10; /* Ensures it stays above previous sections */
}

/* Vision Content */
.vision-content {
  text-align: center;
}

.vision-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #001f54; /* Navy blue for title */
  margin-bottom: 20px;
}

.vision-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333; /* Dark text for readability */
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .vision-section {
    margin: -30px auto 0; /* Adjust overlap */
    padding: 30px 20px;
    height: auto; /* Automatically adjusts height based on content */
  }
  .vision-title {
    font-size: 2rem;
  }
  .vision-text {
    font-size: 1rem;
  }
}

/* Larger Screens Adjustments */
@media (min-width: 992px) {
  .vision-section {
    width: 80%; /* Increased width for larger screens */
    padding: 50px 60px;
  }
}

/* 4th part values */
/* Values Section */
.values-section {
  background: #ffffff; /* White background */
  color: #002744; /* Navy blue text */
  padding: 80px 20px;
}

.values-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #002744; /* Navy blue for title */
  text-align: center;
}

.values-subtitle {
  font-size: 1.3rem;
  margin-bottom: 50px;
  text-align: center;
  font-style: italic;
  color:rgb(1, 55, 137); /* Lighter navy for subtitle */
}

.value-card {
  text-align: center;
  margin-bottom: 30px;
  padding: 25px;
  background: #0e005d; /* White card background */
  border: 3px solid #000a9c; /* Dark orange border */
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.78); /* Subtle shadow */
}

.value-card:hover {
  transform: translateY(-5px); /* Subtle lift on hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.71); /* Slightly stronger shadow */
}

.value-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffe100; /* Navy blue icons */
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff; /* Navy blue text */
}

.value-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #b1d0fc; /* Lighter navy for paragraph */
}

/* Grid Layout for Cards */
.values-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Single column by default */
  gap: 20px;
}

@media (min-width: 768px) {
  .values-container {
    grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
  }
}

@media (min-width: 992px) {
  .values-container {
    grid-template-columns: repeat(3, 1fr); /* Three columns for laptops and larger screens */
  }
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  .values-title {
    font-size: 2rem;
  }

  .value-card {
    padding: 20px;
  }

  .value-card h3 {
    font-size: 1.3rem;
  }

  .value-card p {
    font-size: 0.9rem;
  }
}

/* 5th part meet our leaders */
/* General Section Styling */
.faculty-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #002744; /* Navy Blue */
  margin-bottom: 30px;
}

/* Carousel Styling */
.carousel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 80%;
  margin: 0 auto;
}

.faculty-card {
  display: flex;
  flex-direction: row; /* Image left, text right for large screens */
  align-items: center;
  border-radius: 12px;
  /* border: 2px solid #07006d; Orange border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.381);
  overflow: hidden;
  background-color: rgb(1, 1, 80);
}

.faculty-card-img {
  flex: 1;
  max-width: 40%; /* Image takes 40% space */
}

.faculty-card-img img {
 max-width: 100%;
  height: 100%;
  border-radius: 12px 0 0 12px; /* Rounded corners on the left */
}

.faculty-card-content {
  flex: 2;
  padding: 20px;
  text-align: left;
}

.faculty-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f6ff00; /* Navy Blue */
  margin-bottom: 10px;
}

.faculty-profession {
  font-size: 1rem;
  font-style: italic;
  color: #fffefe;
  margin-bottom: 15px;
}

.faculty-quote {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff; /* Orange */
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faculty-card {
    flex-direction: column; /* Stack image and text */
    text-align: center;
  }

  .faculty-card-img {
    max-width: 100%; /* Full width image */
  }

  .faculty-card-img img {
    border-radius: 12px 12px 0 0; /* Rounded corners on the top */
  }

  .faculty-card-content {
    padding: 15px;
  }
}

@media (min-width: 992px) {
  .carousel {
    flex-direction: row;
    flex-wrap: wrap; /* Allow multiple cards in a row */
    justify-content: space-between;
  }

  .faculty-card {
    flex: 0 0 calc(48% - 10px); /* Two cards per row in large screens */
    margin-bottom: 20px;
  }
}

/* 6th part mission but its 5th in html file */
/* Mission Section */
.mission-section {
  padding: 60px 20px;
  background-color: #f9f9f9; /* Light neutral background */
}

.mission-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-text {
  flex: 1;
  text-align: left;
}

.mission-title {
  font-size: 2rem;
  font-weight: bold;
  color: #003366; /* Navy Blue */
  margin-bottom: 15px;
}

.mission-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333; /* Dark Gray */
}

.mission-image {
  flex: 1;
  text-align: center;
}
.highlight {
  color: #0008e7; /* Orange */
  font-weight: bold;
}

.mission-section {
  border-top: 5px solid #003366; /* Navy Blue Divider */
}


.mission-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mission-container {
    flex-direction: column; /* Stack content */
    text-align: center;
  }

  .mission-text {
    text-align: center;
  }
}




/* 6th part- footer */
.footer {
  background-color: #02194b; /* Navy blue background */
  color: #f8f9fa; /* Light text */
}

.footerimg{
  max-width:100%;
  height:auto;
}

.footer h4, .footer h5 {
  font-weight: bold;
  color:rgb(255, 217, 0);
}

.footer p {
  font-size: 1.2rem;
  color: rgba(245, 245, 245, 0.646);
}

.footer ul {
  list-style-type: none;
  padding: 0;
}

.footer ul li a {
  color: #f8f9fa;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: #ffcc00; /* Gold color for hover effect */
}

.footer .bi {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.footer .bi:hover {
  transform: scale(1.2);
  color: #ffcc00; /* Gold for social media icon hover */
}


@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer .d-flex {
    justify-content: center;
    gap: 1rem;
  }

  .footer form {
    margin-top: 20px;
  }
}
