/* 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;
}

/* Background Section */
.custom-bg {
  background-color: #001f4d; /* Dark blue background */
  height: 100vh;/*ewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Content Styling (Right Side) */
.content {
  padding: 15px;
}

.content h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.content p {
  color:rgba(245, 245, 245, 0.539);
  font-size: 1.25rem;
  line-height: 1.8;
}
.content h3{
  font-size: 1.3rem;
}

.content h4 {
  color: rgb(255, 242, 0);
}
 /* inquiry button styling */
 .btn-primary{
  font-weight: bold;
  font-size: 1.2rem;
  justify-items: center;
  border: none;
background-color: rgb(253, 127, 0);
 }

/* Left Side Image */
.grid-img {
  max-width: 100%; /* Responsive sizing */
  height: auto; /* Maintain aspect ratio */
  animation: float 3s ease-in-out infinite; /* Optional floating animation */
}

/* Keyframe Animation for Floating Effect */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .custom-bg {
    flex-direction: column;
    height: auto;/*djust height for smaller screens */
    padding: 20px 10px;
  }

  .content h1 {
    font-size: 2.5rem; /* Adjust font size */
  }

  .content p {
    color: rgba(245, 245, 245, 0.76);
    font-size: 1rem;
  }

  .grid-img {
    margin-top: 10px; /* Add spacing between content and image */
  }
}

/* inquiry form styling */
/* Modal Styling */
.modal-header {
  background-color: #6610f2;
  color: white;
  border-bottom: 2px solid #ffc107;
}

.modal-title {
  font-weight: bold;
}

.modal-body {
  padding: 20px;
}

.form-control,
.form-check-input {
  border-radius: 8px;
  font-size: 1rem;
}

.btn-primary {
  background-color: #ffc107;
  border: none;
}

.btn-primary:hover {
  background-color: #e0a800;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
  .display-4 {
    font-size: 1.8rem;
  }
  .lead {
    font-size: 1rem;
  }
  .std {
    font-size: 1.2rem;
  }
}

/* 2nd part of the site */
/* Custom Background for the Stats Section */

/* Stats Text Styling */
.stats-section{
  border-radius: 5px;
}
.stats-section h2 {
  font-size: 4rem; /* Default size for numbers */
  font-weight: bold;
  color: #000435; /* navy color text for numbers */
}

.stats-section p {
  font-size: 3.2rem; /* Smaller size for captions */
  color: #160447; /* White for captions */
}

/* Mobile View Styling */
@media (max-width: 768px) {
  .stats-section{
    border-radius: 5px;
  }

  .stats-section h2 {
    font-weight: bold;
    font-size: 1.5rem; /* Smaller size for mobile numbers */
  }

  .stats-section p {
    font-weight: bold;
    font-size: 1rem; /* Smaller size for mobile captions */
  }

  .stats-section .row {
    display: flex;
    flex-wrap: nowrap; /* Single-line alignment */
    overflow-x: auto; /* Scroll if necessary */
    justify-content: space-around; /* Equal spacing */
  }

  .stats-section .col-4 {
    flex: 0 0 auto; /* Prevent columns from breaking */
    width: auto;
    margin-right: 10px; /* Add spacing between items */
  }
}

/* 3rd part */
/* Testimonial Card Styles */
.testimonial-card {
  background: #f8f9fa;
  border: 2px solid #042b56;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  max-width: 800px; /* Increased size for laptop view */
  max-height: auto;
  margin: 0 auto;
  position: relative;
  margin-bottom: 20px;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.428);
}

.testimonial-card img.user-img {
  width: 100px; /* Increased size for both devices */
  height: 100px; /* Ensures uniform circular image */
  border-radius: 50%;
  border: 3px solid #042b56;
  padding: 5px;
  margin-bottom: 15px; /* Added space below the image */
}

.testimonial-card .quote-symbol {
  font-size: 40px;
  color: #042b56;
  position: absolute;
  top: 10px;
  right: 15px; /* Adjusted to fit within the card */
}

/* Section Styling */
.testimonial-section {
  padding: 60px 0; /* Increased section height for all devices */
  background-color: #f0f4f7;
}

/* Carousel Controls (Laptop View) */
.custom-control-prev,
.custom-control-next {
  background-color: #042b56;
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: absolute;
  top: 50%; /* Center vertically */
  transform: translateY(-50%);
}

.custom-control-prev:hover,
.custom-control-next:hover {
  background-color: #042b56;
  color: #fff;
}

/* Carousel Controls (Mobile View) */
/* Inline Buttons in Mobile View */
/* Mobile View Adjustments */
@media (max-width: 767.98px) {
  /* Ensure buttons are horizontally aligned below the cards */
  .carousel-controls-wrapper {
      display: flex; /* Use flexbox for alignment */
      justify-content: center; /* Center the buttons horizontally */
      gap: 100px; /* Add space between the buttons */
      /* margin-top: 5px; Space above the buttons */
  }

  /* Adjust button styles for better appearance */
  .custom-control-prev,
  .custom-control-next {
      position: relative; /* Place buttons relative to the wrapper */
      float: none; /* Remove float alignment */
      display: inline-block; /* Ensure buttons remain inline */
  }

  /* Add space at the bottom of carousel cards for buttons */
  #testimonialCarousel .carousel-item {
      padding-bottom: 10px; /* Adjust spacing for buttons */
  }
}



/* Laptop View Adjustments */
@media (min-width: 768px) {
  .carousel-item .row .col-md-6 {
      display: flex;
      justify-content: center;
  }

  .testimonial-card {
      max-width: 550px; /* Larger size for laptop view */
      max-height: auto;
  }

  .testimonial-card img.user-img {
      width: 120px; /* Increased size */
      height: 120px; /* Larger for laptop */
  }

  .quote-symbol {
      font-size: 50px; /* Larger for laptop view */
  }
}

/* text  */
.section-title {
  font-family: 'Poppins', sans-serif; /* Modern and professional font */
  font-size: 2rem; /* Default for desktop */
  font-weight: 600; /* Semi-bold for prominence */
  color: #2C3E50; /* Dark blue for contrast */
  text-align: center; /* Center the text */
  margin-bottom: 20px; /* Spacing below the title */
  text-transform: capitalize; /* Capitalize for a formal appearance */
}

@media (max-width: 767.98px) { 
  .section-title {
      font-size: 1.5rem; /* Adjust font size for mobile */
  }
}

.text-primary {
  color: #180cc3 !important; /* Ensures the text-primary class matches a vibrant blue */
}

/* section titles */
.section-title {
  font-size: 2.5rem;
  color: #10005e;
  font-family: 'Poppins', sans-serif;
  border-bottom: 4px solid #406882;
  /* display: inline-block; */
  padding-bottom: 10px;
  text-align: center;
}

/* 4th part key features */
.features-section {
  background: #e3f2fd; /* Light blue background */
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.325);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.icon-bg {
  width: 80px;
  height: 80px;
  background: #10005e; /* Light circular background */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.icon {
  font-size: 2rem;
  color: #ffe600; /* Bootstrap primary color */
}

h4 {
  font-weight: 600;
  color: #212529;
}

p {
  color: #292d30;
}

@media (max-width: 768px) {
  .feature-card {
    margin-bottom: 20px;
  }

  .icon-bg {
    width: 60px;
    height: 60px;
  }

  .icon {
    font-size: 1.5rem;
  }
}

/* why choose us section */
/* 7th part our key features */
.key-features {
  background-color: #f4f6f8; /* Light gray background */
  border-radius: 10px;
  padding: 2rem;
}

.key-features h1 {
  color: #002855; /* Navy blue color for the title */
  font-size: 2rem;
  font-weight: 700;
  border-bottom: 4px solid #406882;
  padding-bottom: 10px;
}

.key-features .feature-text {
  font-size: 1.5rem; /* Increase font size */
  font-weight: 500; /* Medium weight for readability */
  color: #12012f; /* Neutral gray for text */
}

.key-features i {
  font-size: 1.5rem; /* Icon size */
}

@media (max-width: 768px) {
  .key-features h1 {
    font-size: 1.7rem;
  }

  .key-features .feature-text {
    font-size: 1.2rem;
  }
}

/* 5th part meet our leaders */
/* General Section Styling */
.faculty-section {
  padding: 60px 20px;
  background-color: white;
  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.644);
  overflow: hidden;
  background-color: rgb(6, 0, 92);
}

.faculty-card-img {
  flex: 1;
  max-width: 40%; /* Image takes 40% space */
}

.faculty-card-img img {
 max-width: 100%;
  height: auto;
  border-radius: 12px 0 0 12px; /* Rounded corners on the left */
}

.faculty-card-content {
  color: whitesmoke;
  flex: 2;
  padding: 20px;
  text-align: left;
}

.faculty-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffff02; /* Navy Blue */
  margin-bottom: 10px;
}

.faculty-profession {
  font-size: 1rem;
  font-weight: bold;
  font-style: italic;
  color: #fdfbfb;
  margin-bottom: 15px;
}

.faculty-quote {
  font-size: 1.2rem;
  font-weight: bold;
  color: #f7f6f4; /* 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;
  }
}


/* 5th part succes stories */
.success-stories {
  background: #ffffff;
  border-radius: 10px;
}

.success-stories .video-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  background: #030023;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative; /* To position play/pause button properly */
}

.success-stories iframe, 
.success-stories video {
  width: 100%;
  height: 505px;
  border: none;
  border-radius: 10px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.success-stories p {
  color: #6c757d;
  font-size: 1rem;
}

.success-stories .play-pause-btn {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.success-stories .play-pause-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
  .success-stories iframe, 
  .success-stories video {
    height: 400px;
  }

  .success-stories p {
    font-size: 0.9rem;
  }

  .success-stories .play-pause-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}


/* 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;
  }
}
