@import url("http://fonts.cdnfonts.com/css/gantari");

* {
  font-family: "Gantari", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: clamp(15px, 1.5vw, 1.25em);
}
:root {
  --primary: #258f7b;
  --secondary: #3c5d54;
}

body {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 0.3%;
  background-color: #fff;
  overflow-x: hidden;
}

/*Hero Section */

.navbar {
  display: flex;
  width: 100vw;
  padding: 0px;
  padding-bottom: 0px;
  gap: 1%;
  align-items: center;
  border-bottom: 2px solid var(--primary);
  height: fit-content;
  background-color: #fff;
  z-index: 3;
  position: fixed;
  padding-left: 1rem;
  padding-right: 1rem;
}

.home-hero-section {
  height: fit-content;
  width: 100%;
  display: flex;
  margin-top: 4.2rem;
  position: relative;
  padding-left: 1.5rem;
  height: 25rem;
  align-items: center;
  overflow-x: hidden;
}




.home-hero-section:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
}



.home-hero-section .hero-pic {
  right: 0;
  top: 0;
  z-index: 0;
  height: 100%;
  position: absolute;
}

.join {
  position: relative;
  font-size: 1.4rem;
}

.join img {
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 100%;
}

.home-hero-section h1 {
  position: relative;
  z-index: 2;
  width: 75%;
  font-size: 1.4rem;
}

.home-hero-section p {
  position: relative;
  z-index: 2;
  width: 70%;
  font-size: 0.9rem;
}


 @media (max-width: 650px) {
.home-hero-section p {
  width: 85%;
}
.home-hero-section h1 {
  width: 95%;
}.home-hero-section:after {
  background-color: rgba(255, 255, 255, 0.4);
}

 }

 @media (max-width: 650px) {
.home-hero-section p {
  width: 90%;
}
.home-hero-section h1 {
  width: 98%;
}.home-hero-section:after {
  background-color: rgba(255, 255, 255, 0.4);
}

 }

 @media (max-width: 330px) {
  .home-hero-section h1{
    margin-top: 3rem;
  }
  .home-hero-section{
    height: 28rem;
  }
 }
.cta-container {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

 @media (max-width: 315px) {
  .home-hero-section{
    padding-left: 0;
  }
  .home-hero-section h1, .home-hero-section p {
    padding-left: 1.5rem;
  }

  .cta-container{
    padding-left: 1.5rem;
  }
 }


.cta-container a {
  text-decoration: none;
  padding: 10px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 5px;
  font-size: 0.9rem;
}
.cta-container a:hover {
  background-color: var(--secondary);
}
.cta-container .proof {
  font-size: 0.8rem;
  margin-left: 1rem;
  color: var(--primary);
}

.home-parteners {
  width: 100%;
  background-color: var(--primary);
  padding: 3rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-water-mark {
  position: absolute;
}

.icon-water-mark img {
  height: 4rem;
  width: 4rem;
}

.icon-water-mark:nth-child(1) {
  top: 1rem;
  left: 1rem;
}

.icon-water-mark:nth-child(2) {
  top: 1rem;
  right: 1rem;
}

.icon-water-mark:nth-child(3) {
  bottom: 1rem;
  left: 1rem;
}

.icon-water-mark:nth-child(4) {
  bottom: 1rem;
  right: 1rem;
}

.partener {
  display: flex;
  flex-direction: column;
  width: fit-content;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.partener img {
  height: 5rem;
  width: 5rem;
  object-fit: contain;
}

.home-partner-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0.6;
}

.partener .partner-abriv {
  font-weight: bold;
}

.partener .partner-full {
  font-size: 0.7rem;
}

.features {
  padding: 1rem;
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}


.feature-column {
  display: flex;
  flex-direction: column;
  width: 26ch;
  margin: auto;
  position: relative;
}

 @media (max-width: 800px) {
  .features{
   flex-direction: column;
  }
  .feature-column{
    width: 35ch;
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
 }
 @media (max-width: 360px) {
  .features{
   flex-direction: column;
  }
  .feature-column{
    width: 95%;
  }
 }


.feature-column:after {
  height: 2px;
  content: "";
  width: 100%;
  margin-top: 5px;
  background-color: var(--primary);
}

.feature-column .feature-icon {
  align-self: center;
}

.feature-column img {
  width: 60px;
  height: 60px;
}

.feature-title {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.feature-info {
  font-size: 0.8rem;
}

/*Navbar*/
.navbar {
  display: flex;
  width: 100vw;
  padding: 0px;
  padding-bottom: 0px;
  gap: 1%;
  align-items: center;
  border-bottom: 2px solid var(--primary);
  height: fit-content;
  background-color: #fff;
  z-index: 3;
  position: fixed;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar img {
  height: 3rem;
  width: 3rem;
  margin-right: 5px;
}

.navlink a {
  text-decoration: none;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.navlink {
  cursor: pointer;
  padding: 10px;
  position: relative;
  transition: 0.4s ease;
}

.navlink a::after {
  position: absolute;
  content: "";
  height: 2px;
  width: 0%;
  bottom: 0;
  background-color: var(--secondary);
}

.navlink:hover a::after {
  transition: ease-out 0.3s;
  width: 75%;
}

#paum-header {
  margin-right: auto;
}

#paum-header:hover a::after {
  height: 0px;
  width: 0%;
}

#paum-header a {
  flex-direction: row;
  padding: unset;
}

#paum-header:hover {
  box-shadow: unset;
}

#paum-header:hover .abriv {
  color: var(--secondary);
}

.paum {
  padding: unset;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: unset;
}

.abriv {
  letter-spacing: 1rem;
  font-size: 1.75rem;
  font-weight: bold;
}

.full {
  font-size: 0.5rem;
  color: var(--secondary);
}

.navlink:hover .link-icon {
  transition: ease-out 0.1s;
  color: var(--secondary);
}
.link-icon {
  font-size: 1.3rem;
}

.link-title {
  color: black;
  font-size: 0.5rem;
  font-weight: bold;
}

#login-link a {
  color: #373737;
  font-weight: bold;
  font-size: 0.9rem;
}

#login-link {
  border-radius: 5px;
  border: 2px solid var(--primary);
  font-size: 0.9rem;
  padding: 5px;
  margin-right: 10px;
}

#login-link:hover {
  background-color: #258f7b;
}

#login-link a::after {
  width: 0%;
}

#login-link a::after {
  width: 0%;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  z-index: 2;
  gap: 1.4rem;
  
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  margin: 5px auto;
  border-radius: 2px;
  height: 3px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--primary);
}


@media (max-width: 800px) {
  

  .full {
    
    color: var(--secondary);
  }

  .hamburger {
    display: block;
  }

  

  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    right: -100%;
    top: 75px;
    gap: 0;
    flex-direction: column;
    border: 1.5px solid var(--primary);
    padding: 10px;
    border-radius: 5px;
    width: fit-content;
    background-color: #fff;
    transition: 0.3s;
    align-items: center;
  }

  .nav-menu.active .navlink a {
    flex-direction: row;
    gap: 10px;
  }

  .nav-menu .navlink a .link-title{
    font-size: 0.7rem;
  }

  .nav-menu #login-link{
   margin-left: 0.9rem;
  }

  .nav-menu .navlink a i{
    font-size: 1.3rem;
  }

  .nav-menu .navlink .link-icon{
    width: 30px;
  }

  .nav-menu.active {
    right: 5px;
    top: 4.7rem;
    align-items: flex-start;
  }
}

/* banner */

.overlay {
  position: fixed;
  width: 100vw;
  min-height: 100vh;
  z-index: 2;
  transform: scale(0.00000001);
  background-color: rgba(0, 0, 0, 0.3);
  transition: 0.6s;
  display: flex;
  justify-content: center;
  padding: 10px;
  top: -130%;
  margin-top: 10px;
}

.overlay-active {
  transform: scale(1);
  top: -10px;
}

.notifications {
  width: 60%;
  height: 100%;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.808);
  padding: 1.5rem 0.5rem 1rem 0.5rem;
  box-shadow: 0 -15px 15px rgba(255, 255, 255, 0.05),
    insert 0 -15px 15px rgba(255, 255, 255, 0.05),
    0 15px 15px rgba(0, 0, 0, 0.05), insert 0 15px 15px rgba(0, 0, 0, 0.05);
  gap: 0.5rem;
}

.notifications .header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 0 1rem 0;
  gap: 0.5rem;
}

.notifications .icon {
  max-width: 4%;
}

.notifications .title {
  max-width: 90%;
}

.notifications .cancel {
  max-width: 3%;
}

.notifications .cancel:hover {
  background-color: red;
}

.notifications .date-time {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin: 0 0 0.5rem 0;
}

.notifications .date-time .time {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.notifications .date-time .time :nth-child(1) {
  padding: 0 5px 0 0;
}

.notifications h4 {
  color: white;
  padding: 0.5%;
  border-radius: 5px;
  border: solid #258f7b 1px;
  box-shadow: 0 2px 4px #042c25, 0 2px 4px #042c25;
}

.notifications h4 .no-not {
  border-radius: 50%;
  margin: 1px 40% 1px 40%;
}

.notifications .info {
  width: 100%;
}

@media (max-width: 800px) {
  .b-link {
    font-size: 14px;
  }
}

.search-icon {
  position: relative;
}

.search-icon input {
  font-weight: bold;
  width: 100px;
  border: 1px solid var(--primary);
  padding: 5px 10px 5px 40px;
  border-radius: 20px;
  transition: ease 0.5s;
  background-color: #fff;
}

@media (max-width: 661px) {
  .banner-discript p {
    font-size: 14px;
  }
  #home-search {
    width: 55vw;
  }
}
@media (max-width: 555px) {
  .banner-links div {
    width: 90vw;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 488px) {
  .banner-discript p {
    font-size: 14px;
  }
  .banner-discript p {
    font-size: 14px;
  }

  .banner-links div {
    width: 100vw;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .banner-links div {
    gap: 7px;
  }

  .b-link {
    font-size: 12px;
  }
}

.search-icon input:focus-within {
  -webkit-appearance: none;
}

.search-icon button {
  cursor: pointer;
  border: none;
  position: absolute;
  left: 0;
  padding-left: 10px;
  padding-right: 8px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: var(--primary);
}

.search-icon button:hover {
  background-color: var(--secondary);
}

/* blogs */

.blogs-section {
  margin-bottom: 10px;
  width: 99%;
  display: grid;
  column-gap: 5px;
  row-gap: 10px;
  padding-left: 15px;
  padding-right: 15px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.blog-card {
  height: 300px;
  width: 100%;
  border-radius: 5px;
  border: 0.5px solid var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  margin-left: 0.3%;
  transition: ease 0.2s;
}

.blog-card:hover {
  box-shadow: 2px 3px 5px 4px rgba(0, 0, 0, 0.37);
}

.blogs-header {
  width: fit-content;
  font-size: 0.9rem;
  padding: 5px;
  border-radius: 5px;
  border: 2px solid var(--primary);
  margin: 5px;
  margin-left: 20px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.blogs-header h3{
  font-size: 0.8rem;
}

.blog-image {
  width: 100%;
  height: 50%;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.read-more {
  width: 100%;
  display: grid;
  cursor: pointer;
  grid-template-columns: 1fr 1fr;
  position: absolute;
  bottom: 0rem;
  font-size: 12px;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    177deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(175, 175, 175, 0.4528011033514968) 64%
  );
}

.read-more a {
  background-color: #fff;
  text-decoration: none;
  color: black;
  border: 1px solid var(--primary);
  width: fit-content;
  padding: 5px;
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 5px;
  justify-self: end;
  font-size: 0.7rem;
}

.read-more a:hover {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.37);
  background-color: var(--primary);
}

.date {
  padding: 5px;
  border-radius: 5px;
  margin-left: 10px;
  margin-bottom: 5px;
  background-color: var(--primary);
  width: fit-content;
  height: fit-content;
  font-size: 0.7rem;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.blog-title {
  padding-left: 7px;
  padding-right: 7px;
  font-size: 0.7rem;
}

.blog-info {
  padding: 7px;
  height: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.7rem;
}

/* Home bottom section */

.home-about {
  margin-top: 2rem;
  background-color: #373737;
  width: 100%;
  display: flex;
  padding-top: 10px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.info-box {
  padding-top: 10px;
  background-color: transparent;
  width: 40%;
  color: #fff;
  margin-left: 1rem;
  margin-right: auto;
}

.info-box h3,
.social-links h3 {
  font-size: 22px;
  background-color: transparent;
}

.info-box p {
  padding-top: 10px;
  padding-right: 10px;
  font-size: 0.8rem;
}

.contact-links {
  width: fit-content;
  height: fit-content;
  padding-top: 10px;
  background-color: transparent;
  margin-right: auto;
}

.contact-links h3,
.social-links h3 {
  background-color: transparent;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}

.page-links,
.page-links li,
.page-links a,
.social-links li {
  list-style: none;
  text-decoration: none;
  color: #fff;
  background-color: transparent;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.page-links a:hover,
.social-links a:hover {
  color: var(--primary);
  transition: ease 0.23s;
}
.social-links {
  text-align: unset;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.social-links {
  margin-right: 1rem;
}

.social-links li {
  font-size: 0.8rem;
}

.social-links h3 {
  text-align: start;
  margin-top: 10px;
}

.social-links ul {
  align-items: unset;
  justify-content: unset;
}

.social-links li,
.social-links a {
  text-decoration: none;
  font-size: 0.8rem;
}

.social-links i {
  font-size: 1rem;
  margin-right: 5px;
}

.social-links li,
.social-links a,
.social-links i {
  font-weight: unset;
  background-color: transparent;
  color: #fff;
}

.page-links li i {
  font-size: large;
  background-color: transparent;
  padding-right: 10px;
}

.footer {
 display: flex;
  padding-top: 10px;
  padding-bottom: 20px;
  height: fit-content;
  padding-left: 2rem;
  background-color: #373737;
  color: rgb(148, 148, 148);
  font-size: 0.8rem;  
}

#year {
  margin-left: 5px;
  font-size: 0.8rem;
}

@media (max-width: 800px) {
  .home-about {
    flex-direction: column;
    gap: 20px;
  }

  .info-box {
    width: 100%;
  }

  .contact-links {
    width: 100%;
    padding-left: 1rem;
  }

  .social-links {
    width: fit-content;
    padding-left: 1rem;
  }

  .home-about {
    height: fit-content;
  }

  .footer ul {
    text-align: center;
    flex-wrap: wrap;
  }

  .blog-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media (max-width: 600px) {
  .notifications {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.808);
    padding: 1.5rem 0.5rem 1rem 0.5rem;
    box-shadow: 0 -15px 15px rgba(255, 255, 255, 0.05),
      insert 0 -15px 15px rgba(255, 255, 255, 0.05),
      0 15px 15px rgba(0, 0, 0, 0.05), insert 0 15px 15px rgba(0, 0, 0, 0.05);
    gap: 0.5rem;
  }

  .notifications .icon {
    display: none;
  }

  .notifications .cancel {
    max-width: 8%;
  }
}

@media (max-width: 360px) {

  .blogs-section {
    margin-bottom: 10px;
    width: 99%;
    display: grid;
    column-gap: 5px;
    row-gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
}