/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
body {
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background-color: #fff;
  color: #000;
  padding: 10px 0;
}

.container1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 200px;
  height: 150px;
}

.menu ul {
  list-style: none;
  display: flex;
}

.menu li {
  margin-right: 20px;
}

.menu a {
  color: #132438;
  text-decoration: none;
}
/* Styles for desktop view */

/* CSS for the menu */
/* Hide menu by default */
/* Hide close menu button by default */
.close-menu {
  display: none;
}

/* Hide menu in mobile view */
.menu {
  display: none;
}

/* Show menu in desktop view */
@media screen and (min-width: 768px) {
  .menu {
      display: block;
  }
  .hamburger-menu {
      display: none; /* Hide hamburger menu icon in desktop view */
  }
}

/* Style for hamburger menu */


/* Style for menu items */
.menu ul {
  list-style: none;
}

.menu ul li {
  display: block;
  margin-bottom: 10px;
}

/* Adjustments for mobile view */
@media screen and (max-width: 767px) {
  /* Show menu when hamburger icon is clicked */
  .menu.active {
      display: block;
  }

  /* Show close menu button when menu is active */
  .menu.active #close-menu {
      display: block;
  }

  /* Hide hamburger menu icon when menu is active */
  .menu.active #hamburger-menu {
      display: none;
  }

  /* Style for vertically spaced menu in mobile view */
  .menu.active ul {
      display: flex;
      flex-direction: column;
  }

  .menu.active ul li {
      margin-bottom: 10px;
  }
}

/* Hero Section Styles */
/* CSS for scrolling banner images */
/* CSS for the hero section */
.hero {
  position: relative; /* Ensure positioning context for absolutely positioned elements */
  overflow: hidden; /* Hide overflow to prevent scrollbar */
  padding: 20px 0; /* Add padding to the hero section */
}

/* CSS for the container */
.hero .container {
  max-width: 100%; /* Set maximum width for content */
  margin: 0 auto; /* Center the container horizontally */
  padding: 0 15px; /* Add padding to the sides */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.banner-images {
  position: relative;
}

.apply-now-button2 {
  position: absolute;
  top: 75%;
  left: 100px; /* Adjusted to align with the left side of the image */
  transform: translateY(-50%);
  padding: 10px 20px;
  background-color: #00254e; /* Change color as needed */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.apply-now-button2:hover {
  background-color: #0056b3; /* Change color as needed */
}

@media (max-width: 768px) {
  .apply-now-button2 {
      position: static; /* Reset position for smaller screens */
      display: block;
      width: 150px;
      height:40px;
      margin-top: 5px; /* Add margin to separate from the image */
      text-align: center; /* Align text to the left */
  }
}

.banner-images img {
  width: 100%; /* Ensure images fill the container horizontally */
  height: auto;
 /* Maintain image aspect ratio */
}




/* CSS for desktop and mobile views */
/* CSS for desktop view */
.internship-section .container {
  display: flex;
  justify-content: space-evenly;
  align-items: center; /* Allow wrapping for smaller screens */
}

.internship-content {
    font-family: Arial, sans-serif; /* Use Arial or fallback to sans-serif font family */
    font-size: 16px; /* Set the font size */
    line-height: 1.5; /* Set the line height */
    font-weight: normal; /* Set the font weight to normal */
    color: #333; /* Set the font color */
  
  width: calc(50% - 10px); /* Adjust the width for spacing */
}

.internship-image {
  width: calc(50% - 10px); /* Adjust the width for spacing */
  margin: 50px; /* Remove default margin */
}

.internship-image img {
  width: 100%;
  height: 300px; /* Maintain aspect ratio */
  display: block; /* Ensure the image fills its container */
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff; /* Change to your desired button color */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.btn:hover {
  background-color: #0056b3; /* Darker shade on hover */
}
/* CSS for mobile view */
@media screen and (max-width: 767px) {
  .internship-section .container {
    flex-direction: column; /* Stack elements vertically on mobile */
    align-items: stretch; /* Stretch items to full width */
  }

  .internship-content,
  .internship-image {
    width: 100%; /* Full width for mobile */
    margin: 0; /* Remove margin to avoid extra spacing */
  }
}

/*Course section styles*/
.courses {
  padding: 50px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.course-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.course-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 calc(33.333% - 40px);
  max-width: calc(33.333% - 40px);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 15px;
  transition: background-color 0.3s ease;
}

.course-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.course-card h3 {
  margin: 15px 0;
}

.course-card p {
  flex-grow: 1;
  text-align: justify;
  margin-bottom: 20px;
}

.apply-btn {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.apply-btn:hover {
  background-color: #0056b3;
}

@media (max-width: 992px) {
  .course-card {
    flex: 1 1 calc(50% - 20px); /* Adjusted to display 2 cards per row */
    max-width: calc(50% - 20px); /* Adjusted to display 2 cards per row */
  }
}

@media (max-width: 768px) {
  .course-card {
    flex: 1 1 calc(100% - 20px); /* Adjusted to display 1 card per row */
    max-width: calc(100% - 20px); /* Adjusted to display 1 card per row */
  }
}

/* Testimonial Section Styles */

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.testimonial {
  width: calc(50% - 20px); /* Two testimonials in a row on tablet and above */
  margin-bottom: 20px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-author {
  text-align: right;
}

@media (max-width: 767px) {
  .testimonial {
    width: 100%; /* One testimonial in a row on mobile */
  }
}

/* Footer Styles */

.footer {
  background-color: #032657;
  color: #fff;
  padding: 50px 0;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-ev;
}

.footer-section {
  flex: 1;
  text-align: center;
}

.footer-section h3 {
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-section p {
  margin: 0;
}

.footer-map {
  flex: 1;
  margin-left: 30px;
}

.footer-map iframe {
  width: 100%;
  height: 300px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
}
