/* 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;
    }
    
  /* Modal styles */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* 90% of the screen height */
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
  }
  
  /* Modal content */
  .modal-content {
    background-color: white;
    margin: 5% auto; /* Centered */
    padding: 20px;
    border: 1px solid #888;
    width: 100%; /* 100% width */
    height: 100%; /* Full height inside modal */
    overflow-y: auto; /* Allow scrolling if content overflows */
    text-align: center;
  }
  .modal-content h2{
    color: #f47c00;
    font-size: 3rem;
  }
  .modal-content p {
    font-size: 20px;
  }
  /* Close button */
  .close-btn {
    color: #000;
    font-size: 35px;
    font-weight: bold;
    position: absolute;
    top: 100px;
    left: 25px;
    transition: 0.3s;
  }
  
  .close-btn:hover,
  .close-btn:focus {
    color: #f47c00;
    text-decoration: none;
    cursor: pointer;
  }
  .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%;
    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;
  }
  .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;
  }
    
    @media (max-width: 600px) {
      .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;
      }
  }
    
    
    /* 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;
      }
    }
    .about-banner {
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #386D7C; /* A vibrant blue color */
      color: white; /* White text for contrast */
      text-align: center; /* Center-align text */
      height: 30vh;
      margin: 20px 0; /* Margin around the banner */
      font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
      transition: all .5s ease;
    }
    .about-banner a{
      color: #fff;
      text-decoration: none;
      transition: all .3s ease;  
    }
    .about-banner a:hover {
      color: #f47c00;
    }
    
    .about-banner h2 {
      font-size: 3rem; /* Large headline text */
      margin: 0; /* Remove default margin */
      font-weight: bold;
    }
    
    .about-banner p {
      font-size: 1.2rem; /* Slightly smaller paragraph text */
      margin: 5px 0 0; /* Space between the heading and paragraph */
    }
    
    .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;
    }
    
    
.features {
    padding: 0 10%;
    font-size: 22px;
}

.row {
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  width: 100%;
  align-items: center;
  padding: 50px 0;
}

.text-col {
    flex-basis: 68%;
    margin-bottom: 20px;
}
.text-col p {
    font-size: 16px;
    margin-bottom: 30px;
    letter-spacing: .5px;
    color: #3f3f3f;
}
.img-col {
    flex-basis: 29%;
    margin-bottom: 20px;
    margin-left: 30px;
}

.img-col img {
    display: block;
    width: 90%;
    margin: auto;
}
.features h3 {
    font-size: 20px;
    color: #3f3f3f;
}
.network-list {
    margin: 30px;
}
.network-list li {
    font-family: 'montesserat';
    color: #3f3f3f;
    font-size: 16px;
    padding: 5px 0; 
    font-weight: 700;
    letter-spacing: 1px;
}
.network-list {
    column-count: 2;
}

.features h2 {
    font-size: 50px;
    font-weight: 750;
    margin-bottom: 20px;
}
.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: 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;
    }
    .features {
      padding: 0 10%;
      font-size: 20px;
  }
  .footer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  

.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 */
}
  .row {
      padding-left: 18px;
      padding-right: 18px;
      display: flex;
      width: 100%;
      align-items: center;
      flex-wrap: wrap;
      padding: 30px 0;
  }
  
  .text-col {
      flex-basis: 100%;
      margin-bottom: 20px;
  }
  
  .img-col {
      flex-basis: 0;
      margin-bottom: 20px;
  }
  
  .img-col img {
      display: block;
      width: 90%;
      margin: auto;
  }
  
  .features h2 {
      font-size: 30px;
      font-weight: 750;
      margin-bottom: 20px;
  }
  }