html * {
  font-family: "Gotham A", "Gotham B", sans-serif !important;
}

.poppins-thin {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Gotham A", "Gotham B", sans-serif;
  font-weight: 900;
  font-style: italic;
}

body {
  /* background-color: #6495ed; */
  /* background-color: #0a1128; */
  background: linear-gradient(to right, #0a1128, #1e2a78);
  /* background: linear-gradient(to right, #87ceeb, #add8e6); */
  margin: 0;
  overflow-x: hidden;
}

#about {
  display: block;
}

/* Hide other sections initially */

.logo {
  position: relative;
  margin-left: 20px;
  bottom: 150px;
}

/* Styles for desktop view */
@media only screen and (min-width: 741px) {
  .logo {
    font-size: 24px;
    /* Adjust font size for desktop view */
  }
}

/* Styles for mobile view */
@media only screen and (max-width: 740px) {
  .logo {
    font-size: 18px;
    bottom: 10px;
    /* Adjust font size for mobile view */
  }
}

a {
  text-decoration: none;
}

#header {
  background-color: white;
  background-size: cover;
  text-align: center;
  /* background-position: center; */
  background-repeat: no-repeat;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-image 0.5s ease-in-out;
  background-image: url("../../images/courseicon/home_bg1.jpg");
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5); /* black with 50% transparency */
  position: relative; /* creates stacking context */
  z-index: 2000; /* higher than carousel's context */
}
@media (max-width: 600px) {
  #header {
    height: 200px;
    background-position: center;
    /* background-size: cover; */
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  #header {
    height: 300px;
  }
}

@media (min-width: 1025px) {
  #header {
    height: 550px;
  }
}

#header {
  background-size: cover;
  padding-right: 30px;
}

#header img {
  width: 120px;
  height: 80px;
  margin-top: 10px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav.nav-link {
  position: fixed;
  top: 0;
  left: 140px;
  width: 100%;
  background-color: black; /* dark semi-transparent background */
  z-index: 1000;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* optional shadow for depth */
}

nav ul li {
  display: inline-block;
  margin-right: 45px;
  margin-top: 0px;
  position: relative;
}

nav a {
  text-decoration: none;
  color: #f8f8f8;
  font-weight: bold;
  margin-left: 20px;
}
/* Styles for mobile view */
@media (max-width: 767px) {
  nav a {
    color: #000000; /* Change this to the color you want for mobile view */
  }
  nav.nav-link {
    /* position: relative; */
    bottom: 230px;

    background-color: transparent;
    box-shadow: none; /* No shadow for the mobile view */
  }
}
/* 
.navbar-color.active,
.navbar-color:hover {
  background: #00bfcc;
  transition: 0.3s ease;
} */

#homecontent {
  display: block;
}

.menu-line {
  height: 3px;
  width: 20px;
  background-color: #ffffff;
  margin-bottom: 3px;
}

.menu {
  cursor: pointer;
  display: none;
}

@media all and (max-width: 900px) {
  .menu {
    display: block;
    margin-bottom: 160px;
    margin-left: 30px;
  }

  ul.list {
    list-style-type: none;
    position: fixed;
    top: 105px;
    flex-direction: column;
    right: 0;
    background: #f8f8f8;
    transform: translateX(100%);
    transition: all 0.5s;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
  }

  nav ul li {
    display: block;
    padding: 20px;
  }

  nav ul li {
    display: block;
    padding: 20px;
  }
}

@media all and (max-width: 740px) {
  ul {
    flex-direction: column;
  }

  .logo {
    align-self: flex-start;
    margin: 10px 0px 0px 20px;
  }

  .showmenu {
    display: block;
  }

  /* by jeeva */

  .menu {
    display: block;
  }
}
/* Logo stays fixed at top-left */
.fixed-logo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2002;
  background-color: black; /* optional */
  padding: 2px 15px;
}

.fixed-logo img {
  height: 60px;
  width: auto;
}
/* Mobile View - override for smaller screens */
@media screen and (max-width: 767px) {
  .fixed-logo {
    position: absolute; /* Remove fixed positioning */
    background-color: transparent; /* Remove black background */

    text-align: center; /* Optional: center the logo */
  }

  .fixed-logo img {
    height: 50px; /* Optional: smaller logo for mobile */
  }
}
/* by jeeva */

.display {
  transform: translateX(0%) !important;
}

@media all and (max-width: 300px) {
  .logo {
    align-self: center;
    /* Center the logo within its container */
    margin: 10px 0;
    /* Adjust margin for spacing */
    max-width: 100%;
    /* Ensure the logo doesn't exceed the width of its container */
  }
}

/* Style for the text */
h5 {
  margin: 5px 0;
}

.btn {
  border-radius: 12px;
  padding: 5px;
  position: relative;
  bottom: 12px;
}

.image-container {
  text-align: center;
  margin-bottom: 20px;
  /* Add margin for better separation between image and content */
}

.image-container img {
  max-width: 100%;
  height: auto;
}

.content-container {
  padding: 20px;
  /* background-color: white; */
}

.content-container p {
  margin-bottom: 15px;
}

@media screen and (min-width: 601px) {
  .topic-container {
    flex-direction: row;
    /* Switch to a row layout for screens wider than 600px */
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    /* Adjusted padding for better spacing between topics on desktop */
  }

  .topic-container:nth-child(odd) .image-container,
  .topic-container:nth-child(even) .content-container {
    order: 1;
    /* Reverse order for odd topics (image on left, content on right) */
  }

  .topic-container:nth-child(odd) .content-container,
  .topic-container:nth-child(even) .image-container {
    order: 2;
    /* Reverse order for even topics (content on left, image on right) */
  }

  .image-container,
  .content-container {
    flex: 1;
    margin-right: 20px;
    /* Add margin for better separation between image and content */
    margin-bottom: 0;
    /* Remove margin for mobile view */
  }
}

.content {
  padding: 10px;
  box-sizing: border-box;
  /* background-color: #282c34; */
}

.text-and-image {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.text-content {
  color: #ffffff;
  /* Ensure the text is visible on dark backgrounds */
}

.imagecontainer {
  flex: 0 0 50%;
}

.imagecontainer img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-top: 20px;
}

h1 {
  color: #ffffff;
}

.para {
  font-family: "Georgia", serif;
  font-size: 1.2rem;
  color: #f0f0f0;
  line-height: 1.8;

  margin: 0 auto;
}

.content {
  padding: 10px;
  box-sizing: border-box;
}

.text-content {
  flex: 1;
  margin-top: 70px;
}

/* Heading styling */
.contact-text h2 {
  margin-left: 1px;
  margin-top: 20px;
}

.contact-text p {
  color: #ffffff;
}

/* Heading styling */
h2 {
  margin-top: 20px;
  color: #ffff;
}

.text-background {
  display: block;

  padding: 4px;
  color: white;
  text-align: center;
  position: absolute;
}
a.img-container {
  position: relative;
  overflow: hidden; /* Ensure child elements stay within bounds */
  border-radius: 15px;
  transition: transform 0.3s ease;
}

a.img-container img {
  width: 235px;
  height: 150px;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.options {
  display: flex;
  grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));

  gap: 20px;
  /* background-color: transparent; */
  padding: 20px;
  margin-left: 0;
  justify-content: center;
  flex-wrap: wrap;
  /* background-color: rgba(0, 0, 0, 0.1); */
  border-radius: 15px;
}

.options a {
  text-decoration: none;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  font-size: 24px;
  line-height: 30px;
  position: relative;
  transition: background 0.3s ease;
}
.explore-btn {
  position: absolute;
  bottom: 10px;
  right: 40px;
  font-size: 0.9rem;
  color: white;

  padding: 4px 10px;
  border-radius: 20px;
  z-index: 1;
  transition: background 0.3s ease, transform 0.3s ease;
}
/* Mobile View for .explore-btn */
@media screen and (max-width: 767px) {
  .explore-btn {
    position: absolute;
    bottom: 10px; /* Adjust bottom spacing */
    left: 50%; /* Center the button horizontally */
    transform: translateX(-50%); /* Ensure it's centered */
    font-size: 0.8rem; /* Reduce the font size for mobile */
    padding: 6px 12px; /* Adjust button padding */
    border-radius: 20px; /* Maintain the rounded corners */
    z-index: 1;
    transition: background 0.3s ease, transform 0.3s ease;
  }

  /* Adjusting hover effect for the button */
  a.img-container:hover .explore-btn {
    transform: scale(1.05); /* Slight scaling effect on hover */
  }
}

a.img-container:hover .explore-btn {
  /* background: rgba(255, 255, 255, 0.25); */
  transform: scale(1.05);
}

.options a:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.options a:hover img {
  transform: scale(1.1); /* Slightly zoom image */
}

.options a:hover .text-background {
  color: white;
  /* Change text color on hover */

  padding: 5px 0; /* Add some padding */
}

@media (min-width: 768px) {
  .options a {
    width: 23%;
    /* Reset width for larger screens */
    font-size: 24px;
    /* Reset font size for larger screens */
    line-height: 35px;
    /* Reset line height for larger screens */
  }
}

.contactscontainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}
.contactscontainer img {
  border-radius: 15px;
}
.contact-image {
  max-width: 100%;
  /* Ensures the image doesn't exceed its container */
  height: auto;
  /* Maintains aspect ratio */
  margin-top: 50px;
}

.contact-text {
  padding-left: 20px;
  /* Adds space between the image and the text */
  width: 50%;
}

.contactscontainer div {
  width: 50%;
}

.text-center {
  text-align: center;
  margin-top: 30px;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
  .contactscontainer {
    display: block;
    padding: 20px;
  }

  .options {
    display: block;
    text-align: -webkit-center;
  }

  .options a {
    margin: 10px 0px;
  }

  .text-background {
    display: block;
    padding: 4px;
    color: white;
    text-align: center;
    position: absolute;
    font-size: 18px;
  }

  .text-and-image {
    display: block;
  }

  .contactscontainer div {
    width: 100%;
  }
}

@media screen and (min-width: 768px) and (max-width: 1020px) {
  .options {
    flex-wrap: wrap;
  }
}

#contact p {
  color: white;
}

.contact-details h2 {
  color: #545454;
}

.content1 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  /* Align items at the top of the container */
}

.contact-details {
  flex: 1;
  /* Take up remaining space */
  /* Adjust as needed for spacing between sections */
}

.contact-details p {
  margin-left: 20px;
}

.contact-details h2 {
  margin-left: 20px;
}

.content1 .contact-container {
  display: flex;
  flex-wrap: wrap;
}

.contact-details {
  padding: 20px 0px 10px 20px;
}

.map-container {
  position: relative;
  margin-top: 40px;
  margin-right: 50px;
}

.map-container iframe {
  width: 600px;
  height: 400px;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
  .content1 .contact-container {
    display: block;
    flex-wrap: wrap;
  }

  .map-container iframe {
    width: 320px;
    height: 300px;
  }
}

.imageContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 3rem;
  justify-content: space-around;
  text-align: center;
}
.imageContainer div {
  transition: transform 0.3s ease; /* Smooth scaling */
}
.imageContainer img {
  width: 120px;
  height: 80px;
  border-radius: 10px;
}
/* Scale effect on hover */
.imageContainer div:hover {
  transform: scale(1.1); /* Scale up the logo */
}

h5 {
  margin-top: 10px; /* Add some space between image and text */
  font-size: 14px; /* Set a font size for the labels */
}

.line {
  background-color: black;
  padding-top: 0.01em;
  padding-bottom: 0.05em;
  width: 40px;
  margin-bottom: 2em;
  margin-top: 2em;
  min-width: 1px;
  min-height: 0.953125px;
}
.profile-wrap {
  display: flex;
  justify-content: space-evenly;
}

.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 10px;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
  position: relative; /* Position relative to use the overlay inside */
  overflow: hidden; /* Ensure the overlay stays inside the container */
  transition: color 0.3s ease; /* Smooth transition for the text color */
  cursor: none;
}
.profile-container::before {
  content: "";
  position: absolute;
  bottom: -100%; /* Initially place the overlay outside at the bottom */
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #8b0392, #781ee6);
  transition: all 0.5s ease; /* Smooth transition effect */
  z-index: 1; /* Ensure overlay stays below the content */
}
.profile-container:hover::before {
  bottom: 0; /* Slide the overlay up to cover the content */
}
.profile-container:hover .profile-details p,
.profile-container:hover .profile-details strong {
  color: white; /* Change text color to white on hover */
}

.content-profile {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  flex-direction: row;
}

.profile-details {
  padding: 10px;
  position: relative;
  z-index: 2; /* Ensure text stays above the overlay */
  transition: color 0.3s ease; /* Smooth transition for the text color */
}

.profile-details p {
  margin: 0 0 10px;
}

.profile-details h4 {
  margin: 0;
  position: relative;
  z-index: 2; /* Ensure text stays above the overlay */
  color: black; /* Change text color if needed to contrast with the overlay */
}

.profile-image img {
  max-width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  margin-left: 20px;
  position: relative;
  z-index: 2; /* Ensure image stays above the overlay */
}
.profile-details p,
.profile-details strong {
  transition: color 0.3s ease; /* Smooth transition for the text color */
  color: #333; /* Default text color */
}
.profile-image1 img {
  max-width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  margin-left: 20px;
  position: relative;
  z-index: 2; /* Ensure image stays above the overlay */
}

.profile-image2 img {
  max-width: 250px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  margin-left: 20px;
  position: relative;
  z-index: 2; /* Ensure image stays above the overlay */
}

@media (max-width: 768px) {
  .profile-container {
    flex-direction: column;
    align-items: center;
  }

  .profile-container {
    width: 100%;
  }
  .profile-wrap {
    flex-direction: column; /* Stack profile containers vertically */
    align-items: center; /* Center align the containers */
  }
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  /* display: none; */
}

.contact-table td {
  padding: 8px;
  vertical-align: top;
}

.contact-table .label {
  width: 100px;
  /* Adjust the width for alignment */
  text-align: right;
  padding-right: 10px;
  white-space: nowrap;
  /* Prevent wrapping */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
}

.contact-table td {
  padding: 8px;
  vertical-align: top;
}

.contact-table .label {
  width: 100px;
  /* Adjust the width for alignment */
  text-align: right;
  padding-right: 10px;
  white-space: nowrap;
  /* Prevent wrapping */
}

/* Media query for mobile view */
@media (max-width: 768px) {
  .contact-table {
    width: 100%;
    /* Ensure table takes full width */
  }

  .contact-table .label {
    width: auto;
    /* Allow label to take necessary width */
    text-align: left;
    /* Align text to the left */
    padding-right: 5px;
    /* Adjust padding as needed */
  }

  .contact-table td {
    display: block;
    /* Stack table cells vertically */
    width: 100%;
    box-sizing: border-box;
    /* Ensure padding and border are included in the width */
  }

  .nav-menu {
    padding: 0 10px;
    /* Adjust padding to remove gaps */
    box-sizing: border-box;
    /* Include padding in width calculations */
  }

  .container {
    padding: 0 10px;
    /* Adjust padding for container if needed */
    box-sizing: border-box;
    /* Include padding in width calculations */
  }
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 4px 20px; /* Added more padding for a spacious look */
  background-color: #222;
  color: #fff;
  height: 190px;
}

.footer-section {
  flex: 1;
  margin: 20px;
  min-width: 200px; /* Prevents sections from becoming too narrow */
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 20px; /* Slightly bigger for prominence */
  font-weight: bold;
  border-bottom: 2px solid #444;
  padding-bottom: 10px;
}

.footer-section p,
.footer-section ul,
.footer-section a {
  color: #bbb;
  text-decoration: none;
  margin: 10px 0; /* More spacing for clarity */
  font-size: 16px; /* Improved readability */
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 20px; /* Increased gap for clarity */
}

.social-icon {
  display: inline-block;
  width: 40px; /* Larger icon size */
  height: 40px;
  border-radius: 50%; /* Rounded icons */
  background-color: #333; /* Add background to icons */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease; /* Transition for hover effect */
}

.social-icon:hover {
  background-color: #555; /* Darker background on hover */
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: #bbb;
  transition: fill 0.3s ease;
}

.social-icon svg:hover {
  fill: #fff;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  background-color: #222;
  color: #bbb;
  font-size: 14px;
}
/* Mobile View Adjustments */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column; /* Stack sections vertically */
    padding: 20px 10px; /* Adjust padding for smaller screens */
    height: auto; /* Allow height to adjust automatically */
  }

  .footer-section {
    margin: 10px 0; /* Reduce margin between sections */
    min-width: 100%; /* Ensure sections take full width */
    text-align: center; /* Center-align content for better appearance */
  }

  .footer-section h3 {
    font-size: 18px; /* Slightly smaller heading font size */
    border-bottom: 1px solid #444; /* Thinner border for compactness */
    padding-bottom: 5px; /* Adjust padding for balance */
  }

  .footer-section p,
  .footer-section ul,
  .footer-section a {
    font-size: 14px; /* Smaller font size for readability */
    margin: 5px 0; /* Reduce spacing */
  }

  .social-icons {
    justify-content: center; /* Center-align social icons */
    gap: 10px; /* Reduce gap between icons */
  }

  .social-icon {
    width: 30px; /* Smaller icon size */
    height: 30px;
  }

  .footer-bottom {
    font-size: 12px; /* Smaller text for footer bottom */
    padding: 10px 0; /* Adjust padding */
  }
}
.footerdetails {
  color: white;
}
/* Train Text Container */
.train-text-container {
  width: 100%; /* Full width */
  height: 60px; /* Fixed height for the container */
  overflow: hidden; /* Hide overflowing text */
  position: relative;
  background-color: #6495ed; /* Background color */
  border-radius: 15px; /* Rounded corners */
  display: flex; /* Flexbox to center content */
  align-items: center; /* Vertically center */
  justify-content: center; /* Horizontally center */
  padding: 10px;
  margin-bottom: 20px;
}

/* Train Text Wrapper for Continuous Scrolling */
.train-text-wrapper {
  display: inline-block;
  white-space: nowrap; /* Prevent text wrapping */
  animation: runText 10s linear infinite; /* Continuous scrolling animation */
  will-change: transform; /* Improve rendering performance */
}

/* Animation Keyframes for Continuous Scrolling */
@keyframes runText {
  0% {
    transform: translateX(100%); /* Start off-screen (right) */
  }
  100% {
    transform: translateX(-100%); /* End off-screen (left) */
  }
}
/* Hover Effect for the Container */
.train-text-container:hover .train-text-wrapper {
  animation-play-state: paused; /* Pause animation on hover */
  color: #000; /* Ensure text color is clear and sharp */
  filter: none; /* Remove any potential blur effects */
}

/* "NEW" Label */
.new-label {
  color: white;
  background-color: red; /* Bright red for emphasis */
  font-weight: bold;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 20px; /* Rounded edges for the label */
  margin-right: 10px; /* Space between "NEW" and the text */
  display: inline-block;
}

/* Clickable Link */
.notification-link {
  color: #000000; /* Blue color for link */
  text-decoration: none; /* Remove underline */
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
}

.notification-link:hover {
  text-decoration: underline; /* Add underline on hover */
  color: #ffffff; /* Darker blue on hover */
}

/* Extra small screens */
@media (max-width: 480px) {
  .train-text-container {
    width: calc(100% - 10px);
    height: 30px;
    font-size: 10px;
    padding: 3px;
    margin-bottom: 30px;
  }

  .train-text-wrapper {
    animation: runText 7s linear infinite;
  }

  .register-link {
    font-size: 0.9rem;
    padding: 2px 6px;
  }
}
.events-label {
  color: #f8f8f8; /* Dark text color */
  font-weight: bold; /* Bold text */
  font-size: 16px; /* Adjust font size */
  margin-right: 10px; /* Space between label and the rest of the text */
  display: inline-block; /* Align with the text */
}
/* On hover, ensure text remains clearly visible */
.train-text-wrapper:hover .events-label {
  color: #ffffff; /* Keep text color white */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Enhance shadow for better readability */
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dim background */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  width: 90%;
  max-width: 600px; /* Adjust modal width */
  max-height: 90vh; /* Limits height to viewport */
  overflow: hidden;
  border-radius: 8px;
  padding: 15px;
}

/* Ensure iframe fills modal and scrolls */
#formFrame {
  width: 100%;
  height: 80vh; /* Use viewport height for better scrolling */
  border: none;
  overflow: hidden;
}

/* Prevent background scrolling when modal is open */
.modal-open {
  overflow: hidden;
}

.close {
  font-size: 24px;
  cursor: pointer;
  float: right;
}
/* General Button Styling */
.form-btn {
  background: linear-gradient(
    90deg,
    #ff7e5f,
    #feb47b
  ); /* Gradient background */
  color: white; /* Text color */
  font-size: 16px; /* Font size */
  font-weight: bold;
  padding: 12px 24px; /* Padding */
  border: none; /* No border */
  border-radius: 25px; /* Rounded corners */
  cursor: pointer; /* Pointer on hover */
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  text-transform: uppercase; /* Uppercase text */
  letter-spacing: 1px;
}

/* Button Hover Effect */
.form-btn:hover {
  background: linear-gradient(90deg, #feb47b, #ff7e5f);
  transform: scale(1.05); /* Slightly increase size */
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

/* Button Click Effect */
.form-btn:active {
  transform: scale(0.98); /* Slightly reduce size */
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
}
.enquire-now-btn {
  position: absolute;
  top: 450px;
  right: 30px;
  z-index: 10;
}
@media (max-width: 767px) {
  .enquire-now-btn {
    position: absolute;
    top: 15px; /* Adjust to fit inside mobile header */
    right: 20px;
    transform: translateY(0); /* Reset if any translation applied */
  }

  #header {
    position: relative; /* Ensure positioning works inside header */
  }
  .form-btn {
    padding: 4px 4px;
    margin-right: 60px;
    margin-top: 1px;
  }
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
}
.logo,
nav {
  position: relative;
  z-index: 2; /* Ensures these are on top of particles */
}
#container {
  position: relative;
  z-index: 2;
}

canvas.particles-js-canvas-el {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
#overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Dark transparent overlay */
  z-index: 1; /* In front of particles, behind content */
  pointer-events: none; /* Let mouse pass through */
}
@media (max-width: 768px) {
  #particles-js,
  canvas.particles-js-canvas-el,
  #overlay {
    height: 100vh;
    width: 100vw;
  }
}
.hover-area {
  position: relative;
  height: 100px; /* Adjust the height as needed */
}

.know-more-btn {
  position: relative;
  padding: 0.6em 1.2em; /* Adjustable for responsiveness */
  background-color: #ff5722;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, padding-inline-end 0.3s;
  top: 20px;
}

/* Show arrow on hover */
.know-more-btn:hover::after {
  content: "→";
  font-size: 18px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  transition: right 0.3s;
}
/* Hide arrow by default */
.know-more-btn::after {
  content: none;
}
.know-more-btn:hover {
  background-color: #e64a19;
  padding-inline-end: 2em; /* Adds space for arrow shift */
}

.know-more-btn:hover::after {
  right: 0.6em; /* Moves arrow closer to edge */
}
@keyframes fade-in {
  to {
    opacity: 1;
  }
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .know-more-btn {
    font-size: 14px;
    padding: 0.5em 1em;
  }
  .know-more-btn:hover::after {
    font-size: 16px;
    right: 8px;
  }
}
.training-section {
  /* background: #0a1128; */
  background: linear-gradient(to right, #0a1128, #1e2a78);
  padding: 4rem 2rem;
  font-family: "Segoe UI", sans-serif;
  display: flex;
  justify-content: center;
}

.training-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.training-left {
  flex: 1 1 300px;
  max-width: 500px;
  text-align: left;
}

.training-left .label {
  font-size: 0.9rem;
  color: #fff;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
}

.training-left h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.training-left .highlight {
  color: #fff;
}

.training-left p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .training-left h2 {
    font-size: 1.8rem; /* Slightly smaller font for mobile */
  }

  .training-left p {
    font-size: 1rem; /* Adjust paragraph font size for mobile */
  }

  .training-content {
    flex-direction: column; /* Stack the content vertically on mobile */
    align-items: center; /* Center the content */
  }
}
.title {
  font-family: "Arial", sans-serif;
  font-size: 2.5rem;
  color: #ecf0f1; /* Lighter text color */
  margin-bottom: 20px;
}

.sub-title {
  font-family: "Arial", sans-serif;
  font-size: 2rem;

  margin-bottom: 20px;
}

.training-description {
  font-family: "Georgia", serif;
  font-size: 1.2rem;
  color: #ecf0f1;
  line-height: 1.8;
  margin-bottom: 20px;
}
.training-left img {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 10px;
}

.training-grid {
  display: grid;
  flex: 1 1 600px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.training-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.training-card:hover {
  transform: translateY(-5px);
}

.training-card img {
  height: 60px;
  margin-bottom: 1rem;
}

.training-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: #111;
}

.training-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .training-content {
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center align content */
    gap: 1.5rem; /* Add spacing between sections */
  }

  .training-left,
  .training-grid {
    max-width: 100%; /* Take full width of the screen */
    text-align: center; /* Center text for readability */
  }

  .training-left h2 {
    font-size: 1.8rem; /* Adjust font size for mobile */
    text-align: center; /* Ensure it stays centered */
    margin-bottom: 1rem; /* Add space below the heading */
  }

  .training-left p {
    font-size: 1rem; /* Adjust paragraph font size for mobile */
    line-height: 1.6; /* Improve line spacing for readability */
    text-align: center; /* Center align text */
    margin-bottom: 1.5rem; /* Add spacing at the bottom */
    padding: 0 15px; /* Add padding to avoid text touching edges */
  }

  .training-section {
    padding: 2rem 1rem; /* Adjust padding for mobile screens */
  }

  .highlight {
    color: #f39c12; /* Maintain highlight color */
  }
}

@media (max-width: 600px) {
  /* Further adjustments for smaller screens like smartphones */
  .training-left h2 {
    font-size: 1.6rem; /* Slightly smaller heading */
  }

  .training-left p {
    font-size: 0.95rem; /* Slightly smaller paragraph font */
  }

  .training-section {
    padding: 1.5rem 0.5rem; /* Further reduce padding on very small screens */
  }
}
@media (max-width: 767px) {
  .training-grid {
    grid-template-columns: 1fr; /* Stack cards in a single column */
    gap: 1rem; /* Slightly smaller gap between cards */
    justify-items: center; /* Center cards horizontally */
  }

  .training-card {
    width: 90%; /* Prevent full width, adds breathing room */
    padding: 1.5rem 1rem; /* Reduce padding on mobile */
  }

  .training-card img {
    height: 50px; /* Slightly smaller icons */
    margin-bottom: 0.8rem;
  }

  .training-card h3 {
    font-size: 1rem; /* Slightly smaller heading */
    margin-bottom: 0.5rem;
  }

  .training-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 5px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.logo-heading {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #222;
  margin-bottom: 30px;
  font-family: sans-serif;
}
.logo-carousel {
  overflow: hidden;
  padding: 1px 0;
  background: white;
  position: relative;
  z-index: 1;
}

.logo-track {
  display: flex;
  width: fit-content;
  animation: slide 40s linear infinite;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px; /* Ensure all logos get enough horizontal space */
  height: 120px; /* Ensures uniform vertical space */
}
.logo-item img {
  height: 120px; /* Increased for better visibility */
  width: auto;
  object-fit: contain;
  padding: 10px;
  filter: brightness(1.1) contrast(1.2); /* Optional: boost visibility */
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-carousel::before,
.logo-carousel::after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Mobile and Tablet View Adjustments */
@media (max-width: 900px) {
  .logo-heading {
    font-size: 22px; /* Adjust heading size for smaller screens */
    margin-bottom: 20px; /* Reduced margin */
  }

  .logo-item {
    min-width: 150px; /* Reduced min width of each logo item */
    height: 100px; /* Adjusted height for mobile */
  }

  .logo-item img {
    height: 100px; /* Adjust logo height for mobile */
    padding: 5px; /* Reduced padding */
  }

  .logo-carousel {
    padding: 1px 0;
  }

  /* Adjusting animation speed for mobile */
  .logo-track {
    animation: slide 30s linear infinite; /* Faster scroll for smaller screens */
  }
  .logo-carousel::before {
    left: 0;
    background: none;
  }

  .logo-carousel::after {
    right: 0;
    background: none;
  }
}

@media (max-width: 600px) {
  .logo-heading {
    font-size: 18px; /* Further reduced for very small screens */
    margin-bottom: 15px;
  }

  .logo-item {
    min-width: 130px; /* Even smaller items for small screens */
    height: 80px; /* Further reduced height for small screens */
  }

  .logo-item img {
    height: 80px; /* Adjust image height */
    padding: 5px;
  }

  .logo-carousel {
    padding: 0; /* Remove extra padding */
  }

  /* Adjusting animation speed for small screens */
  .logo-track {
    animation: slide 20s linear infinite; /* Faster animation */
  }
}

/* Keyframes for sliding animation */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.hidden-collaborators {
  display: none;
}
.main-title {
  font-family: "Arial", sans-serif;
  font-size: 2.5rem; /* Adjust size for better visibility */
  color: #fff;
  margin-bottom: 20px;
}
#scroll-line {
  position: fixed;
  top: 95px;
  left: 0;
  height: 4px;
  background-color: #d04b3f; /* or your accent color */
  width: 0%;
  z-index: 9999;
  transition: width 0.2s ease-out;
}
@media screen and (max-width: 767px) {
  #scroll-line {
    position: relative; /* Remove fixed */
    top: 100px;
    width: 100%; /* Optional: set full width if you want a static line */
    height: 3px; /* Optional: slightly thinner */
    z-index: 1; /* Lower z-index so it doesn't overlay UI */
  }
}

@media screen and (max-width: 767px) {
  #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px; /* let content inside determine height */
    z-index: 3000;
    background-color: white; /* visible background for clarity */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }

  .fixed-logo {
    position: static;
    background-color: transparent;
    padding: 0 10px;
    margin-bottom: 50px;
  }

  .fixed-logo img {
    height: 50px;
  }

  .enquire-now-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    transform: none;
    z-index: 2001;
  }

  #scroll-line {
    display: none;
  }

  /* Push content down to avoid overlap with fixed header */
  body {
    padding-top: 100px;
  }
}
