* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  background-image: url('../images/backgound-picture.avif');

  background-size: cover;
  background-repeat: round;

}

/* Main container */
#main2{
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  will-change: transform; /* Forces GPU rendering */
transform: translateZ(0); /* Fix for Safari */
  position: relative;

}

#main {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.nocopy {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
 
}

/* Navigation bar */
nav {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.068);
  -webkit-backdrop-filter: blur(60px);
  backdrop-filter: blur(60px);
  will-change: transform; /* Forces GPU rendering */
transform: translateZ(0); /* Fix for Safari */
  font-size: 1rem;
  justify-content: space-between;
}


/* Logo section */
.logo {
  height: 100%;
  padding: 0 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: blue; */
  color: white;

}

/* middle side of the navigation */
.nav-mid {
  height: 100%;
  width: 40%;
  /* background-color: rgb(141, 136, 127); */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  font-size: 22px;
  text-decoration: none;
}

/* Navigation links */
.nav-mid>a {
  text-decoration: none;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
      3px 3px 6px rgba(0, 0, 0, 0.3),
      4px 4px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  /* Ensure the text color contrasts with the shadow */

}

.nav-mid a {
  position: relative;
  transition: color 0.3s ease;
  margin: 0 10px;
}

.nav-mid a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #e9f5fa;
  transition: width 0.6s ease;
}

.nav-mid a:hover {
  color: #edfdfa;
  font-weight: bold;
}

.nav-mid a:hover::after {
  width: 100%;
}

/* Right side of the navigation */
.nav-right {
  height: 100%;
  width: 25%;
  display: flex;
  justify-content: flex-end;
  /* background-color: blue;   */
  padding-right: 3%;
  align-items: center;
  gap: 1.5vw;
  font-size: 23px;
  flex-shrink: 0;
  /* background-color: rgb(240, 240, 211); */
}

/* Navigation links */
.nav-right>a {
  text-decoration: none;
  /* color: #807BFF; */
  /* color: rgb(153, 132, 132); */
  font-size: 20px;
  margin: 0 10px;
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  transition: top 0.3s;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.068);
  -webkit-backdrop-filter: blur(60px);
  backdrop-filter: blur(60px);
  will-change: transform; /* Forces GPU rendering */
transform: translateZ(0); /* Fix for Safari */
}

.nav-mid,
.nav-right {
  display: flex;
  align-items: center;
}

/* Menu button */
#menuButton {
  background-color: transparent;
  border: none;
  font-size: 24px;
  /* color: #807BFF; */
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
/* #4CAF50 */
.login-btn {
  padding: 8px 30px;
    background: rgba(30, 136, 229, 0.95); /* Deep royal blue */
    border: 2px solid rgba(25, 118, 210, 1);
    color: white;
    font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  
  overflow: hidden;
  transition: background-color 0.3s, color 0.3s;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  /* font-size: 16px; */
}

.login-btn:hover {
  background: rgba(25, 118, 210, 1); /* Slightly darker shade */
  box-shadow: 0 4px 10px rgba(30, 136, 229, 0.5);
  color: #fff;
}

.login-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.login-btn:hover::after {
  width: 200px;
  height: 200px;
}

.login-btn:active {
  transform: scale(0.95);
}

/* Responsive adjustments */
@media (max-width:1231px) {
  .nav-mid{
    width: fit-content;
    font-size: 1rem;
    /* background-color: red; */
    gap: 1vw;
  }
  .nav-right{
    width: 30%;
  }
}


@media (max-width: 930px) { /* Tablet */
  nav{
    height: 55px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-right{
    padding-right: 0;
    height: 100%;
    
    /* background-color: blue; */
    font-size: 1px;
    gap: 7px;
   
  }
  .nav-right>a{
    font-size: 1rem;
  }
  .login-btn {
    padding: 8px 20px;
   font-size: 10px;
    border-radius: 8px;
    /* background-color: rgb(236, 175, 42); */
    
   
  }
  /* .login-btn::after {
    width: 150px;
    height: 150px;
  } */

}
@media (max-width: 815px) {
  .nav-mid{
    display: none;
  }
}

@media (max-width: 770px) {
  .nav-right{
    width: fit-content;
  }
  .nav-mid{
    display: none;
  }
  .nav-right>a{
    font-size: 1rem;
  }
}
@media (max-width: 390px) {
  .nav-right{
    width: fit-content;
    gap: 5px;
  }
  .hide2{
    display: none;
  }
  
}
.profile-btn, .logout-btn {
  padding: 10px 30px;
  border-radius: 8px;
  /* background-color: #4caf4f; */
  color: white;
  border: none;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 14px;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}
.profile-btn{
/* Profile Button - Vibrant Blue */
background: rgba(0, 153, 255, 0.85); /* Brighter blue with slight transparency */
border: 1px solid rgba(0, 153, 255, 0.7);
color: white;


}
.logout-btn{
  /* Emerald Green (Sleek & Modern) */
  background: rgba(255, 50, 50, 0.85); /* Vibrant red with slight transparency */
  border: 1px solid rgba(255, 50, 50, 0.7);
  color: white;

}

.profile-btn:active, .logout-btn:active {
  transform: scale(0.95);
}


.username {
  font-size: 15px;
  margin-right: 10px;
  color: white;
  font-weight: bold;
}
.userlogo{
  display: none;
}
@media (max-width: 1040px) { /* Tablet */
  .username{
    display: none;
  }
  .profile-btn, .logout-btn {
    padding: 8px 20px;
   font-size: 10px;
    border-radius: 8px;
  }
  .nav-right>a{
    font-size: 1rem;
  }
}

@media (max-width: 460px) {
  .hide {
      display: none;
  }
  .userlogo{
    display: inline;
  }
}


/* page1 */
#page1 {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 4%; /* Adjusted padding for responsiveness */
  gap: 40px;
}

#page1 > * {
  width: 60%;
  max-width: 1200px;
  margin-bottom: 40px;
}

#our-mission {
  position: absolute;
  top: 80%;
  left: 0%;
  width: 45%;
  order: 1;
}

#page1 > h1 {
  font-size: 5vw; /* Changed for better responsiveness */
  font-family: 'Courier New', Courier, monospace;
  color: white;
  margin-top: 80px;
  text-align: center;
}

/* page1 boxes */
.page1-text {
  background: rgba(255, 255, 255, 0.178);
  /* backdrop-filter: blur(20px); */
  /* -webkit-backdrop-filter: blur(20px); Added for Safari */
  will-change: transform; /* Forces GPU rendering */
transform: translateZ(0); /* Fix for Safari */
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #fff;
  margin-bottom: 20px;
  align-self: flex-start;
}
#page1-box-2{
  align-self: flex-end;
}
#page1-box-3{
  align-self: flex-end;
}
#page1-box-5{
  align-self: flex-end;
}
.page1-text h2{
  font-weight: bold;
}
.page1-text > h1,
.page1-text > h2,
.page1-text > h4 {
  margin: 1vh 0;
}

.page1-text h2 {
  font-size: 1.5rem; /* Responsive font size */
  position: relative;
  display: inline-block;
}

.page1-text h2::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #f0a742;
  transition: width 0.6s ease;
}

.page1-text h2:hover {
  /* color: #edfdfa; */
  color: #f0a742;
  font-weight: bold;
}

.page1-text h2:hover::after {
  width: 100%;
}

.page1-text > p {
  margin-top: 1vh;
  font-size: 1rem; /* Responsive font size */
}

/* Images */
#img-rocket {
  position: absolute;
  height: 15%;
  width: 35%;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
}

#page1-img1 {
  height: 20%;
  width: 35%;
  right: 5%;
  top: 70%;
  overflow: hidden;
  border-radius: 20px;
  align-self: flex-start;
}

#page1-img > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
  #page1 > * {
      width: 100%;
      max-width: 1200px;
      margin-bottom: 40px;
  }
  #page1 > h1 {
      font-size: 3rem;
  }

  .page1-text h2 {
      font-size: 1.25rem;
  }

  .page1-text > p {
      font-size: 0.9rem;
  }
  
  #our-mission {
      width: 60%; /* Increased width for smaller screens */
  }
}

@media (max-width: 800px) {
  #page1 {
      padding: 60px 2%; /* Less padding on smaller screens */
  }

  #page1 > h1 {
      font-size: 3rem;
  }

  .page1-text {
      width: 90%; /* Take up more space on small devices */
  }

  .page1-text h2 {
      font-size: 1.1rem;
  }

  .page1-text > p {
      font-size: 0.8rem;
  }
  #page1-box-5 p{
      font-size: 1rem;
  }
  #img-rocket,
  #page1-img1 {
      width: 60%; /* Smaller image widths */
      height: auto;
  }
}

@media (max-width: 600px) {
  #page1 {
      padding: 40px 2%; /* Further reduced padding */
  }

  #page1 > h1 {
      font-size: 3rem;
  }

  .page1-text h2 {
      font-size: 1rem;
  }

  .page1-text > p {
      font-size: 0.75rem;
  }

  #img-rocket,
  #page1-img1 {
      width: 80%; /* Even smaller images */
  }
}
























/* page2 */
#page2 {
  height: 100vh;
  width: 100%;
  /* background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px); */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#page2-content {
  width: 100%;
  /* text-align: center; */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* position: relative; */
  /* top: 50%;
  left: 1%; */
  background-color: red;
}

#page2-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#page2-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page2-features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.feature {
  width: 30%;
  background: rgba(255, 255, 255, 0.1);

  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(10px); Added for Safari */
  will-change: transform; /* Forces GPU rendering */
transform: translateZ(0); /* Fix for Safari */
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 16px;
}

#page3 {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  flex-direction: column;
  /* background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px); */
  position: relative;

  justify-content: flex-start;
  /* padding: 80px 4% 0; */
  padding: 80px 80px;
  gap: 80px;
}

#together {
  height: 38%;
  width: 40%;
  overflow: hidden;
  border-radius: 25px;
  /* position: absolute; */
  top: 10%;
  left: 3%;
}

#together>img {
  height: 100%;
  width: 100%;
  object-fit: fill;
}

/* all members container  */
.member-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px;
  position: relative;
  top: 56%;
}

#all-member {
  position: absolute;
  color: white;
  top: 0%;
  font-size: 40px;
}

.team-member {
  width: 250px;
  height: 300px;
  margin: 15px;
  padding: 15px;
  margin-top: 8vh;
  background: rgba(255, 255, 255, 0.151);
  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(10px); Added for Safari */
  will-change: transform; /* Forces GPU rendering */
transform: translateZ(0); /* Fix for Safari */
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 15px;
  overflow: hidden;
  border-radius: 50%;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 18px;
}

.linkedin-link {
  display: inline-block;
  padding: 5px 10px;
  background-color: #0077B5;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.linkedin-link:hover {
  background-color: #005885;
}



/* last page Contact us */
/* last page css */
* {
  box-sizing: border-box; /* Ensures padding and border are included in width and height */
}

#lastpage {
  min-height: 100vh;
  width: 100%;
  display: flex;
  color: white;
  flex-wrap: wrap; /* Allows the items to wrap on smaller screens */
}

#lastpage-left,
#lastpage-right {
  min-height: 100vh;
  width: 50%; /* Default width for larger screens */
  position: relative;
}

#lastpage-left-container {
  /* height: 90%; */
  width: 70%;
  background: rgba(255, 255, 255, 0.171);
  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(10px); Added for Safari */
  will-change: transform; /* Forces GPU rendering */
transform: translateZ(0); /* Fix for Safari */
  border-radius: 15px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: absolute;
  right: 2%;
  top: 4%;
  padding: 2px 2vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#lastpage-left-container > h3 {
  margin-top: 30px;
}

.lastpage-form {
  width: 85%;
  display: flex;
  flex-direction: column;
}

.lastpage-form h2 {
  font-size: 18px;
  margin-bottom: 8px;
  /* color: #333; */
  color: white;
}

.lastpage-form input[type="text"],
.lastpage-form input[type="email"],
.lastpage-form textarea {
  padding: 13px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: #F2F2F2;
  color: black;
  width: 80%;
}

.lastpage-form textarea {
  resize: vertical;
  min-height: 100px;
}

.lastpage-form input[type="submit"] {
  background-color: #c9e238;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 80%;
}

.lastpage-form input[type="submit"]:hover {
  background-color: #21cf0a;
}

.getin-touch {
  font-size: 42px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin-bottom: 5vh;
}

#thankyou {
  height: 100%;
  width: 100%;
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(20px); Added for Safari */
  will-change: transform; /* Forces GPU rendering */
transform: translateZ(0); /* Fix for Safari */
  border-radius: 15px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 3vh 3vw;
  z-index: 9;
  display: none;
}

#thankyou > img {
  height: 220px;
  width: 220px;
  border-radius: 50px;
}

#lastpage-right {
  height: 100%;
  width: 50%;
  position: relative;
}

#lastpage-img-container {
  height: 66%;
  width: 43%;
  position: absolute;
  overflow: hidden;
  top: 14%;
  left: 2%;
}

#lastpage-img-container > img {
  height: 100%;
  width: 100%;
  object-fit: fill;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  #lastpage-left,
  #lastpage-right {
      width: 100%; /* Full width on smaller screens */
      height: auto; /* Allow height to adjust */
  }

  #lastpage-left-container {
      width: 90%; /* Adjust container width */
      right: 5%; /* Center it on smaller screens */
      top: 20%; /* Adjust position */
  }

  #lastpage-img-container {
      width: 80%; /* Adjust image container width */
      left: 10%;
      display: none; /* Center it */
  }

  .getin-touch {
      font-size: 32px; /* Smaller font size for headings */
  }
}

@media (max-width: 480px) {
  .lastpage-form h2 {
      font-size: 16px; /* Smaller font size for labels */
  }

  .lastpage-form input[type="text"],
  .lastpage-form input[type="email"],
  .lastpage-form textarea,
  .lastpage-form input[type="submit"] {
      width: 100%; /* Full width for inputs on smaller devices */
  }

  #thankyou > img {
      height: 150px; /* Smaller thank you image */
      width: 150px; /* Smaller thank you image */
  }

  .getin-touch {
      font-size: 28px; /* Smaller font size for headings */
  }
}

/* @supports not (backdrop-filter: blur(10px)) {
  .some-class .page1-text .feature .team-member #lastpage-left-container #thankyou {
      background: rgba(46, 7, 216, 0.849); /* Fallback */
      /* color: rgba(165, 219, 17, 0.473);
      
  }
} */ 
