html, body {
  overflow-x: hidden;
}
video {
    /** Simulationg background-size: cover */
  object-fit: cover;
  height: 100%;
  width: 100%;
  
  position: absolute;
  top: 0;
  left: 0;
}
.typing {
      display: inline-block;
      border-right: 3px solid #F36F25;
      padding-right: 5px;
      white-space: nowrap;
      overflow: hidden;
      animation: blink 0.7s infinite;
    }

    @keyframes blink {
      50% {
        border-color: transparent;
      }
    }
    /* ===== General Section Styling ===== */

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.container {
  max-width: 1100px;
  margin: auto;
}

/* ===== Card Layout ===== */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #fff;
  color: #333;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: #ff7a00;
  margin-bottom: 15px;
}

/* ===== Vision & Mission Section ===== */
.vision-mission {
  background: #ff7a00;
  color: #fff;
  padding: 70px 20px;
}

.vision-mission .card {
  background: #fff;
  color: #333;
}

/* ===== Problem Section ===== */
.solution {
  background: #fff;
  color: #333;
  padding: 70px 20px;
  text-align: center;
}

.solution h2 {
  color: #ff7a00;
}

.problem .card {
  background: #f9f9f9;
}

/* ===== Solution Section ===== */
.problem {
  background: #ff7a00;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  
}

.problem .card {
  background: #fff;
  color: #333;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  .card {
    padding: 25px;
  }
}

/*.video-wrapper {*/
/*     Telling our absolute positioned video to */
/*    be relative to this element */
/*    position: relative;*/
  
/*    width: 100%;*/
/*    height: 90vh;*/
/*    z-index: 1;*/
/*     Will not allow the video to overflow the */
/*    container */
/*    overflow: hidden;*/
  
/*     Centering the container's content vertically */
/*    and horizontally */
/*    text-align: left;*/
/*    display: flex;*/
/*    align-items: left;*/
/*    justify-content: left;*/
/*  }*/

/*Deep */
.video-wrapper {
  position: relative;
  width: 100vw; /* Use viewport width instead of 100% to ignore parent constraints */
  height: 90vh;
  left: 50%; /* Center the wrapper */
  right: 50%;
  margin-left: -50vw; /* Pull back to align with viewport edges */
  margin-right: -50vw;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
/*.video-wrapper {*/
  /* Telling our absolute positioned video to be relative to this element */
/*  position: relative;*/

/*  width: 100%;*/
/*  height: 90vh;*/
/*  z-index: 1;*/

  /* Will not allow the video to overflow the container */
/*  overflow: hidden;*/

  /* Centering the container's content vertically and horizontally */
/*  text-align: center;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*}*/


/*.videocaption {*/
/*  position: relative;*/
/*  top: 13%;*/
/*}*/

/*Deep*/
.videocaption {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 2;
  width: auto;
  max-width: 700px; /* Optional: Keeps text readable but doesn't affect video width */
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}
/*.videocaption {*/
/*  position: absolute;*/
/*  top: 50%;*/
/*  left: 50%;*/
/*  transform: translate(-50%, -50%);*/
/*  z-index: 2;*/
/*  width: 100%;*/
/*  max-width: 1100px;*/
/*  padding: 0 20px;*/
/*  text-align: center;*/
/*  box-sizing: border-box;*/
/*}*/
/*.videocaption h1 {*/
/*    color: white;*/
/*    font-size: 5rem;*/
/*    margin-left: 200px;*/
/*}*/
.videocaption h1 {
  color: white;
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 30px;
}
/*.videocaption img {*/
/*    width: 35%;*/
/*    margin-left: 155px;*/
/*}*/
.videocaption img {
  display: block; /* Ensures image stays on its own line */
  margin-bottom: 20px; /* Space between image and text */
  max-width: 300px; /* Control image size */
}
.videobtn.first {
    margin-left: 0;}
/*.videobtn {*/
/*    margin-left: 20px;*/
/*    margin-top: 30px;*/
/*    background-color: #F36F25;*/
/*    border-color: #F36F25;*/
/*}*/
.videobtn {
  margin: 10px 10px 0;
  background-color: #F36F25;
  border-color: #F36F25;
  white-space: nowrap;
}

/*.videolink {*/
/*    margin-left: 200px;*/
/*    margin-top: 20px;*/
/*}*/
.videolink {
  display: inline-block;
  margin-top: 30px;
  color: white;
  font-size: 1rem;
}
.abouttech1, .abouttech2, .abouttech3, #abouttech4, #abouttech5, #abouttech6 {
    margin: 7% 14%;
    padding: 4%;
    display: flex;
    overflow: hidden;
    justify-content: space-between;
    flex-wrap: wrap-reverse;
    background-color: #F6F6F6;
    border-radius: 20px;
}
.col iframe {
    border-radius: 6%;
}
.text { 
  width: 47%; 
   font-size: 1.4rem;
   display: flex;
  flex-direction: column;
   justify-content: space-around;
}
.text h3 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: left;
}
/*.video-wrapper {*/
/*    position: relative;*/
/*    width: 100%;*/
/*    height: 90vh;*/
/*    overflow: hidden;*/
/*    text-align: left;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: left;*/
/*}*/

/* Make caption float over video */
/*.videocaption {*/
/*    position: absolute;*/
/*    top: 13%;*/
/*    left: 0;*/
/*    z-index: 10;*/
/*    width: 100%;*/
/*    pointer-events: auto;*/
/*}*/

/* Responsive image and text */
/*.videocaption h1 {*/
/*    color: white;*/
/*    font-size: 5rem;*/
/*    margin-left: 200px;*/
/*}*/
/*.videocaption img {*/
/*    width: 35%;*/
/*    margin-left: 155px;*/
/*}*/

/* Buttons */
/*.videobtn.first {*/
/*    margin-left: 200px;*/
/*}*/
/*.videobtn {*/
/*    margin-left: 20px;*/
/*    margin-top: 30px;*/
/*    background-color: #F36F25;*/
/*    border-color: #F36F25;*/
/*    z-index: 11;*/
/*}*/
/*.videolink {*/
/*    margin-left: 200px;*/
/*    margin-top: 20px;*/
/*}*/

/* Optional: add some space at the top of the next sections */
.abouttech1, .abouttech2, .abouttech3, #abouttech4, #abouttech5, #abouttech6 {
    margin-top: 100px;
    padding: 4%;
    display: flex;
    overflow: hidden;
    justify-content: space-between;
    flex-wrap: wrap-reverse;
    background-color: #F6F6F6;
    border-radius: 20px;
}

.abouttech1 img, .abouttech2  img, .abouttech3  img, #abouttech4 img, #abouttech5  img, #abouttech6  img {
    width: 47%;
    border-radius: 20px;
}


.abouttech2, #abouttech4, #abouttech6 {
    flex-direction: row-reverse;
}
#abouttech6.mb-5 {
  margin-bottom: 8% !important;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    /*padding-top: 100px; */
    left: 0;
    top: 0;
    width: 100vw; /* Full width */
    height: 100vh; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    align-items: center;
    justify-content: center;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 60%;
  } 
  
  body.modal-open {
  overflow: hidden;
    }

  
  /* Add Animation */
  .modal-content {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
/* Responsive */
/* Mobile */
@media screen 
and (min-width:320px)
and (max-width:480px) 
   {
  video {
    height:  40vh !important;
    }
  .video-wrapper {
    height: 280px;
  }
  .videocaption {
    top: 45%;
    height: fit-content;
  }
  .videocaption img {
      width: 45%;
      margin-left: 0px;
    }
  .videocaption h1 {
      font-size: 1.5rem;
      margin-left: 0px;
    }
  .videobtn {
    font-size: 0.6rem;
    width: 82px;
    padding: 1px;
    margin: 1px;
  }
  .videobtn.first {
    margin-left: 0;
  } 
  .videobtn.second {
   width: 100px;
  }
  .videolink {
    font-size: 0.6rem;
    width: 130px;
    padding: 2px;
    margin-left: 0px;
    margin-top: 6px;
  }
  .abouttech1, .abouttech2, .abouttech3, #abouttech4, #abouttech5, #abouttech6{
    flex-direction: column-reverse;
    margin: 5% 0;
  }
  .abouttech1 img, .abouttech2  img, .abouttech3  img, #abouttech4 img, #abouttech5  img, #abouttech6  img {
    width: 100%;
    margin-bottom: 15px;
  }
  .text {
    width: 95%;
    font-size: 1.2rem;
  }
  .text h3 {
    font-size: 1.4rem;
  }
  .modal-content {
    margin-top: 30%;
    width: 90%;
    height: 30%;
  }
}

/* Tablet */
@media screen
and (min-width:481px)
and (max-width: 769px)
{
  video {
    height:  48vh !important;
    }
  .video-wrapper {
    height: 350px;
  }
  .videocaption {
    top: 40%;
    height: fit-content;
  }
  .videocaption img {
      width: 35%;
      margin-left: 10%;
    }
  .videocaption h1 {
      font-size: 2rem;
      margin-left: 12%;
    }
  .videobtn {
    font-size: 0.6rem;
    width: 100px;
    padding: 3px;
    margin: 1px;
  }
  .videobtn.first {
    margin-left: 12%;
  } 
  .videobtn.second {
   width: 100px;
  }
  .videolink {
    font-size: 0.6rem;
    width: 130px;
    padding: 3px;
    margin-left: 12%;
    margin-top: 8px;
  }
  .abouttech1, .abouttech2, .abouttech3, #abouttech4, #abouttech5, #abouttech6{
    flex-direction: column-reverse;
    margin: 7% 10%;
    align-items: flex-end;
  }
  .abouttech1 img, .abouttech2  img, .abouttech3  img, #abouttech4 img, #abouttech5  img, #abouttech6  img {
    width: 100%;
    height: 35vh;
    margin-bottom: 15px;
  }
  .text {
    width: 95%;
    font-size: 1.2rem;
  }
  .text h3 {
    font-size: 1.4rem;
  }
  .modal-content {
    width: 90%;
    height: 30%;
  }
  footer {
    font-size: 0.7rem;
    line-height: 0.2rem;
  }
}

/* Laptop */
@media screen 
and (min-width: 770px)   
and (max-width: 1025px) {
  .videocaption h1 {
    font-size: 4rem;
    margin-left: 10%;
}
.videocaption img {
    width: 40%;
    margin-left: 7%;
}

.videobtn.first {
  margin-left: 10%;
}
.videobtn {
    margin-left: 2%;
    margin-top: 30px;
    background-color: #F36F25;
    border-color: #F36F25;
}
.videolink {
    margin-left: 10%;
    margin-top: 20px;
}
.abouttech1, .abouttech2, .abouttech3, #abouttech4, #abouttech5, #abouttech6{
margin: 5% 0;
}
.modal-content {
  width: 90%;
  height: 80%;
}
}

/* Responsive low lab res. */
@media only screen   
and (min-width: 1030px)   
and (max-width: 1367px) {
  .videocaption h1 {
    font-size: 3.5rem;
  }
}

/*Responsive video caption*/
/*@media (max-width: 768px) {*/
/*  .videocaption h1 {*/
/*    font-size: 2.5rem;*/
/*  }*/

/*  .videocaption img {*/
/*    width: 180px;*/
/*  }*/

/*  .videobtn {*/
/*    font-size: 0.9rem;*/
/*    padding: 10px 20px;*/
/*  }*/
/*}*/

/*@media (max-width: 768px) {*/
  /* Center videocaption and remove any fixed horizontal offsets */
/*  .videocaption {*/
      /* Force center horizontally */
/*    transform: translateX(-50%) !important;*/
/*    max-width: 100% !important;*/
/*    padding: 0 15px !important;*/
/*    top: 10% !important;*/
/*  }*/

  /* Adjust heading font size and center text */
/*  .videocaption h1 {*/
/*    font-size: 2.5rem;*/
/*    margin: 0 auto 15px;*/
/*    max-width: 100%;*/
/*    text-align: center;*/
/*  }*/

  /* Resize image, center it by margin auto, remove margin-left */
/*  .videocaption img {*/
/*    width: 180px;*/
/*    display: block;*/
/*    margin: 0 auto 20px !important;*/
/*  }*/

  /* Compact button styles and remove large margins */
/*  .videobtn {*/
/*    font-size: 0.9rem;*/
/*    padding: 10px 20px;*/
/*    margin: 15px 10px 0 10px !important;*/
/*    display: inline-block;*/
/*    white-space: normal;*/
/*  }*/

  /* Make specific first button margin consistent */
/*  .videobtn.first {*/
/*    margin-left: 0 !important;*/
/*  }*/

  /* Center videolink, remove margin-left, and stack it nicely */
/*  .videolink {*/
/*    display: block !important;*/
/*    margin: 15px auto 0 auto !important;*/
/*    text-align: center;*/
/*  }*/

  /* Adjust video wrapper height to auto for better flow */
/*  .video-wrapper {*/
/*    height: auto !important;*/
/*    padding: 40px 10px !important;*/
/*    justify-content: center !important;*/
/*  }*/
/*}*/