* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: "Bai Jamjuree", sans-serif;
    background-color: #000;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    display: flex;
    max-width: 1200px;
    background-color: #000;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.text-section {
    margin-left: 20px;
    max-width: 600px;
}

h1 {
    font-size: 2rem;
    color: #b32d29;
    display: flex;
    align-items: center;
}

h1 .square {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #b32d29;
    margin-right: 10px;
}

h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 10px;
}

p {
    font-size: 1rem;
    color: #fff;
    margin: 10px 0;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #b32d29;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 1rem;
    text-align: center;
}

.cta-button:hover {
    background-color: #a12a25;
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
        text-align: center;
    }

    .text-section {
        margin-left: 0;
        margin-top: 20px;
    }
}


 /* Navbar Styling */
 .NavbarItems {
    background-color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;  /* Set navbar to full width */
    height: 120px;
    position: fixed;
    padding-right: 60px;
    top: 0;
    left: 0;
    z-index: 999;
  }
  
  nav .logo {
    width: 120px;
    height: 100px;
    cursor: pointer;
    border-radius: 50%;
  }
  
  #menu-icon {
    color: #fff;
  }
  
  /* Hero Section Video Styling */
  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
  .hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire background */
    z-index: -1;
  }
  
  .nav-menu {
    display: grid;
    grid-template-columns: repeat(4, auto);
    grid-gap: 2px;
    list-style: none;
    align-items: center;
    padding-left: 100px;
  }
  
  .nav-links {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.7rem 1rem;

  }
  .logo{
    padding-left: 30px;
  }

  
  .menu-icons {
    display: none;
  }
  @media (max-width: 768px) {
    nav .logo{
        width: 100px;
    }
    
  

  }
  

  @media screen and (max-width: 850px) {
    .nav-menu {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      background-color: #000;
      width: 100%;
      left: -100%;
      height: auto;
      position: absolute;
      top: 120px; /* Below the navbar */
      opacity: 0;
      align-items: center;
      padding: 80px 0 30px 0;
      margin: 0;
      transition: 0.3s ease-in-out;
      z-index: 1;
    }

   .nav-menu li{
    margin-top: 0;
    margin-bottom: 30px;

   }

    .nav-links:hover{
        background-color: none;
    }
    
     
   
    
    .nav-menu.active {
      left: 0;
      opacity: 1;
    }
  
    .nav-links {
      width: 100%;
      text-align: center;
      padding: 2rem 0;
    }
  
    .menu-icons {
      display: block;
      cursor: pointer;
      padding-right: 30px;
    }
  
    .menu-icons i {
      font-size: 1.5rem;
      color: #fff;
    }

    /*hero */
    .hero-content h1 {
        font-size: 30px;
        color: #fff;
      }
  }

  /*hero content */
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
  }
  
  .hero-content h1 {
    font-size: 100px;
    color: #fff;
    font-weight: 600;
    -webkit-text-stroke: 2px #fff;
    color: transparent;
    padding-top: 40px;
  }
  
  .hero-content p {
    font-size: 1.5rem;
    margin-top: 10px;
  }
  .hero-content a{
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-size: 24px;
    border: 2px solid #fff;
    padding: 14px 70px;
    border-radius:50px;
    margin-top: 20px;
    margin-bottom: 30px;
  }
  .hero-content a:hover{
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-size: 24px;
    border: 2px solid #fff;
    background-color:  #969699;
    padding: 14px 70px;
    border-radius:50px;
    margin-top: 20px;
    margin-bottom: 30px;
  }


  @media screen and (max-width: 850px) {
    .nav-menu {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      background-color: #000;
      width: 100%;
      left: -100%;
      height: auto;
      position: absolute;
      top: 120px; /* Below the navbar */
      opacity: 0;
      align-items: center;
      padding: 80px 0 30px 0;
      margin: 0;
      transition: 0.3s ease-in-out;
      z-index: 1;
    }


   .nav-menu li{
    margin-top: 0;
    margin-bottom: 30px;

   }

    .nav-links:hover{
        background-color: none;
    }
    
     
   
    
    .nav-menu.active {
      left: 0;
      opacity: 1;
    }
  
    .nav-links {
      width: 100%;
      text-align: center;
      padding: 2rem 0;
    }
  
    .menu-icons {
      display: block;
      cursor: pointer;
      padding-right: 30px;
    }
  
    .menu-icons i {
      font-size: 1.5rem;
      color: #fff;
    }

    /*hero */
    .hero-content h1 {
        font-size: 30px;
        color: #fff;
        padding-top: 70px;
      }
  }


  .footer {
    padding: 4rem 6rem;
    background-color: #000;
    color: #fff;
  }
  .footer-logo{
    width: 100px;
    height: 100px;
  }
  
  .top {
    display: flex;
    align-items: center;
    text-align: start;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .top i {
    color: #fff;
    font-size: 2rem;
    margin-left: 1rem;
    color: #fff;
    border: none;
    border-style: none;
    font-style: none;
  }
  
  .top i:hover {
    color: #969699;
  }
  
  .bottom {
    padding-top: 2rem;
    text-align: start;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .bottom i {
    margin-right: 10px;
  }
  .bottom div {
    display: flex;
    flex-direction: column;
  }
  
  .bottom h3 {
    font-size: 1.3rem;
    padding: 1rem 0 0.8rem 0;
  }
  
  .bottom a {
    text-decoration: none;
    color: #fafafa;
    padding-bottom: 0.4rem;
    padding-right: 20px;
    font-size: 1.1rem;
  }
  .bottom a:hover {
    color: #969699;
  }
  .all-right{
    text-align: center;
    padding-top: 30px;
  }


  @media (max-width: 768px) {
    .footer {
        padding: 1rem 2rem;
    }
    .all-right{
        text-align: center;
        padding-top: 2px;
      }

    .footer-logo {
        width: 70px;
        height: 70px;
    }

    .top {
        flex-direction: column;
    }

    .top i {
        font-size: 1.8rem;
        margin-left: 0.5rem;
    }

    .bottom {
        text-align: center;
        flex-direction: column;
    }

    .bottom div {
        margin-bottom: 1rem;
    }

    .bottom h4 {
        font-size: 1rem;
    }

    .bottom a {
        font-size: 0.9rem;
    }
}
  
