/* General Reset for Mobile */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Mobile Styles for Screen Width <= 768px */
@media (max-width: 768px) {

  .content {
    height: 350px;
  }

  #firstsection {
    height: 400px;
  }
  
  /* Sticky Contact Header */
  .sticky-contact {
    padding: 10px 20px;
    font-size: 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
  }
  
  /* Main Header (Stack logo and nav items) */
  .main-header {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  /* Logo */
  #logo {
    width: 80px;
    height: 50px;
    margin-bottom: 10px;
  }

  /* Navigation */
  .main-header nav {
    display: flex;
    margin-right: auto;
    justify-content: center;
  }
  
  .main-header nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
  }
  
  .main-header nav ul li {
    margin: 0 15px;
  }
  
  .main-header nav ul li a {
    font-size: 16px;
    text-decoration: none;
    color: #474747;
  }
  
  .main-header nav ul li a:hover {
    color: #000000;
  }

  /* Content Section Styling */
  .content {
    margin-bottom: 0vh;
  }

  /* Show Section */
  .bottom {
    display: block;
    padding: 10px;
  }

  .showsection {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
  }

  /* Image Box Styling */
  .image-box {
    width: 80px;
    height: 80px;
    margin-right: 15px;
  }

  .text-box {
    text-align: center;
  }

  /* Button Styling */
  .button-wrapper {
    text-align: center;
    margin-top: 20px;
  }

  .button {
    padding: 8px 15px;
    font-size: 14px;
  }

  .button:hover {
    border: 2px solid #000000;
    color: #000000;
  }

  /* Footer */
  footer {
    padding: 15px;
    font-size: 12px;
  }

  footer img {
    width: auto;
    height: 5vh;
  }

  /* Video toggle section stacks vertically on mobile */
  #toggleSection {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: auto;
    padding: 20px;
  }

  /* Hidden Video Section for Mobile */
  #vidsection {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
  }

  /* Show Video on Mobile */
  #vidsection.show {
    max-height: 30vh;
    opacity: 1;
  }

.leftone {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.leftone h2 {
  margin-top: 0;
}

.rightone {
  flex: 1;
  padding: 20px;
  margin-left: auto
}

.lefttwo {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.lefttwo h2 {
  margin-top: 0;
}

.righttwo {
  flex: 1;
  padding: 20px;
  margin-left: auto
}

.leftthree {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.lefthree h2 {
  margin-top: 0;
}

.rightthree {
  flex: 1;
  padding: 20px;
  margin-left: auto
}

.leftfour {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.leftfour h2 {
  margin-top: 0;
}

.rightfour {
  flex: 1;
  padding: 20px;
  margin-left: auto
}
}