* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
}

header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #111b1d;
}

#navbar {
  display: flex;
  padding: 20px 25px;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  color: white;
  font-family: sans-serif;
}

#navbar #logo {
  font-size: 1.5rem;
  color: white;
  transition: color 0.3s ease;
}
#navbar #logo a:hover {
  color: blue;
}

#logo a {
  text-decoration: none;
  color: white;
}

#navbar #all-links {
  display: flex;
  list-style-type: none;
  gap: 35px;
  margin: 0;
  padding: 0;
}
#navbar #all-links li {
  position: relative;
  right: 20px;
  font-size: 16px;
}
#navbar #all-links li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}
#navbar #all-links li a:hover {
  color: blue;
}
#nav-icon {
  display: none;
  cursor: pointer;
  font-size: 30px;
  color: white;
  margin-left: 20px;
}
section {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 0 0 0 0;
}
.homepage {
  overflow: hidden;
  width: 100%;
}

.carousel-container1 {
  display: flex;
  width: 100%;
  position: relative;
  animation: slide 10s infinite;
}

.carousel-item1 {
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.uniform-size {
  width: 100%;
  object-fit: contain;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  39.63% {
    transform: translateX(0);
  }
  53.33% {
    transform: translateX(-100%);
  }
  83.03% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 770px) {
  #nav-icon {
    display: block;
  }
  #navbar {
    font-size: 24px;
  }
  #all-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 50%;
    height: 100vh;
    background-color: #111b1d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    transition: transform 0.3s ease-out;
  }
  #all-links li {
    margin-top: 20px;
    font-size: 30px;
    text-align: center;
  }
  #all-links.active {
    left: 0;
  }
}
@media (max-width: 480px) {
  #nav-icon {
    display: block;
  }
  #navbar {
    font-size: 18px;
  }

  #all-links {
    width: 70%;
  }

  #all-links li {
    font-size: 22px;
  }
}
#nav-icon.active {
  font-size: 30px;
}

/* @media (min-width: 1011px) {
  #all-links {
    display: flex;
    position: static;
    left: auto;
  }
} */

.course {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.course .parent {
  width: 100%;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(images/train-hire.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.course .coursechild1 {
  text-align: center;
  font-weight: bold;
  font-size: 35px;
  margin-bottom: 20px;
  margin-top: 30px;
}

.course .coursechild1 h1 {
  font-weight: bold;
  font-size: 35px;
}

.course .coursechild2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px;
  width: 100%;
}
.child {
  background-color: #03045d;
  padding: 25px 40px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.child:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(19, 186, 246, 0.5);
}

@media (max-width: 770px) {
  .course .coursechild2 {
    grid-template-columns: 1fr;
    width: 90%;
    padding: 15px 15px;
  }

  .coursechild2 .child {
    padding: 20px 35px;
    box-shadow: 0 4px 8px rgba(19, 186, 246, 0.3);
    font-size: 22px;
    font-weight: 800px;
  }
}

@media (max-width: 480px) {
  .course .coursechild1 {
    font-size: 30px;
  }

  .course .coursechild2 {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 15px 15px;
  }

  .coursechild2 .child {
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(19, 186, 246, 0.3);
    font-size: 20px;
    font-weight: 800px;
  }
}

.placement h2 {
  text-decoration: underline;
  font-size: 30px;
}
.placementcompany {
  display: flex;
  overflow: hidden;
  width: 100%;
  justify-content: flex-start;
  animation: scrollLeft 8s linear infinite;
}
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-30%);
  }
}
.placementcompany img {
  width: 120px;
  height: 120px;
  margin-top: 80px;
  margin-right: 15px;
}
.placementcompany {
  width: max-content;
}
.ourservices {
  width: 90%;
  background-color: rgb(233, 230, 225);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  padding: 30px;
  border-radius: 10px;
  line-height: 1.5em;
}
.ourservices:hover {
  box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.3);
}
.ourservices .ourservice1 img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
}
@media (max-width: 770px) {
  .ourservices .ourservice1 img {
    display: none;
  }
  .ourservices {
    width: 70%;
  }
}
@media (max-width: 480px) {
  .ourservices .ourservice1 img {
    display: none;
  }
  .ourservices {
    width: 100%;
  }
}
.ourservices .ourservice2 {
  text-align: center;
}
.ourservices .ourservice2 h2 {
  font-size: 30px;
}
.ourservices .ourservice2 p {
  font-size: larger;
  line-height: 1.5em;
}
.service-below-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 20px;
  width: 90%;
}
.child-grid {
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 20px;
  height: 100%;
  color: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #5de0e6, #03045d);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.child-grid:hover {
  transform: scale(1.05);
}

.child-grid-img {
  width: 160px;
  height: 160px;
  border-radius: 15px;
  overflow: hidden;
}

.child-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.child-grid p {
  font-size: 16px;
}

.child-grid h2 {
  margin-top: 40px;
  font-size: 20px;
}
@media (max-width: 770px) {
  .service-below-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 95%;
  }

  .child-grid h2 {
    font-size: 22px;
  }
  .child-grid p {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .service-below-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.portfolio {
  width: 90%;
  background-color: rgb(233, 230, 225);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  padding: 30px;
  border-radius: 10px;
  line-height: 1.5em;
}
.portfolio:hover {
  box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.3);
}
.portfolio .portfolio1 img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin-top: 30px;
}
@media (max-width: 770px) {
  .portfolio .portfolio1 img {
    display: none;
  }
  .portfolio {
    width: 70%;
  }
}
@media (max-width: 480px) {
  .portfolio .portfolio1 img {
    display: none;
  }
  .portfolio {
    width: 100%;
  }
}
.portfolio .portfolio2 {
  text-align: center;
}
.portfolio .portfolio2 h2 {
  font-size: 30px;
}
.portfolio .portfolio2 p {
  font-size: larger;
  line-height: 1.5em;
}
.portfolio-below-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 60px;
  width: 80%;
  height: auto;
}
.portfolio-child {
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 10px;
  color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #5de0e6, #03045d);
}

.portfolio-child:hover {
  transform: scale(1.05);
}

.portfolio-child img {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  margin-top: 10px;
}

.portfolio-child p {
  font-size: 18px;
}
.portfolio-child h2 {
  margin-top: 50px;
  font-size: 22px;
  line-height: 1.5em;
}
@media (max-width: 770px) {
  .portfolio-below-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: 95%;
    height: auto;
  }
  .portfolio-child {
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 10px;
  }

  .portfolio-child p,
  .portfolio-child h2 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 33.33%;
  }
  .portfolio-child h2 {
    font-size: 22px;
  }
  .portfolio-child p {
    font-size: 18px;
  }
}

.aboutus-grid {
  display: flex;
  gap: 20px;
  width: 90%;
  flex-wrap: wrap;
}

.aboutus-child {
  position: relative;
  flex: 1;
  min-width: 280px;
  border-radius: 5px;
  padding: 40px;
  color: white;
  border-radius: 10px;
  overflow: hidden;
}

.aboutus-child h2 {
  text-align: center;
  font-size: 24px;
  text-decoration: underline;
}

.aboutus-child p {
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 770px) {
  .aboutus-grid {
    flex-direction: column;
  }
}

.aboutus-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(images/star-design.png) no-repeat;
  background-size: cover;
  z-index: -1;
}

.final-grid {
  width: 90%;
  /* background-color: #03045d; */
  background: linear-gradient(135deg, #5de0e6, #03045d);
  box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.3);
  color: white;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
  line-height: 2em;
}

.final-grid .final-grid-img img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  margin-top: 8px;
}

.final-grid p {
  margin: 8px 0;
}

.final-grid #final-grid-p {
  font-size: 22px;
  font-weight: 400;
}
@media (max-width: 770px) {
  .final-grid {
    width: 70%;
    height: auto;
  }
  .final-grid .final-grid-img img {
    width: 200px;
    height: 200px;
  }
  .final-grid #final-grid-p {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .final-grid {
    width: 100%;
    height: auto;
  }
  .final-grid .final-grid-img img {
    width: 150px;
    height: 150px;
  }
  .final-grid #final-grid-p {
    font-size: 16px;
  }
}

footer {
  background-color: #111b1d;
  color: #fff;
}

.footer-container {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-column {
  padding: 10px;
  width: 300px;
}

.company-info {
  text-align: center;
  margin-bottom: 20px;
}

.company-info img {
  margin-bottom: 10px;
}

.footer-column h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.connect-with-us {
  text-align: center;
}

.social-icons a {
  margin: 0 10px;
  display: inline-block;
}

.social-icons img {
  width: 30px;
  height: 30px;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer .location-grid {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .location-grid i {
  width: 20px;
  height: 20px;
}

footer .location-grid svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

footer .location .grid-1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer .grid-2 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

footer a {
  text-decoration: none;
  color: white;
}

.footer-copyright {
  width: 100%;
  background-color: #283962;
  text-align: center;
  color: #fff;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  font-size: 14px;
}

.footer-copyright p {
  font-weight: 500;
  margin: 0;
}

.footer-copyright a {
  text-decoration: none;
  color: #979797;
}
.footer-copyright a:hover {
  color: #fff;
}

.whatsapp-icon {
  position: fixed;
  right: 8px;
  bottom: 130px;
  z-index: 1000;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-icon img {
  width: 100%;
  height: 100%;
}

.scroll-icon {
  position: fixed;
  right: 10px;
  bottom: 70px;
  z-index: 1000;
  border-radius: 10px;
  background-color: #b4b4b4;
  opacity: 0.8;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  visibility: hidden;
}

.scroll-icon img {
  width: 50%;
  height: 50%;
}

@media (max-width: 767px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-column {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .whatsapp-icon {
    width: 43px;
    height: 43px;
  }

  .scroll-icon {
    width: 40px;
    height: 40px;
  }
}

.gallery-title {
  text-align: center;
  text-decoration: underline;
  margin-top: 30px;
  font-size: 1.5rem;
  color: #333;
  padding-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.gallery-item video:hover {
  transform: scale(1.05);
}

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}



.download-button {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007BFF;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.download-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.download-button:active {
  background-color: #004080;
  transform: translateY(1px);
}



.slider-containers {
  position: relative;
  width: 100%;
  max-width: 1800px;
  overflow: hidden;
  border: 10px solid #ddd;
  border-radius: 20px;
  justify-content: center;
  background-color: #03045d;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.slider-containers h2 {
    text-decoration: underline;
    text-align: center;
}
.slider-containers h3 {
  text-decoration: underline;
  text-align: center;
}
.slider-containers ul {
  text-align: center;
}
.slider {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.slides {
  min-width: 100%;
  padding: 20px;
  box-sizing: border-box;
  text-align: left;
  font-size: 18px;
  color: #fff;
  display: none;
}

.slides.active {
  display: block;
}
/*
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  z-index: 1000;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
} 
  */