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


/* Custom Props */
:root {
  --h1: 4.5rem;
  --h2: 3.5rem;
  --h3: 2.5rem;
  --h4: 1rem;
  --h5: .8rem;

  --padding-container: 0px 100px;
}



/* Global Scope */

body {
  font-size: 62.50%;
  font-family: "Roboto", sans-serif;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  position: relative;
}


.jc-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
}

.home {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-us,
.purpose {
  padding: 100px 0;
  text-align: center;
  display: flex;
  align-items: center;
}

.btn {
  opacity: .9;
}

.btn:hover {
  opacity: 1;
}


/*  Navbar */
/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Basic styles for the navigation menu */
body {
  font-family: Arial, sans-serif;
}


.brand {
  font-size: 1rem;
  font-weight:  bold;
  text-transform: uppercase;
}

.navbar {
  background-color: #333;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

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

.nav-links li {
  margin-right: 50px; 
  margin-bottom: 1rem;
  height: auto;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00bcd4;
}

/* Styles for the mobile navigation menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: transform 0.3s;
}

/* Media query for responsive design */
@media screen and (max-width: 768px) {
  .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      padding: 2rem;
      top: 50px;
      left: 0;
      width: 60%;
      height: 100vh;
      overflow: hidden;
      background-color: #333;
      z-index: 1;
  }

  .nav-links.active {
      display: flex;
  }

  .menu-toggle {
      display: flex;
  }

  .menu-toggle.active .bar:nth-child(1) {
      transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle.active .bar:nth-child(2) {
      opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
      transform: rotate(45deg) translate(-5px, -6px);
  }
}






/* Heropage */
.home {
  background-color: rosybrown;
  background: linear-gradient(rgba(29, 9, 9, 0.898), rgba(29, 9, 9, 0.748), rgba(17, 17, 17, 0.522)), url('img/pexels-james-wheeler-1519088.jpg') center center/cover no-repeat;
}

.home h1 {
  color: #fff;
  margin-bottom: 2rem;
  font-weight: 900;
  font-size: var(--h2);
  text-align: center;
  text-transform: uppercase;
}

.home h3 {
  font-size: calc(var(--h3) - 20px);
  font-weight: 300;
  color: #eee;
  margin-bottom: 5rem;
  text-shadow: 0px 0px 5px rgba(221, 221, 221, 0.467);
  text-align: center;
}


.home .btn,
.about-us .btn {
  text-align: center;
  text-decoration: none;
  display: inline-block;
  color: #fff;
  padding: 18px 30px;
  font-size: 1rem;
  margin-right: 50px;
  letter-spacing: 1px;
  font-weight: 700;
  border-radius: 5px;
  outline: none;
}



.home .btn.more {
  background: rgb(13, 13, 126);
}

.home .btn.join,
.about-us .btn {
  background: #9b0a16;
}

.home .btn.mobile {
  display: none;
}


/* =================== Services =================== */
.services {
  width: 100vw;
  height: 100%;
  padding: 100px 0 150px;
  background: #eee;
}

.services-header {
  text-align: center;
  font-size: calc(var(--h2) + 10px);
  padding: 70px 0 20px 0;
  letter-spacing: 5px;
  color: #261515;
}

.services .sub-heading {
  margin: 0 auto;
  width: 40%;
  text-align: center;
  margin-bottom: 7rem;
  font-size: calc(var(--h4) + 5px);
  letter-spacing: 5px;
  color: #261515;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.services .sub-heading::before,
.services .sub-heading::after {
  content: '';
  width: 30px;
  height: 8px;
  background-color: #261515;
  position: absolute;
  border-radius: 30px;
}

.services .sub-heading::before {
  left: 30px;
}

.services .sub-heading::after {
  right: 30px;
}

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


.services .box {
  width: 300px;
  height: 280px;
  box-shadow: 10px 10px 15px rgb(80, 80, 80);
  margin: 3rem 1.5rem;
  background-color: #261515;
  justify-content: center;
  padding: 50px 30px;
  position: relative;
}

.services .box h3 {
  font-size: 1.5rem;
  color: rgb(226, 226, 226);
  top: 20px;
  position: relative;
  text-align: center;
  margin-top: 30px;
}

.services .box .card-body {
  margin-top: 30px;
  color: #cecece;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.services .box i {
  color: rgb(245, 242, 242);
  font-size: var(--h3);
  background-color: rgb(68, 68, 68);
  padding: 25px;
  border-radius: 50%;
  position: absolute;
  top: -35px;
}




.services .box a {
  text-decoration: none;
  color: #85d0ff;
  display: inline-block;
  font-size: 1rem;
  margin: 30px 0;
}


.services .box .fa-arrow-right {
  background: transparent;
  color: #fff;
  color: #85d0ff;
  font-size: 1rem;
}


/*================= About us Page ================== */
.about-us {
  padding: 250px 0;
}

.about-us .header {
  /* display: none; */
  font-size: var(--h1);
  letter-spacing: 2px;
  margin-bottom: 5rem;
}

.about-us .content {
  display: flex;
}

.about-us .text-content {
  margin-right: 2rem;
  text-align: start;
  clear: right;
  float: right;
}

.about-us .text-content .heading {
  font-size: calc(var(--h2));
  letter-spacing: 0;
  margin: 2rem  0;
  color: #261515;
}

.about-us .sub-heading {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #2d313a;
}

.about-us p {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: #261515;
  padding-right: 50px;
  
}

.about-us .images {
  clear: left;
  float: left;
}

.about-us img {
  width: 100%;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.693);
  
}

.about-us .btn {
  background-color: rgb(8, 142, 146);
  /* padding: 18px 35px; */
}


/* ================ Purpose =================== */

.purpose {
  padding: 250px 0;
  background: linear-gradient(60deg, rgba(55, 57, 197, 0.707), rgba(0, 0, 0, 0.809)), url('img/pexels-canva-studio-3194519\(1\).jpg') center center/cover no-repeat;
  line-height: 1.5;
}

.purpose .container {
  max-width: 600px;
  min-width: 300px;
}

.purpose .mission .heading,
.purpose .vision .heading {
  color: #fff;
  font-size: var(--h2);
  margin-bottom: var(--h4);
  letter-spacing: 2px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.purpose .content .apos {
  font-size: 1.5rem;
  transform: rotateX(20%);
  padding: 0 20px;
}

.purpose .mission .heading::before,
.purpose .vision .heading::before,
.purpose .mission .heading::after,
.purpose .vision .heading::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 5px;
  background: linear-gradient(30deg, rgb(80, 18, 18), #fff, #fff);
  border-radius: 5px;
}

.purpose .mission .heading::before,
.purpose .vision .heading::before {
  left: 100px;
}

.purpose .mission .heading::after,
.purpose .vision .heading::after {
  right: 100px;
}

.purpose .mission {
  margin-bottom: 6rem;
}

.purpose .mission p,
.purpose .vision p {
  color: #eee;
  font-size: var(--h4);
}


/* ======================= EmailNewsletter ================*/
.emailnewsletter {
  padding: 150px 0px;
  line-height: 1.5;
  background: linear-gradient(90deg, rgb(29, 9, 9), rgb(29, 9, 9), #111);
}

.emailnewsletter .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.emailnewsletter .form {
  position: relative;
  width: 500px;
}

.emailnewsletter .heading {
  font-size: calc(var(--h3 ) + 10px); 
  color: #fff;
  letter-spacing: 2px;
}

.emailnewsletter .sub-heading {
  font-size: calc(var(--h4) + 5px);
  margin-bottom: var(--h3);
  color: rgb(214, 214, 214);
}

.emailnewsletter .text {
  padding: 10px;
  width: 100%;
  font-size: var(--h4);
  border: 2px solid #fff;
  transition: 0.5s ease;
}

.emailnewsletter .form .text:focus {
  outline : 2px solid rgba(214, 29, 29, 0.679);
}

.emailnewsletter .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100px;
  background: rgb(214, 29, 29);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  position: absolute;
  right: 0px;
  letter-spacing: 1px;
  border: 2px solid rgb(214, 29, 29);
}

.emailnewsletter .btn a {
  color: #fff;
  text-decoration: none;
}

.emailnewsletter .form input {
  height: var(--h2);
}

.emailnewsletter .form input:focus {
  outline: none;
}


.emailnewsletter .email-right {
  width: 40%;
  color: rgb(194, 112, 112);
  font-size: calc(var(--h3) + 5px );
  font-weight: 900;
}




/* ------------------ Contact us ---------------- */

.contact-us {
  background: linear-gradient(160deg, rgba(196, 17, 17, 0.193), rgba(55, 162, 204, 0.337) 50%), url('img/rose.jpg') center center/cover no-repeat;
  padding: 150px 0;
  height: 100%;
}

.contact-us .header {
  text-align: center;
  margin-bottom: 10rem;
  font-size: calc(var(--h2) + 10px);
  color: #fff;
  letter-spacing: 2px;
}

.contact-us .content {
  display: flex;
  justify-content: space-between;
}

.contact-us .left .heading {
  font-size: var(--h3);
  margin-bottom: 20px;
  color: #fff;
}

.contact-us .left p {
  font-size: var(--h4);
  color: #eee;
  line-height: 1.5;
}

.contact-us .left {
  width: 40%;
}


.contact-us .left .contact-info {
  margin-top: var(--h3);
}

.contact-us .left .contact-info .contact {
  display: flex;
  align-items: center;
  margin-bottom: .5rem;
}

.contact-us .left .contact-info .contact i {
  font-size: var(--h4);
  margin-right: var(--h4);
  color: rgb(49, 128, 165);
}


.contact-us .left .socials {
  margin-top: var(--h1);
}

.contact-us .left .socials .heading {
  font-size: var(--h3);
  letter-spacing: 2px;
}


.contact-us .left .socials a {
  font-size: var(--h3);
  margin-right: var(--h3);
}

.contact-us .left .socials a i.fa-facebook {
  color: #3131e1;
}

.contact-us .left .socials a i.fa-codepen {
  color: #b3b3b3;
}

.contact-us .left .socials a i.fa-twitter {
  color: #2bafe4;
}

.contact-us .left .socials a i.fa-youtube {
  color: #e4322c;
}


.contact-us .left .socials a i {
  opacity: .6;
}

.contact-us .left .socials a i:hover {
  opacity: 1;
}


.contact-us .right {
  width: 50%;
  background: #eee;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.371);
}

.contact-us .right .fullname,
.contact-us .right .email,
.contact-us .right .topic,
.contact-us .right .message {
  position: relative;
  color: rgb(126, 126, 126);
  font-weight: 600;
  letter-spacing: 1px;
}

.contact-us .right label {
  font-size: var(--h4);
  position: absolute;
  top: -20px;
}

.contact-us .right input {
  width: 100%;
  margin-bottom: 40px;
  font-size: var(--h4);
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid #9d9c9c;
}

.contact-us .right input,
.contact-us .right textarea {
  font-family: inherit;
  font-size: var(--h4);
  background: #eee;
  transition: 0.5s ease;
}

.contact-us .right textarea {
  width: 100%;
  height: 100px;
  resize: none;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid #9d9c9c;
}


.contact-us .right input:focus, 
.contact-us .right textarea:focus {
  outline: none;
  border-bottom: 2px solid rgb(214, 29, 29);
}

.contact-us .right .btn {
  padding: 15px 35px;
  background-color: rgb(220, 35, 35);
  text-align: center;
  display: inline-block;
  margin-top: var(--h3);
  font-size: var(--h4);
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 5px;
}




/* ====================== Footer ==================== */

.footer {
  height: 100%;
  width: 100vw;
  background-color: #eee;
}

.footer .content {
  display: flex;
  padding: 100px 0;
  justify-content: space-between;
}

.footer .footer-left {
  width: 60%;
  display: flex;
}

.footer .footer-left .footer-navigation {
  margin-right: calc(var(--h1) + 2rem);
}

.footer .footer-left .footer-navigation:last-child {
  margin-right:  0;
}

.footer .footer-left .footer-navigation h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.footer .footer-left .nav {
  list-style: none;
  line-height: 2;
}

.footer .footer-left .nav a {
  text-decoration: none;
  font-size: calc(var(--h4) + .2rem);
  color: #333;
  font-weight: 500;
  transition: left .5s ease-in;
}

.footer .footer-left .nav a:hover {
  color: #000;
  position: relative;
  left: 10px;
}

.footer .footer-right {
  width: 30%;
}

.footer .footer-right h3 {
  font-size: calc(var(--h3));
  margin-bottom: 1rem;
  letter-spacing: 2px;
  color: #e13131;
}

.footer .footer-right form {
  width: 400px;
}


.footer .footer-right form input {
  width: 100%;
  padding: 10px;
  font-size: var(--h4);
  letter-spacing: 1px;
  border: 3px solid #ccc;
  border-radius: 5px;
  font-family: Montserrat, sans-serif;
  background: #eee;
}

.footer .footer-right form input:focus {
  outline:  none;
  border-color: #aaa;
}

.footer .footer-right .btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: #e13131;
  padding: 11px 25px;
  font-size: var(--h4);
  margin: 1rem 0 3rem;
  letter-spacing: 2px;
  border-radius: 5px;
}


.footer-right .social-icons i {
  margin-right: 2.5rem;
  font-size: calc(var(--h3) );
}

.footer-right .social-icons a {
  text-decoration: none;
  opacity: .8;
  /* transition: .3s ease-in; */
}

.footer-right .social-icons a:hover {
  opacity: 1;
}

.footer-right .social-icons a:nth-child(1) {
  color: rgb(243, 82, 95);
}

.footer-right .social-icons a:nth-child(2) {
  color: rgb(44, 40, 40);
}

.footer-right .social-icons a:nth-child(3) {
  color: rgb(252, 77, 77);
}


.footer-bottom {
  width: 100vw;
  padding: 20px 0;
  text-align: center;
  font-size: var(--h5);
  background: linear-gradient(rgb(29, 9, 9), rgb(29, 9, 9), #111);
  color: rgb(202, 202, 202);
  letter-spacing: 1px;
}

.footer .brand-name {
  color: #e13131;
}

.top {
  background: #9b0a16;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: fixed;
  right: 0;
  bottom: 80px;
  right: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.top .nav-up {
  text-decoration: none;
  opacity: .8;
}

.top .nav-up:hover {
  opacity: 1;
}

.nav-up .white {
  color: #ffffff;
  font-size: var(--h4);
}








/* For mobie */



/* Media query for smaller screens */
@media (max-width: 768px) {
  .home {
    font-size: 12px;
  }

}

/* Media query for even smaller screens */
@media (max-width: 480px) {
  *.btn {
    padding: 12px 20px;
  }

  Nav {
    display: flex;
    margin: 0;
    display: none;
  }

  Nav .brand {
    font-style: 1rem;
    flex-direction: column;
  }

  .home {
    background:linear-gradient(rgba(9, 17, 29, 0.898), rgba(9, 18, 29, 0.748), rgba(17, 17, 17, 0.522)), url(https://images.pexels.com/photos/351264/pexels-photo-351264.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1) center/cover no-repeat;
  }

  .home h1, .about-us .text-content .heading{
    font-size: 2rem;
  }

  .home h3 {
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.5;
  }

  .home .container, .about-us .container, 
  .purpose .container, 
  .emailnewsletter .container, 
  .contact-us .container, .footer .container {
    padding: 0 20px;
    overflow: hidden;
  }

  .home .btn, .about-us .btn,
  .emailnewsletter .btn  {
    font-size: 12px;
    padding: 12px 20px;
    margin: 0;
  }

  .home .btn.desktop {
    display: none;
  }

  .home .btn.mobile {
    display: inline-flex;
    margin-left: 30px;
  }




  .services, .purpose, .contact-us {
    padding: 50px 0;
  }

  .services  h2{
    font-size: 2rem;
    margin-bottom: 1rem;
    padding: 0; 
  }

  .services .sub-heading {
    font-size: 12px;
    letter-spacing: 0;
    margin-bottom: 2rem;
  }

  .services .sub-heading::before  {
    left: -20px;
    height: 2px;
  }


  .services  .sub-heading::after {
    right: -20px;
    height: 2px;
  }


  .services .card-body {
    margin-bottom: 1rem;
  }

  .services .box h3 {
    font-size: 14px;
  }

  .services  .box {
    margin-bottom: 1rem;
    padding: 12px 10px;
    height: 200px;
  }

  .services .box i {
    font-size: 1.5rem;

  }



  .about-us {
    margin: 0;
    padding: 30px 0;
  }

  .about-us .content {
    display: flex;
    flex-direction: column;
  }

  .about-us img, .about-us .text-content {
    width: 100%;
    margin-top: 2rem;
  }

  .about-us .text-content  .heading {
    margin: 10px 0 20px 0;
  }

  .about-us  .sub-heading {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .about-us .text-content {
    text-align: center;
  }

  .about-us p {
    font-size: 14px;
    padding: 0;
    color: #111;
  }

  

  .purpose .mission .heading, .purpose .vision .heading {
      font-size: 2rem;
  }

  .purpose .mission p, .purpose .vision p {
    font-size: 14px;
  }

  .purpose .mission {
    margin-bottom: 1.5rem;
  }

  .purpose .mission .heading::before,  
  .purpose .vision .heading::before {
    left: 30px;
  }

  .purpose .mission .heading::after,  
  .purpose .vision .heading::after {
    right:  30px;
  }

  .emailnewsletter {
    padding: 50px 0;
    width: 100vw;
  }

  .emailnewsletter .heading {
    font-size: 16px;
  }

  .emailnewsletter .sub-heading {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .emailnewsletter .email-right {
    display: none;
  }

  .emailnewsletter .form {
    width: 100%;
  }

  .emailnewsletter .form input {
    width: 80%;
    height: 30px;
    padding: 10px;
    margin: 0;
    font-size: 14px;
  }

  .emailnewsletter .btn {
    display: inline-block;
    position: relative;
    margin-top: 10px;
    height:   auto;
    width: auto;
    letter-spacing: 0;
    padding: 5px 20px;
  }


  .contact-us .right{
    width: 200px;
  }

  .contact-us .header{
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .contact-us .left .heading {
    font-size: 16px;
  }

  .contact-us .content {
    display: flex;
    flex-direction: column;
  }

  .contact-us .left, .contact-us .right {
    width: 100%;
  }

  .contact-us .left {
    margin-bottom: 50px;
  }

  .contact-us .content p {
    font-size: 14px;
  }

  .contact-us .left .socials .heading {
    font-size: 16px;
    letter-spacing: 0;
  }

  .contact-us .social-cont i{
    font-size: 1.5rem;
  }

  .contact-us .right{
    padding: 30px 20px;
    margin: 0 auto;
  }

  .contact-us .right label {
    font-size: 14px;
    position: relative;
    top: 0;
  }

  .contact-us .right .btn {
    font-size: 14px;
    padding: 12px 20px;
    width: 100%;
  }

  .contact-us .right input {
    font-size: 14px;
    margin-bottom: 0;
  }
  
  .contact-us .right textarea {
    margin-top: 0;
  }


  .contact-us .right .fullname,
  .contact-us .right .email,
  .contact-us .right .topic,
  .contact-us .right .message {
    margin-bottom: 20px;
  }



  .footer .content{
    flex-direction: column;
    padding: 30px 0;
    height: auto;
  }

  .footer .footer-navigation {
    margin-bottom: 20px;
    padding-right: 10px;
    margin-right: 0;
  }

  .footer .footer-left .footer-navigation h2{
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer .footer-left .nav a {
    font-size: 14px;
  }

  .footer .footer-left {
    flex-wrap: wrap;
    width: 100%;
  }

  .footer-bottom   {
    padding: 15px 0;
    height: auto;
  }


  .footer .footer-right h3 {
    font-size: 16px;
    padding-bottom: 10px;
    margin: 0;
  }

  .footer .footer-right form input{
    width: 50%;
    border: 2px solid #949191;
    font-size: 14px;
    padding: 10px 5px;
    letter-spacing: 0;
  }

  .footer .form {
    margin: 0;
  }

  .footer .footer-right .btn {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0;
  }

  .footer-bottom h2{
    font-size: 14px;
    letter-spacing: 0;
  }


  .top {
    padding: 10px;
    bottom: 10px;
    right: 10px;
  }
  
  .top i {
    font-size:  14px;
  }

  .social-icons {
    display: flex;
  }

  .footer-right .social-icons i{
    font-size: 1.5rem;
    margin-right: 30px;
  }
}