/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

/* Navbar Styling */
.navbar {
  width: 100%;
  padding: 12px 20px;
  position: absolute;
  top: 0;
  background: #153242;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  position: fixed;
  z-index: 50;
}

.logo-side {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo-side h3 {
  font-size: x-large;
  font-weight: 800;
  color: white;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: white;
  font-weight: 300;
  transition: color 0.3s ease-in-out;
}

.menu a:hover {
  color: #fa7e40;
}

/* Content Section */
.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Landing Section */
.landing-section {
  width: 100%;
  height: 100vh;
  background: url("./images/BMC2.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
  position: relative;
}

.college-slogan {
  font-size: 8vw !important;
  font-weight: bolder;
  color: white;
  text-shadow: 3px 3px 5px rgba(28, 26, 26, 0.3),
    0px 0px 25px rgba(16, 42, 67, 0.8), 0px 0px 10px rgba(105, 142, 153, 0.7);
}

.address {
  font-size: 25px;
  font-weight: bold;
  color: white;
  text-shadow: 3px 3px 5px rgba(28, 26, 26, 0.3),
    0px 0px 25px rgba(12, 46, 79, 0.8), 0px 0px 10px rgba(123, 158, 168, 0.7);
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 10px;
  }

  .logo-side h3 {
    font-size: 24px;
  }

  .menu {
    flex-direction: flex;
    gap: 10px;
    margin-top: 10px;
  }

  .menu a {
    font-size: 14px;
  }

  .landing-section {
    padding: 15px;
  }
  .college-slogan {
    font-weight: 800;
    font-size: 40px !important;
  }
}

/* For extra small devices (portrait phones) */
@media (max-width: 480px) {
  .navbar {
    padding: 8px;
  }

  .logo-side h3 {
    font-size: 25px !important;
  }

  .menu a {
    font-size: 12px;
  }

  .college-slogan {
    font-size: 30px !important;
  }

  .address {
    font-size: 15px !important;
  }

  .landing-section {
    padding: 10px;
  }
}

/* For tablets and medium screens */
@media (max-width: 1024px) {
  .logo-side h3 {
    font-size: 32px;
  }

  .menu {
    gap: 15px;
  }

  .college-slogan {
    font-size: 90px;
  }

  .address {
    font-size: 22px;
  }
}

@media (max-width: 350px) {
  .logo-side h3 {
    font-size: 20px !important;
  }
  .college-slogan {
    font-size: 25px !important;
  }
  .menu a {
    font-size: 10px;
  }
}



/* about */

.about {
  width: 100%;
  padding: 50px 20px;
  background-color: #f4f4f4;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.about-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.about-text h2 {
  font-size: 32px;
  color: #153242;
  margin-bottom: 15px;
}
.about-text p {
  text-align: justify;
}
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .about-text {
    font-size: 16px;
  }

  .about-image img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .about-content {
    padding: 20px;
  }

  .about-text h2 {
    font-size: 20px;
  }

  .about-text {
    font-size: 14px;
  }

  .about-image img {
    max-width: 100%;
  }
}

/* courses */

/* Courses Section Styling */
.courses {
  width: 100%;
  padding: 50px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.section-title {
  font-size: 32px;
  color: #153242;
  margin-bottom: 30px;
}

.course-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.course-item {
  background-color: white;
  padding: 20px;
  width: 30%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: left;
  transition: transform 0.3s ease;
}

.course-item:hover {
  transform: translateY(-10px);
}

.course-name {
  font-size: 24px;
  font-weight: bold;
  color: #153242;
}

.course-description {
  font-size: 16px;
  color: #333;
  margin: 10px 0;
}

.course-item p {
  font-size: 14px;
  color: #555;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #153242;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #fa7e40;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .course-item {
    width: 100%;
  }

  .course-list {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .course-item {
    width: 100%;
  }

  .section-title {
    font-size: 28px;
  }

  .course-name {
    font-size: 20px;
  }

  .course-description {
    font-size: 14px;
  }

  .btn {
    padding: 8px 16px;
  }
}

/* testemonial */

/* Testimonial Section Styling */
.testimonials {
  width: 100%;
  padding: 50px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.section-title {
  font-size: 32px;
  color: #153242;
  margin-bottom: 30px;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.testimonial-card {
  background-color: #153242; /* Navbar background color */
  color: white;
  padding: 20px;
  width: 23%;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.student-name {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

.faculty {
  font-size: 16px;
  color: #fa7e40; /* Accent color */
}

.testimonial-text {
  font-size: 14px;
  color: #ddd;
  margin-top: 15px;
  font-style: italic;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .testimonial-card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    width: 100%;
  }

  .section-title {
    font-size: 28px;
  }

  .student-name {
    font-size: 18px;
  }

  .faculty {
    font-size: 14px;
  }

  .testimonial-text {
    font-size: 12px;
  }

  .testimonial-img {
    width: 80px;
    height: 80px;
  }
}

/* alumini */

/* Alumni Section Styling */
.alumni {
  width: 100%;
  padding: 50px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.section-title {
  font-size: 32px;
  color: #153242;
  margin-bottom: 30px;
}

.alumni-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.alumni-card {
  background-color: white; /* White background */
  color: #153242; /* Dark text color */
  width: 23%;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Added shadow */
  text-align: center;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}

.alumni-card:hover {
  transform: translateY(-10px);
}

.alumni-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.alumni-info {
  font-size: 14px;
}

.alumni-name {
  font-size: 18px;
  font-weight: bold;
}

.alumni-position {
  font-size: 14px;
  color: #fa7e40; /* Accent color */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .alumni-card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .alumni-card {
    width: 100%;
  }

  .section-title {
    font-size: 28px;
  }

  .alumni-name {
    font-size: 16px;
  }

  .alumni-position {
    font-size: 12px;
  }

  .alumni-img {
    width: 70px;
    height: 70px;
  }
}

/* footer */
.footer {
  background-color: #153242; /* Same as navbar */
  color: white;
  padding: 40px 20px;
  text-align: left;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.footer-left {
  flex: 1; /* Allows the section to expand and take available space */
  display: flex;
  flex-wrap: wrap; /* Ensure the sections wrap on smaller screens */
  gap: 30px; /* Space between the two columns */
}

.footer-left h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: white;
}

.footer-left ul {
  list-style-type: none;
  padding: 0;
}

.footer-left ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-left ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-left ul li a:hover {
  color: #fa7e40;
}

.footer-right {
  flex: 1; /* Allows the section to expand and take available space */
}

.footer-right h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: white;
}

.map-container {
  width: 100%;
  max-width: 600px; /* Limits the width to avoid overflowing */
  height: 250px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  position: relative;
  overflow: hidden; /* Prevents the map from overflowing */
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none; /* Remove iframe border */
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: white;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    margin-bottom: 30px;
    text-align: justify;
  }

  .footer-left ul li {
    font-size: 14px;
  }

  .map-container {
    height: 200px;
    max-width: 100%; /* Ensures it takes full width on smaller screens */
  }
}

@media (max-width: 480px) {
  .footer-left h3,
  .footer-right h3 {
    font-size: 20px;
  }

  .footer-left ul li {
    font-size: 12px;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .map-container {
    height: 180px;
  }
}
