/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #fff;
  color: #333;
  transition: opacity 0.3s ease;
}


/* Header */
.header {
  background-color: #fff;
  color: #f47c00;
  padding: 0px 2%;
  max-height: 10vw;
  width: 100%;
  display: flex;
  justify-content: spac;
  align-items: center;
}
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  height: 140px;
  width: 300px;
  margin-right: 15px;
}

.menu {
  margin-left: 25%;
  list-style: none;
  display: flex;
}

.menu li {
  margin: 0 20px;
  border-bottom: 1px solid black;
}

.menu li a {
  color: #f47c00;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all .2s ease;
}
.menu li a:hover {
  color: #000;
}
/* Menu Toggle (Hamburger) */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -50%;
  width: 50%;
  height: 100%;
  background-color: #f47c00;
  transition: right 0.3s ease;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  padding-top: 100px;
  z-index: 1000;
}

.side-menu nav ul {
  list-style: none;
  text-align: center;
}

.side-menu nav ul li {
  margin: 40px 0;
}

.side-menu nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  border-bottom: 1px solid black;
  transition: all .2s ease;
}
.side-menu nav ul li:hover a{
  color: #000;
}

.side-menu .close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Open Side Menu */
.side-menu.open {
  right: 0;
}

.side-menu.open ~ * {
  opacity: 0.5;
}


/* Mobile Styles */
@media (max-width: 900px) {
  .header {
    justify-content: space-evenly; /* Adjust layout for mobile */
  }

  /* Show hamburger icon for small screens */
  .menu-icon {
    display: flex;
  }

  /* Initially hide the menu */
  .header nav ul {
    display: none;
    text-align: center;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .header nav ul li {
    margin: 20px 0;
  }
  .header nav ul li:hover {
    color: #fff;
    padding: 0;
  }
  /* Show menu when toggled */
  .header nav ul.show {
    display: flex;
  }  
  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
  }
}

/* Home Section */
.home {
  position: relative;
  width: 100%;
  height: 78vh; /* Full screen height */
  overflow: hidden;
}

/* Video Background */
.video-text {
  color: #fff;
  margin-top: 16%;
}
.video-text h2 {
  font-size: 2.5rem;
  text-shadow: 0 5px 5px #f47c00;
  text-align: center;
  font-weight: 500;
}
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  z-index: -1; /* Ensures the video stays behind the text */
  object-fit: cover; /* Ensures the video covers the entire area */
  opacity: 1;
}

/* Home Content */
.home-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 1; /* Ensures text is above the video */
}

.home-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;/* Optional: adds shadow to the text for better visibility */
}

.home-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  background-color: #f47c00; /* Orange button */
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.5s ease;
}

.btn-primary:hover {
  background: #ffffff; /* Darker orange on hover */
  color: #e16700;
  border: 1px solid #f47c00;
}

/* About Section */
.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 160px;
  text-align: left;
}

.about h2 {
  font-size: 2rem;
  color: #f47c00;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.about-images img {
  width: 80%;
  margin: 10px 20%;
  border-top-left-radius: 30%;
  border-bottom-right-radius: 30%;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
}

/* overview section  */
#overview h1{
  font-size: 2.5rem;
  text-align: center;
  margin: 20px 0;
}
.overview-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 10px 5%;
}
.card {
  width: 370px;
  height: 300px;
  background-color: #fff;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  border-radius: 8px;
  border: .8px solid #cccccc87;
  transition: all .3s ease;
}
.card-text h2{
  font-size: 2rem;
  margin-bottom: 15px;
  color: #3f3f3f;
}
.card-text p {
  font-size: 1.2rem;
  color: #3f3f3f;
}
.card i {
  margin-bottom: 50px;
  font-size: 4rem;
  color: #f47c00;
}
.card:hover{
  background-color: #F26822;
  border: .8px solid #F26822;
  cursor: pointer;
}
.card:hover h2 {
  color: #fff;
}
.card:hover p {
  color: #fff;
}
.card:hover i {
  color: #fff;
}

/* Courses Section */
.courses {
  background-color: #f7f7f7;
  padding: 60px 20px;
  text-align: center;
}

.courses h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.course-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.course-card {
  background-color: #fff;
  border-radius: 8px;
  width: 400px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-card img {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.course-card h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.course-card button {
  margin-bottom: 20px;
}
.slider-container {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 20px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}
.slider-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.slider {
  padding: 10px 7%;
  /* background-color: aliceblue; */
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}
.slider-item {
  height: 200px;
  width: 300px;
  /* background-color: #ff0000; */
  /* border: 1px solid #333; */
  margin: 10px;
  display: inline-block;
  border-radius: 10px;
}
.slider-item img {
  height: 150px;
  width: 298px;
  border-radius: 10px;
  opacity: .5;
  transition: .3s ease;
}
.slider-item img:hover {
  opacity: 1;
  cursor: pointer;
}

/* presence */
#presence{
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#presence h2 {
  font-size: 2.5rem;
  padding-top: 20px;
  color: #3f3f3f;
}

#presence img {
  height: 70%;
  width: 70%;
  margin-left: 20%;
  object-fit: cover;
}
/* Contact Section */
.contact {
  padding: 60px 20px;
  background-color: #f7f7f7;
  border: 2px solid #f47c00;
  margin-left: 10%;
  width: 80%;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 2px 6px 8px #f47c00;
}

.contact h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact input,
.contact textarea {
  width: 60%;
  padding: 20px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ddd;
}
.contact input:hover,
.contact textarea:hover {
  border: 1px solid #f47c00;
}

.contact button {
  background-color: #f47c00;
  color: #fff;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.contact button:hover {
  background: #fff; /* Darker orange on hover */
  color: #e16700;
  border: 1px solid #f47c00;
}
.row {
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  width: 100%;
  align-items: center;
  padding: 50px 0;
  }
  

.footer {
  padding: 10px 5%;
  background: url(./images/neural-about.jpeg);
  color: #fff;
  }
  
  .footer h2 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 30px;
  text-align: left;
  }
  
  .footer .col {
  flex-basis: 100%;
  flex-grow: 1;
  margin-bottom: 20px;
  }
  
  .footer .col a {
  display: block;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
  transition: all .4s ease;
  }
  .footer .col a:hover {
  color: #f47c00;
  font-size: 18px;
  transform: translateX(6px);
  }
  .footer-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  }
  .row-1{
  display: flex;
  align-items: left;
  justify-content: left;
  flex-direction: column;
  gap: 30px;
  flex-basis: 40%;
  margin-right: 100px;
  }
  .row-1 .logo {
  display: flex;
  justify-content: left;
  align-items: center;
  border-radius: 10px;
  }
  .footer .row {
  align-items: flex-start;
  padding: 10px;
  }
  .footer-row-2{
  background-color: #333;
  padding: 5px;
  color: #fff;
  }
  .footer-row-2 p{
  text-align: center;
  }
  .social a{
  height: 40px;
  width: 40px;
  color: #fffcc3;
  background-color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  border-radius: 15px;
  transition: .3s;
  margin-right: 10px;
  text-decoration: none;
  }
  .social a:hover{
  background: #fff;
  color: #000;
  }
  .social a:hover {
  transform: translateY(-5px);
  }
  .copyright-txt {
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: right;
  }
@media (max-width: 900px) {
  .logo img {
    height: 85px;
    width: 200px;
    margin-right: 15px;
  }
  .about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 80px;
    flex-wrap: wrap;
  }
  
  .about h2 {
    font-size: 2rem;
    color: #f47c00;
    margin-bottom: 20px;
  }
  
  .about p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .about-images img {
    width: 80%;
    margin-left: 0;
    margin-top: 25px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
  }
  
}

/* Mobile Styles */
@media (max-width: 600px) {
  .logo img {
    height: 50px;
    width: 150px;
    margin-right: 15px;
  }
  .logo h1 {
    font-size: 1.5em;
  }
  .header {
    justify-content: space-evenly; /* Adjust layout for mobile */
  }

  /* Show hamburger icon for small screens */
  .menu-icon {
    display: flex;
  }

  /* Initially hide the menu */
  .header nav ul {
    display: none;
    text-align: center;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .header nav ul li {
    margin: 20px 0;
  }
  .header nav ul li:hover {
    color: #fff;
    padding: 0;
  }
  /* Show menu when toggled */
  .header nav ul.show {
    display: flex;
  }  
  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
  }
  .about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    flex-wrap: wrap;
  }
  
  .about h2 {
    font-size: 1.6rem;
    color: #f47c00;
    margin-bottom: 20px;
  }
  
  .about p {
    font-size: .7rem;
    margin-bottom: 30px;
  }
  
  .about-images img {
    width: 100%;
    margin-left: 0;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
  }
    /* Courses Section */
.courses {
  background-color: #f7f7f7;
  padding: 40px 10px;
  text-align: center;
}

.courses h2 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.course-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.course-card {
  background-color: #fff;
  border-radius: 8px;
  width: 300px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.course-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.course-card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.course-card .btn-primary {
  margin-top: 10px;
}
  
}
/* Mobile Styles */
@media (max-width: 480px) {
  .header {
    background-color: #fff;
    color: #f47c00;
    padding: 50px 2%;
    max-height: 15vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .logo img {
    height: 75px;
    width: 200px;
    margin-right: 15px;
  }

  .header {
    justify-content: space-evenly; /* Adjust layout for mobile */
  }

  /* Show hamburger icon for small screens */
  .menu-icon {
    display: flex;
  }
  /* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -70%;
  width: 50%;
  height: 100%;
  background-color: #f47c00;
  transition: right 0.3s ease;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  padding-top: 100px;
  z-index: 1000;
}

  /* Initially hide the menu */
  .header nav ul {
    display: none;
    text-align: center;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .header nav ul li {
    margin: 20px 0;
  }
  .header nav ul li:hover {
    color: #fff;
    padding: 0;
  }
  /* Show menu when toggled */
  .header nav ul.show {
    display: flex;
  }  
  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
  }
  .home-content h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  }
  
  .home-content p {
    font-size: .6rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  .about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12.5px 20px;
    flex-wrap: wrap;
  }
  
  .about h2 {
    font-size: 1.2rem;
    color: #f47c00;
    margin-bottom: 20px;
  }
  
  .about p {
    font-size: .7rem;
    margin-bottom: 30px;
  }
  
  .about-images img {
    width: 100%;
    margin-left: 0;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
  }
    /* Courses Section */
.courses {
  background-color: #f7f7f7;
  padding: 40px 10px;
  text-align: center;
}

.courses h2 {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.course-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.course-card {
  background-color: #fff;
  border-radius: 8px;
  width: 300px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.course-card p {
  font-size: .8rem;
  margin-bottom: 20px;
}

.course-card .btn-primary {
  margin-top: 10px;
}
.contact input,
.contact textarea {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ddd;
}
.contact input:hover,
.contact textarea:hover {
  border: 1px solid #f47c00;
}
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 15% 10px;
    border-top: 6px solid #333;
    color: #777;
}


.about-banner h2 {
  font-size: 1.2rem; /* Large headline text */
  margin: 0; /* Remove default margin */
}

.about-banner p {
  font-size: .7rem; /* Slightly smaller paragraph text */
  margin: 5px 0 0; /* Space between the heading and paragraph */
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.footer h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
}

.footer .col {
    flex-basis: 25%;
    flex-grow: 1;
    margin-bottom: 20px;
}

.footer .col a {
    display: block;
    text-decoration: none;
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
    width: 100%;
}

.footer .row {
    align-items: flex-start;
    padding: 10px;
    margin-left: -70%;
    margin-top: 15px;
}
.copyright-txt {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 10px;
} 
}
 /* Responsive styles */
 @media (max-width: 900px) {
  .slider-item {
      width: 33.33%; /* Show 3 items per slide */
  }
}
@media (max-width: 600px) {
  .slider-item {
      width: 50%; /* Show 2 items per slide */
  }
}
@media (max-width: 480px) {
  .slider-item {
      width: 100%; /* Show 1 item per slide */
  }
}
.about {
  transform-origin: center center; /* Ensure the zoom happens from the center */
}
.home-content {
  transform-origin: center center;
}
