* {
  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);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px); /* Added 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);
  backdrop-filter: blur(60px);
  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);
  backdrop-filter: blur(60px);
}

.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);
}

.login-btn {
  padding: 10px 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);
}

.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;
  color: white;
  border: none;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 14px;
}
.profile-btn{
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{
  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:hover, .logout-btn:hover {
  background-color: #52df59;
} */

.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;
  /* height: 0; */
  width: 100%;

  position: relative;

  /* background-color: aliceblue; */
}

/* testing */
.glassmorphism-container {
  background: rgba(255, 255, 255, 0.253);
  /* Semi-transparent background */
  /* backdrop-filter: blur(20px); */
 
  /* -webkit-backdrop-filter: blur(20px); Added for Safari */
  /* Blur effect */
  border-radius: 15px;
  /* Rounded corners */
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Optional: shadow for better effect */
  color: #fff;
  /* Text color */

  width: 100%;
  height: fit-content;


}
/* testin page1 ul */
#page1 ul{
  display: flex;
  flex-direction: column;
  gap: 10px;
 font-size: 20px;
 padding-top: 3%;
padding-left: 25px;
/* font-family: 'Courier New', Courier, monospace; */
font-family: 'Poppins', sans-serif;
}
#page1 ul li:hover{
  background: linear-gradient(to bottom, #f7ee9e, #FFD54F, #FFA000, #FF6F00);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;}

/* testing */

#page1-text {
  height: fit-content;
  width: 50%;
  /* background-color: red; */
  /* position: absolute; */
  margin-top: 2vh;
  margin-left: 6vw;
}

#page1-text>h1 {
  font-size: 38px;
  margin-top: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
      3px 3px 6px rgba(0, 0, 0, 0.233),
      4px 4px 8px rgba(0, 0, 0, 0.123);
  color: #ffffff;
  /* Ensure the text color contrasts with the shadow */
}

#page1-text p {
  font-size: 25px;
  width: 80%;
  margin-top: 1vh;
  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 */
}
.welcome{
  padding-top: 20vh;
  padding-left: 6vw;
  font-size: 2.4rem;
  color: white;
  font-weight: 800;
}
#rgpv-essentials{
  /* font-size: 2.6rem; */
  font-size: 4rem;
  line-height: 1.1;
    font-weight: 900;
    /* font-family: 'Montserrat', sans-serif; */
    background: linear-gradient(to bottom, #f7ee9e, #FFD54F, #FFA000, #FF6F00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    margin-bottom: 2vh;
}
@media (max-width: 1000px) {
  #page1-text {
    height: fit-content;
    width: 60%;
    margin-left: 0;
    position: absolute;
    top: 20%;
    left: 6%;
  }
  #rgpv-essentials{
    font-size: 2.6rem;
  }
  #page1-text>h1 {
    font-size: 25px;
    margin-top: 2px;
  }
  #page1-text p {
    font-size: 15px;
  }
  .welcome{
    padding-top: 15vh;
    padding-left: 5vw;
    font-size: 1.5rem;
    color: white;
  }
}
@media (max-width: 950px){
  #page1-text {
    height: fit-content;
    width: 90%;
    top: 30%;
}
}
@media (max-width: 460px) {
  #page1{
      height: 75vh;
  }
  #page1-text {
      height: fit-content;
      position: absolute;
      margin-left: 0;
      margin-top: 5vh;
      width: 90%;
      top: 30%;
  }

  #page1-text>h1 {
      font-size: 26px;
      margin-top: 7px;

  }

  #page1-text p {
      font-size: 19px;

      width: 105%;
      margin-top: 10%;
  }

}

/* rotating text */

/* changing text */



/* @keyframes slideUp {
  0% {
      transform: translateY(100%);
      opacity: 0;
  }

  50% {
      transform: translateY(0%);
      opacity: 1;
  }

  100% {
      transform: translateY(-100%);
      opacity: 0;
  }
} */

@keyframes slideUp {
  0% {
      transform: translateX(100%);
      opacity: 0;
  }

  50% {
      transform: translateX(0%);
      opacity: 1;
  }
  55% {
      transform: translateX(0%);
      opacity: 1;
  }
  60% {
      transform: translateX(0%);
      opacity: 1;
  }
  100% {
      /* animation-delay: 2s; */
      transform: translateX(-100%);
      opacity: 0;
  }
}
@media (max-width: 460px) {
  .text-container {
      position: absolute;

      width: 138px;
      /* Adjust as needed */
      height: 44px;
      top: 26.8%;
      left: 40%;
      padding-bottom: 2px;
      /* background-color: green; */

  }

  #rotating-text {
      display: block;
      font-size: 1.4rem;
      font-weight: bold;
      font-style: italic;
      padding-bottom: 4px;
      /* color: #0c0e83; */
  }
}

/* #page1-img{
  position: absolute;
  top: 26%;
  left: 39.2%;
  height: 50%;
  width: 30%;
}
#page1-img>img{
  height: 100%;
  width: 100%;
  object-fit: contain;
} */
.img-container-page1 {
  position: absolute;
  right: 1%;
  top: 20%;
  height: 80%;
  width: 32%;
  /* background-color: red; */
}

.img-container-page1>img {
  height: 100%;
  width: 100%;
  object-fit: fill;
}

@media (max-width: 460px) {
  .img-container-page1 {
      position: absolute;
      right: 0.5%;
      top: 20%;
      height: 74%;
      width: 45%;
      display: none;
      /* background-color: red; */
  }

  .img-container-page1>img {
      height: 100%;
      width: 100%;
      object-fit: fill;
  }
}

/* page2 */
#page2 {
  min-height: 100vh;
  width: 100%;
  /* background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px); */
  position: relative;
  color: white;
  margin-bottom: 10vh;
  /* background-color: aliceblue; */
}

#page2>h1 {
  text-align: center;
  font-size: 44px;
  padding-top: 2vh;
  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 */
}

/* .service-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  padding: 3vh 6vw;
} */

.service-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  margin-top: 4vh;
}

.service-box {
  width: calc(33.33% - 20px);
  /* width: 200px; */
  height: 150px;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 10px;
  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(10px); Added for Safari */
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.24);
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  font-size: 2rem;
  /* text */
  /* 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 */
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  /* background: rgba(255, 255, 255, 0.2); */
}
.service-box h3{
  transition: all 0.3s ease;
}

.service-box:hover h3{
    font-weight: 700;
    /* background: linear-gradient(to right, #4A90E2, #A06CD5, #FF6A6A); */
    background: linear-gradient(to bottom, #f7ee9e, #FFD54F, #FFA000, #FF6F00);
    background-clip: text;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
}

@media (max-width: 768px) {
  .service-box {
      width: calc(50% - 20px);
  }
}

@media (max-width: 460px) {
  #page2 {
      height: fit-content;
  }

  .service-box {
      width: calc(50.33% - 20px);
      /* width: 100%; */
      height: 140px;
      font-size: 1.4rem;
      font-family: 'Courier New', Courier, monospace;
      /* font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
       /* font-family:'Times New Roman', Times, serif; */
       /* font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; */
       /* font-family: Georgia, 'Times New Roman', Times, serif; */
        /* font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif; */
    }
}

/* page3 about us */
/* last page css */
#contact-page {
  height: 100vh;
  width: 100%;
  /* background-color: rgb(214, 203, 203); */
  display: flex;
  /* background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px); */
  position: relative;
  color: white;
  padding: 5vh 20px;
  
}

#contact-page-left {
  height: 100%;
  width: 50%;
  /* background-color: orange; */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact-page-left-container {
  min-height: 95%;
  height: fit-content;
  width: 80%;
  background: rgba(255 , 255, 255, 0.308);
  /* background-color: red; */
  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(10px); Added 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: relative;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

#bottom-text{
  font-size: 0.85em;
  margin-top: 2vh;
}

.contact-page-form {
  height: fit-content;
  width: 100%;
  /* background-color: #F2F2F2; */
  display: flex;
  flex-direction: column;

}

.contact-page-form h2 {
  font-size: 18px;
  /* margin-bottom: 8px; */
  color: white;

}

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

}

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

.contact-page-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%;
}

.contact-page-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: 2vh;
}

#thankyou {
  height: 100%;
  width: 100%;
  position: absolute;
  object-fit: contain;
  /* background-color: rgba(255, 0, 0, 0.527); */
  background: rgba(255, 255, 255, 0.432);
  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(10px); Added 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;
}

#contact-page-right {
  height: 100%;
  width: 50%;
  /* background-color: rgb(146, 139, 125); */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#contact-page-img-container {
  height: 68%;
  width: 40%;
  /* position: absolute; */
  /* background-color: black; */
  overflow: hidden;
  
}

#contact-page-img-container>img {
  height: 100%;
  width: 100%;
  object-fit: fill;
}
#contact-boxes-parent{
  width: 60%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
#contact-boxes {
  width:100%;
  
  /* position: absolute; */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: transparent;

  padding: 20px;
}

.contact-box {
  width: calc(50% - 10px);
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.212);
  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(10px); Added 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);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 20px;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px 0 rgba(31, 38, 135, 0.5);
  background: rgba(255, 255, 255, 0.2);
}

.contact-box:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.3);
}

.contact-box i {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.contact-box p {
  font-size: 1em;
  text-align: center;
}

@media (max-width: 950px){
  .img-container-page1{
    display: none;
  }
  #contact-page-left{
    width: 55%;
  }
  #contact-page-right{
    width: 45%;
  }
  #contact-page-img-container{
    display: none;
  }
  #contact-boxes-parent{
    width: 100%;
  }
}
@media (max-width: 950px){

  #contact-page-left-container{
    width: 95%;
  }
  .contact-page-form input[type="text"],
.contact-page-form input[type="email"],
.contact-page-form textarea{
  width: 95%;
}
.contact-page-form input[type="submit"]{
  width: 95%;
}
}
@media (max-width: 650px){
  #contact-page{
    flex-direction: column;
    height: fit-content;
  }
  #contact-page-left{
    width: 100%;
    margin-top: 5vh;
    margin-bottom: 5vh;
  }
  #contact-page-left-container{
    width: 75%;
  }
  #contact-page-right{
    width: 100%;
  }
}
@media (max-width: 500px){
  #contact-page-left-container{
    width: 100%;
  } 
  #contact-page{
    padding: 2vh 2vh;
  }
}


 
.container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.word-box {
  display: inline-block;
  padding: 10px 20px;
  /* border: 2px solid #333; */
  border-radius: 8px;
  background-color: transparent;
  font-size: 40px;
  font-weight: bold;
  overflow: hidden;  /* Ensures that text doesn't overflow when it moves */
  white-space: nowrap; /* Prevents the text from wrapping */
}

.elastic-word {
  display: inline-block;
  transform: translateX(100%) scale(0.5);
  opacity: 0;
  background: linear-gradient(to bottom, #f7ee9e, #FFD54F, #FFA000, #FF6F00);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  animation: elasticFromRight 0.8s ease-in-out forwards;
}

@keyframes elasticFromRight {
  0% {
    transform: translateX(100%) scale(0.5);
    opacity: 0;
  }
  60% {
    transform: translateX(-10%) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}
