/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgb(240, 238, 244);
  padding: 40px;
  margin: 20px auto;
  max-width: 1200px; /* Keeps everything inside */
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-height: 450px;
}

/* Row for Images */
.image-row {
  display: flex;
  justify-content: center;
  gap: 150px; /* Space between images */
  margin-bottom: 20px;
}

.image-container {
  text-align: center;
}

.image-container img {
  width: 200px;
  height: 200px;
  object-fit: cover; /* Ensures square format */
  border-radius: 15px; /* Slightly rounded edges */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.image-container h3 {
  font-size: 18px;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

.image-container p {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* Text Section */
.text-container {
  max-width: 1000px;
  text-align: center;
  padding: 20px;
}

.text-container p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.internship-link {
  color: blue;
  font-weight: bold;
  text-decoration: none;
}

.internship-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .image-row {
    flex-direction: row;
    gap: 20px;
  }

  .image-container img {
    width: 150px;
    height: 150px;
  }

  .text-container {
    max-width: 100%;
    padding: 15px;
  }
}


/* Header Styling */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 20px 38px;
  background: transparent;
  z-index: 10;
}



/* Logo Section */
.header .logo {
  display: flex;
  align-items: center;
}

.header .logo img {
  width: 275px;
  height: 75px;
  margin-left: 44px;
  margin-top: -10px;
}

.header .logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

/* Navigation Menu */
.nav {
  position: absolute;
  right: 20px;
  top: 85%;
  transform: translateY(-50%);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
  transition: color 0.3s ease;
  font-family: 'DM Sans', sans-serif;

}

.nav ul li a:hover {
  color: #44abd0;
  /* text-decoration: underline; */
}

/* Quote Button Styling */
.nav ul li a.sign-up {
  background: #007bff;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 7px;
}

.nav ul li a.quote-btn:hover {
  background: #0056b3;
}

/* Style for active menu item */
.nav ul li a.active {
  color: #44abd0; /* Change this to your desired active color */
  font-weight: bold; /* Optional: Makes the active item bold */
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgb(45, 44, 44);
  padding : 10px 5px;
  min-width: 160px;
  min-height: 70px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 10;
  border-radius: 5px;
  /* Add a small offset to ensure no gap between button and menu */
  top: 100%; /* Aligns the menu directly below the button */
  left: 0;
  /* margin-top: 10px; */
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

/* .dropdown-content a:hover {
  background-color: #ddd;
} */

/* Hover Styles */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* .dropdown:hover .dropbtn {
  background-color: #f1f1f1;
} */

/* Transition Effect */
.dropdown-content {
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

/* Ensure hover state stays active */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Dropdown Styles */
.profile-dropdown {
  position: relative;
  display: inline-block;
}


.profile-dropdown .dropdown-content1 {
  position: absolute;
  top: 130%; /* Position the dropdown below the button */
  left: 0; /* Align dropdown to the left of the container */
  transform: translateX(-50%); /* Optional: Adjust the offset further */
  background-color:rgb(45, 44, 44);
  min-width: 145px; /* Adjust width if necessary */
  z-index: 1000; /* Ensure it appears above other elements */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Add a shadow for aesthetics */
  border-radius: 5px; /* Rounded corners */
  padding: 10px 0px;
}

.profile-dropdown .dropdown-content1 a {
  display: block; /* Ensures each item takes up its line */
  padding: 5px 15px; /* Adds space inside each option */
  margin-bottom: 5px; /* Adds space between options */
  text-decoration: none; /* Optional: Remove underline from links */
}

.profile-dropdown .dropdown-content1 a:last-child {
  margin-bottom: 0; /* Removes the margin from the last item */
}


/* Hover Styles */
.profile-dropdown:hover .dropdown-content1 {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Transition Effect */
.dropdown-content1 {
  /* transition: all 0.3s ease; */
  opacity: 0;
  visibility: hidden;
}


/* Hide Profile Icon initially */
#profile-dropdown {
  display: none;
}


/* Hero Section with Cards */
.hero-cards {
  height: 60vh;
  background: url('../images/background_image2.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}

.hero-content {
  margin-bottom: 40px;
  z-index: 2;
}
.hero-content h1 {
  font-size: 3rem;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 10px;
  margin-top: 50px;
}
.hero-content p {
  font-size: 1.2rem;
  font-family: 'DM Sans', sans-serif;
  opacity: 0.9;
}


.hero-cards::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
  z-index: 1;
}

/* Cards Section */
.cards-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.card {
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
  padding: 25px;
  border-radius: 7px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  width: calc(33.333% - 20px);
  text-align: center;
  backdrop-filter: blur(5px); /* Optional: adds a blur effect */
  margin-top: 100px;
  margin-bottom: -300px;
}

.card h2 {
  font-size: 1.8rem;
  font-family: 'DM Sans', sans-serif;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight:900;
}

.card p {
  font-size: 1.1rem;
  font-family: 'DM Sans', sans-serif;
  color: #333;
  text-align: justify;
}

/* Vision and Mission Section */
#vision-mission {
  background-color: #ffffff;
  padding: 50px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 30px auto;
  width: 80%;
  margin-top: 200px;
}

#vision-mission .section-title h1 {
  font-size: 2.5rem;
  font-family: 'DM Sans', sans-serif;
  color: #2c3e50;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

/* Vision Section */
.vision {
  margin-bottom: 40px;
}

.vision h2 {
  font-size: 2rem;
  font-family: 'DM Sans', sans-serif;
  color: #03273e;
  margin-bottom: 20px;
}

.vision p {
  font-size: 1.1rem;
  font-family: inherit;
  margin-bottom: 20px;
}

.vision h3 {
  font-size: 1.3rem;
  color: #34495e;
  margin-top: 15px;
  margin-bottom: 10px;
}

.vision ul {
  list-style-type: none;
  padding-left: 0;
}

.vision ul li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.vision ul li strong {
  color: #2c3e50;
  font-weight: bold;
}

/* Mission Section */
.mission {
  margin-bottom: 40px;
}

.mission h2 {
  font-size: 2rem;
  font-family: 'DM Sans', sans-serif;
  color: #03273e;
  margin-bottom: 20px;
}

.mission p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.mission h3 {
  font-size: 1.3rem;
  color: #34495e;
  margin-top: 15px;
  margin-bottom: 10px;
}

.mission ul {
  list-style-type: none;
  padding-left: 0;
}

.mission ul li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.mission ul li strong {
  color: #2c3e50;
  font-weight: bold;
}


/* Footer Section */
footer {
  background-color: #ffffff;
  color: #000000;
  padding: 40px 40px;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Top Section */
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #424242;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Logo Section */
.footer-logo img {
  width: 100px;
  margin-bottom: 10px;
  margin-left: 40px;
}

.footer-logo p {
  max-width: 300px;
  font-size: 16px;
}

.social-icons a {
  color: #000000;
  margin-right: 25px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #007bff;
}

/* Quick Links */
.footer-links h4, .footer-contact h4 {
  margin-bottom: 10px;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #007bff;
}

/* Contact Info */
.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
}

/* Bottom Section */
.footer-bottom {
  text-align: center;
  font-size: 16px;
  /* padding: 0px 0; */
  /* background-color: #181818; */
  margin-bottom: -10px;
}
