@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;

}


body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f5f5f5;
  color: #111827;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.navigation{
  display: grid;
  place-items: center;
  padding: 2vh;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1250px;
  padding: 0.8rem 1.2rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #18a04a;
}

.register-btn {
  font-size: small;
  padding: 0.5rem 1rem;
  border: none;
  background-color: #000;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.register-btn:hover {
  background-color: #333;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu.active {
  display: flex;
}

.menu-header {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-header .logo {
  height: 30px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-nav-links li a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #111;
  font-weight: 500;
}

.register-btn.full {
  margin-top: 3rem;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 14px;
}

@media (max-width: 768px) {
  .nav-links,
  .register-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}



/* Hero Section Styles */

.relay-hero{
  background-color: #f5f5f5;
  height: 100dvh;
  width:100vw;
}

.container{
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8rem;
  height: 84dvh;
  max-width: 100%;
}

.text-wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  border-radius: 20px;
  padding: 1.2rem;
  color: #111;
}

.text-wrapper h1{
  font-size: 5rem;
  text-transform: uppercase;
}

.text-wrapper h2{
  font-weight: 500;
}
.text-wrapper img{
width: 400px;
}

.tag{
  font-size: 17px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.solution{
  text-decoration: underline;
  color: #18a04a;
}


.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.buttons{
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  display: inline-block;
  transition: all 0.3s ease;
}

.reg{
  background-color: #18a04a;
}

.learnMore{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: 2px solid #18a04a;
  color: #020202;
  background: transparent;
}


.btn {
  text-decoration: none;
}


.btn-outline:hover {
  background-color: #eee;
}





.about-container{
  padding-top:0px;
  padding-bottom:60px;
  width:100vw; 
  
}

.about-inner-container{
  height:100%;
  width:80%;
  margin:auto;
  display:flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.about-main-title{
  text-align:center;
  
}
.about-main-title h1{
font-size:3rem;
margin:40px 0;
}

.about-cards{
  height:50%;
  width:100%;
  display:flex;
  justify-content:center;
  
  flex-wrap:wrap;
  gap:30px;
}

.about-card {
  max-height:600px;
  max-width: 300px;
  background:#18a04a;
  border-radius: 6px;
  padding:20px 30px;
  display:flex;
  flex-direction:column;
  gap:15px;

}

.about-title h3{
  font-size:22px;
color:white;
letter-spacing: 1px;
word-spacing: 3px;
}


.about-description p {
color:white;
line-height:25px;
letter-spacing: 1px;
word-spacing: 3px;
}

.about-arrow{
  display:flex;
  justify-content: flex-end;

}

.about-arrow {
  font-weight:900;
  font-size:25px;
  color:white;
}

/* timeline */
.timeline-container {
width:100vw;
height:100%;
display: flex;
justify-content: center;;
padding-bottom:200px;
}
.timeline-inner-container {
  width:80%;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;;
}

.title {
  text-align:center;
}

.title h1 {
  font-size: 3rem;
}


.vertical {
width:1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line {
  position: relative;
  top: 4.5rem;
  margin-top: 5rem;
  height: 70rem;
  min-width: 0.35rem;
  background-color: #18a04a;
}

.circles {
  position: relative;
  right: 2.195rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 19.5rem;
}

.circles div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  border: 5px solid #18a04a;
  border-radius: 50%;
  background-color: #f5f5f5;
}
.circle1 img {
  position: relative;
  left: 7.5rem;
}

.circle1::after {
  content: 'May 21st, 2025';
  display: flex;
  flex-direction: row;
  min-width: 15rem;
  position: relative;
  left: 10rem;
  font-size: 1.2rem;
  font-weight: 500;
  background-color: transparent;
}

.circle2 img {
  position: relative;
  left: 7.5rem;
  height: 2.8rem;
}

.circle2::after {
  content: 'April 2021 - Feb 2022';
  display: flex;
  flex-direction: row;
  min-width: 15rem;
  position: relative;
  right: 10rem;
  font-size: 1.2rem;
  font-weight: 500;
  background-color: transparent;
}

.circle3 img {
  position: relative;
  left: 7.5rem;
}

.circle3::after {
  content: 'Feb 2022 - Jan 2023';
  display: flex;
  flex-direction: row;
  min-width: 15rem;
  position: relative;
  left: 10rem;
  font-size: 1.2rem;
  font-weight: 500;
  background-color: transparent;
}


.messageBox {
  min-width: 85%;
}

.messageBox div {
  height: 20.5rem;
  width: 30rem;
  background-color: #f0f0f0;
  padding: 1.8rem;
  text-align: justify;
}

.box1 {
  position: relative;
  top: 5rem;
  right: 39rem;
  border-radius: 8px;
}

.box1::before {
  content: '';
  display: block;
  position: absolute;
  top: 1.2rem;
  left: 30rem;
  height: 2rem;
  width: 2rem;
  rotate: 90deg;
  background-color: inherit;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.box2 {
  position: relative;
  top: 8rem;
  left: 0.5rem;
  border-radius: 5px;
}

.box2::before {
  content: '';
  display: block;
  position: absolute;
  top: 1.2rem;
  right: 30rem;
  height: 2rem;
  width: 2rem;
  rotate: 270deg;
  background-color: inherit;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.box3 {
  position: relative;
  top: 10.9rem;
  right: 38.7rem;
  border-radius: 5px;
}

.box3::before {
  content: '';
  display: block;
  position: absolute;
  top: 1.2rem;
  left: 30rem;
  height: 2rem;
  width: 2rem;
  rotate: 90deg;
  background-color: inherit;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.messageBox h1 {
  font-size: 1.35rem;
}

.messageBox ul li {
  font-size: 1rem;
}








/* Contact Sections Styling */


.contact{
width:100vw;
}

.contact-wrapper{
  display:flex;
  flex-direction:column;
  align-items: center;
  padding-block: 1.2rem;
  background-color: #f5f5f5;
  width:100%;
}

.contact-header{
  text-align: center;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;;
} 
.contact-header h1{
  text-align: center;
  font-weight: 400;
  font-size: 3.8rem;
  text-transform: uppercase;
}

.underline {
width: 70%;
height: 2px;
background-color: #ccc;
position: relative;
display: flex;
justify-content: center;
margin-bottom:20px;
}

.underline span {
width: 60px;
height: 4px;
background-color:  #18a04a; 
position: absolute;
bottom: -1px;
}

.contact-header p{
  font-size: 1.2rem;
  font-weight: 400;
  color: #444;
    padding:2px 4px;
    border-radius: 4px;;
}

.contact-container{
  /* border: 2px solid #ccc; */
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1250px;
  margin-top:40px;
}
.contact-info{
  width: 30%;
  text-align: left;
  display:flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-info .contact-info-item{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;

}

.contact-info .contact-info-item i{
  font-size: 2rem;
  color: #18a04a;
}
.contact-form{
  width:69%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.contact-form form{
  width:100%;
  display:flex;
  flex-direction: column;
  gap:20px;
}

.contact-form .row-1{
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content:center;
  width: 100%;
}
.contact-form .row-1 input{
  width: 100%;
  max-width: 420px;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  border: 2px solid #ccc;
  font-size: 1rem;
  color: #333;
  background-color: #f5f5f5;
  transition: border-color 0.3s ease;
}
.contact-form .row-1 input:focus{
  border-color: #18a04a;
  outline: none;
}
.contact-form .row-1 input::placeholder{
  color: #999;
}
.contact-form .row-2{
  width:100%;
}

.contact-form .row-2 input{
  width: 100%;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  border: 2px solid #ccc;
  font-size: 1rem;
  color: #333;
  background-color: #f5f5f5;
  transition: border-color 0.3s ease;
}

.contact-form .row-2 input:focus{
  border-color: #18a04a;
  outline: none;
}
.contact-form .row-2 input::placeholder{
  color: #999;
}
.contact-form .row-3{
  width:100%;
}
.contact-form .row-3 textarea{
  width: 100%;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  border: 2px solid #ccc;
  font-size: 1rem;
  color: #333;
  background-color: #f5f5f5;
  transition: border-color 0.3s ease;
}
.contact-form .row-3 textarea:focus{
  border-color: #18a04a;
  outline: none;
}
.contact-form .row-3 textarea::placeholder{
  color: #999;
}
.contact-form .row-4{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.contact-form .row-4 button{

  padding: 0.8rem 70px;
  border-radius: 20px;
  border: none;
  background-color: #18a04a;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact-form .row-4 button:hover{
  background-color: #c72a3e;
}




/* style for responsiveness */


@media screen and (max-width: 1616px) {
.about-inner-container{
  width:90%;
}  
}



@media only screen and (max-width:1267px) {
  

  .timeline-container {
      padding-bottom:200px;
  }

  

  .vertical {
    width:550px;
      margin-top: -6rem;
      margin-left: 4rem;
  }

  .line {
      height: 78rem;
  }

  .circles {
      gap: 22rem;
  }

  .circle1::after {
      content: '';
  }

  .circle2::after {
      content: '';
  }

  .circle3::after {
      content: '';
  }

  .messageBox div {
      position: static;
      height: 22.5rem;
  }

  .box1 {
      position: relative !important;
      top: 4.5rem;
      left: 0.5rem;
  }

  .box1 h1::after {
      content: ' (March 2020 - April 2021)';
      font-weight: 400;
  }

  .box1::before {
      display: none;
  }

  .box1::after {
      content: '';
      display: block;
      position: relative;
      top: -19.2rem;
      left: -3.7rem;
      height: 2rem;
      width: 2rem;
      rotate: 270deg;
      background-color: inherit;
      clip-path: polygon(50% 0, 100% 100%, 0 100%);
  }

  .box2 {
      position: relative !important;
      top: 8rem;
  }

  .box2::before {
      display: none;
  }

  .box2 h1::after {
      content: ' (April 2021 - Feb 2022)';
      font-weight: 400;
  }

  .box2::after {
      content: '';
      display: block;
      position: relative;
      top: -19.2rem;
      left: -3.7rem;
      height: 2rem;
      width: 2rem;
      rotate: 270deg;
      background-color: inherit;
      clip-path: polygon(50% 0, 100% 100%, 0 100%);
  }

  .box3 {
      position: relative !important;
      top: 11.5rem;
      left: 0.5rem;
  }

  .box3::before {
      display: none;
  }

  .box3 h1::after {
      content: ' (Feb 2022 - Jan 2023)';
      font-weight: 400;
  }

  .box3::after {
      content: '';
      display: block;
      position: relative;
      top: -19.2rem;
      left: -3.7rem;
      height: 2rem;
      width: 2rem;
      rotate: 270deg;
      background-color: inherit;
      clip-path: polygon(50% 0, 100% 100%, 0 100%);
  }


  /* for contact */

  .contact-container{
    flex-direction: column;;
  }
  .contact-info{
    width:100%;
    margin-bottom: 2rem;
  }
  .contact-form{
    width:100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

}

@media screen and (max-width:650px){

.text-wrapper img{
width: 90%;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  height: 84dvh;
  max-width: 100%;
}

.timeline-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

  .vertical {
      width: 30rem;
      margin-top: -6rem;
      margin-left: 4rem;
  }

  
  
}

@media screen and (max-width: 714px) and (min-width:300px) {
  body{
    overflow-x:hidden;
  }
  .timeline-container{
      padding: 4rem 1.5rem 22rem 0.5rem;
  }

  .vertical{
      margin-left: 0;
  }

  .title {
      margin-left: 1.2rem;
  }

  .title h1 {
      font-size: 2.2rem;
  }

  .messageBox div {
    max-width: 300px;
      text-align: left;
      height: fit-content;
  }

  .line {
      height: 0;
  }

  .circles {
      display: none;
  }

  .box1 {
      background:
          linear-gradient(rgba(0, 0, 0, 0.4),
              rgba(0, 0, 0, 0.4)),
          url(../img/react.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    
      position: relative !important;
      top: 6rem;
      left: 5rem;

  }


  .box1::after {
      display: none;
  }

  .box2 {
      background:
          linear-gradient(rgba(0, 0, 0, 0.4),
              rgba(0, 0, 0, 0.4)),
          url(../img/swift.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      top: 12.2rem;
          
      position: relative !important;
      top: 6rem;
      left: 5rem;
      margin-top:1rem;

  }

  .box2::after {
      display: none;
  }

  .box3 {
      background:
          linear-gradient(rgba(0, 0, 0, 0.4),
              rgba(0, 0, 0, 0.4)),
          url(../img/python.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      top: 15.2rem;
      position: relative !important;
      top: 6rem;
      left: 5rem;
      margin-top:1rem;
  }

  .box3::after {
      display: none;
  }
}


/* Footer styles */
.relay-footer {
  background-color: #f5f5f5;
  color: #000;
  text-align: center;
  padding: 30px 20px;
  position: relative;
  font-family: 'Segoe UI', sans-serif;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 10px;
}

.scroll-top-btn {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background-color: #e63946;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.scroll-top-btn:hover {
  background-color: #d62828;
}
