@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400&display=swap");
:root {
  --purple: #814096;
  --pink: #f83292;
  --gradient: linear-gradient(90deg, var(--purple), var(--pink));
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
}

*::selection {
  background: var(--pink);
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: #f9f9f9;
}

#particles-js {
  position: absolute;
  width: 100%;
  /* height: 550px; */
  /* background-color: rgb(129, 22, 22); */
  /* background-image: url(""); */
  /* background-repeat: no-repeat; */
  /* background-size: cover; */
  /* background-position: 50% 50%; */
  /* z-index: 0; */
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 3rem;
  border-radius: 5rem;
  background: var(--gradient);
  font-size: 1.7rem;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s linear;
}

.btn:hover {
  transform: scale(1.1);
}

.switchbtn {
  margin-top: 0px !important;
}

.pbtn {
  background-color: #10d5c4;
  border-color: #10d5c4;
  color: white !important;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  padding: 0.485rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.heading {
  text-align: center;
  background: var(--gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 3.5rem;
  text-transform: uppercase;
  padding: 1rem;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  padding: 3px 5% !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo {
  /* font-size: 2rem; */
  color: var(--purple);
}

header .logo span {
  color: var(--pink);
}

header .navbar a {
  font-size: 1.7rem;
  margin-left: 1.2rem;
  color: var(--purple);
}

.navbar {
  position: relative;
  display: block !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mbar {
  /* margin-left: 52rem; */
}

.languageswitch {
  font-size: 1.7rem;
  margin-left: 2rem;
  color: var(--purple);
  position: relative;
  display: block !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  /* padding-top: .5rem;
    padding-bottom: .5rem; */
}

header .navbar a:hover {
  color: var(--pink);
}

header .navbar a:active {
  color: var(--pink);
}

header input {
  display: none;
}

header label {
  font-size: 3rem;
  color: var(--purple);
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
}

a {
  text-decoration: none !important;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0rem);
  }
  50% {
    transform: translateY(-3.5rem);
  }
}

.footer {
  padding-top: 3rem;
  /* background: url(images/footer-bg.png) no-repeat !important; */
  background: url(images/footer-bg.png) no-repeat;
  background-size: cover;
  background-position: center;
}

.footer .box-container {
  display: flex;
  flex-wrap: wrap;
}

.footer .box-container .box {
  flex: 1 1 25rem;
  margin: 2rem;
}

.footer .box-container .box h3 {
  font-size: 2.5rem;
  padding: 1rem 0;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 1rem;
}

.footer .box-container .box p {
  font-size: 1.5rem;
  padding: 0.5rem 0;
  color: #eee;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.5rem;
  padding: 0.5rem 0;
  color: #eee;
}

.footer .box-container .box a:hover {
  text-decoration: underline;
}

.footer .box-container .box .info {
  display: flex;
  align-items: center;
}

.footer .box-container .box .info i {
  margin: 0.5rem 0;
  margin-right: 1rem;
  border-radius: 50%;
  background: #fff;
  color: var(--pink);
  font-size: 1.5rem;
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  text-align: center;
}

.footer .credit {
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.1rem;
  color: #fff;
  border-top: 0.1rem solid #fff5;
  padding: 2.5rem 1rem;
  /* padding-bottom: 10px;
    padding-top: 10px; */
  text-align: center;
}

/* media queries  */

@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 991px) {
  section {
    padding: 0 3%;
    padding-top: 7.5rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  header label {
    visibility: visible;
    opacity: 1;
  }
  header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem 2rem;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: 0.2s linear;
  }
  header .navbar a {
    display: block;
    margin: 2rem 0;
    font-size: 2rem;
  }
  header input:checked ~ .navbar {
    transform: scaleY(1);
    opacity: 1;
  }
  header input:checked ~ label::before {
    content: "\f00d";
  }
  .home {
    flex-flow: column-reverse;
  }
  .home .image img {
    width: 100%;
  }
  .home .content h3 {
    font-size: 3.6rem;
  }
  .home .content p {
    font-size: 1.5rem;
  }
  .about {
    background-position: right;
  }
  .newsletter p {
    width: auto;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
  .about .column .content .buttons a {
    width: 100%;
    text-align: center;
  }
  .about .column .content .buttons a:last-child {
    margin: 1rem 0;
  }
}

.dropbtn {
  /* background-color: #4CAF50; */

  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 4px;
}
.dropdown-content a {
  color: black;
  padding: 5px 16px;
  text-decoration: none;
  display: block;
  font-size: 15px !important;
  margin-left: -4% !important;
}
.dropdown-menu {
  width: 161px !important;
  margin-left: 8%;
}
.dropdown-content a:hover {
  color: black !important;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown:hover .dropbtn {
  /* background-color: #3e8e41; */
}

/* Blog Section */

.banner {
  min-height: 80vh;
  /* padding: 0 9%; */
  /* padding-top: 20rem; */
  /* padding-bottom: 2rem; */
  position: relative;
  background-size: cover;
  background-image: url("./images/buildings1.jpg");
  background-repeat: no-repeat;
  margin-bottom: 2rem;
}

/* .banner .conatiner {
  position: relative;
  text-align: center;
  color: white;
} */

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.banner h1 {
  font-weight: 700;
  font-size: 4.42857rem;
  color: white;
}

.blog-content {
  /* background-color: rgb(233, 230, 230); */
  /* padding: 0 9%; */
  padding-top: 15px;
  min-height: 100%;
  /* padding-bottom: 2rem; */
  margin-bottom: 25rem;
}

.card-title {
  /* font-size: 15px; */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 30px;
}

.card {
  margin-bottom: 40px;
  border-radius: 10px;
  border: 1px solid rgb(249 249 249);
  box-shadow: 0 0 15px 0 #e7ecf2;
  height: 100%;
}

.card-body {
  padding: 18px 22px;
}

.card-text {
  font-size: 15px;
  margin-bottom: 30px;
}

.card-img,
.card-img-top {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.card-img-top {
  width: 100%;
  height: 15vw;
  /* object-fit: cover; */
}

.btn-blog {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 3rem;
  border: 1px solid var(--purple);
  border-radius: 3px;
  background: white;
  font-size: 1.7rem;
  color: var(--purple);
  cursor: pointer;
  /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); */
  transition: all 0.3s linear;
}
.btn-blog:hover {
  /* transform: scale(1.1); */
  background: var(--gradient);
  color: rgb(255, 255, 255);
  outline: none;
  border: none;
}

/*===================*/
/* FLOAT
/*===================*/

.float-on-hover {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.float-on-hover:hover,
.float-on-hover:focus,
.float-on-hover:active {
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
}


.card-title > a:hover{
    
    color: var(--purple) !important;
    
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .card-img-top{
    height:100%;
    width: 100%;
  }
  .whole-card{
         margin-bottom: 20px;
  }
  
}

@media screen and (max-width: 992px) {
  .whole-card{
         margin-bottom: 20px;
  }
}