@import url("https://fonts.googleapis.com/css2?family=Fira+Sans: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&family=Kaushan+Script&family=Sacramento&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
  font-family: "Fira Sans", serif;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

:root {
  --primary-color: #8ec038;
  --secondary-color: #da2424;
  --text-color: #292d35;
  --white-color: #fff;
  --black-color: #000;
  --prim-color: #73be48;

  --third-color: #ed145b;
  --forth-color: #f7941e;
  --section-dark: #0a6375;
  --section-light: #f7f6e5;
  --gray-color: #5c707e;

  --Sacramento-font: "Sacramento", serif;
  --Kaushan-font: "Kaushan Script", serif;

  --transition-reguler: 0.3s;
  --transition-slow: 0.6s;
}
::selection {
  color: var(--bg-color);
  background: var(--second-color);
}
a {
  text-decoration: none;
}
li {
  list-style: none;

}

img {
  width: 100%;
 
}

section {
  padding: 3rem 0 2rem;
}
.container {
  max-width: 400px;
  margin: auto;
  width: 100%;
 
 
}

/* NAVBAR */

.top_nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12%;
  border-bottom: 1px solid rgba(131, 131, 131, 0.5);
}
.nav_info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav_info h2 {
  font-size: 1rem;
  font-weight: 300;
}
.nav_info h2 i {
  color: var(--primary-color);
}
.nav_info h2 span {
  font-weight: 500;
  color: var(--text-color);
}
.nav_info_icon {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav_info_icon i {
  font-size: 1.5rem;
  color: var(--text-color);
  transition: var(--transition);
}
.nav_info_icon i:hover {
  color: var(--primary-color);
  cursor: pointer;
}
.nav_info_icon span {
  padding: 2px 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
  color: var(--white-color);
  border-radius: 5px;
}

nav {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 0 12%;
}

.logo {
  padding-top: 1%;
}

.logo a {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-color);
  font-family: var(--Kaushan-font);
}
.logo a span {
  font-family: var(--Kaushan-font);
  color: var(--secondary-color);
}
.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu li a {
  font-size: 1.2rem;
  color: var(--text-color);
  position: relative;
  transition: var(--transition);
}
.menu li a:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0%;
  width: 0%;
  height: 2px;
  border-radius: 5px;
  background-color: var(--secondary-color);
  transition: var(--transition2);
}
.menu li:hover a:after {
  width: 100%;
}
.menu li:hover a {
  color: var(--secondary-color);
}
.bars {
  display: none;
}

button {
  width: 130px;
  height: 50px;
  border: none;
  border-radius: 50px;
  background-color: var(--secondary-color);
  font-size: 1.2rem;
  color: var(--white-color);
  position: relative;
  z-index: 1;
  cursor: pointer;
 
}
button:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background-color: var(--text-color);
  z-index: -1;
  transition: var(--transition);
}
button:hover:after {
  transform: translate(-50%, -50%) scale(1);
}
.nav-buttons {
  display: flex;
  gap: 15px;
}
.nav-buttons button {
  width: 120px;
  height: 45px;
  border-radius: 25px;
  border: none;
  background-color: var(--secondary-color);
  color: var(--white-color);
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.nav-buttons button:hover {
  background-color: var(--text-color);
}

/* NAVBAR MQ SECTION  */
@media (max-width: 900px) {
  .bars {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(131, 131, 131, 0.5);
    border-radius: 10px;
  }
  nav {
    position: relative;
    z-index: 999;
  }
  .menu {
    position: absolute;
    top: 100%;
    left: -100%;
    opacity: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 1% 12%;
    background-color: var(--white-color);
    border-top: 1px solid rgba(131, 131, 131, 0.5);
    transition: var(--transition2);
  }
  .show_menu {
    opacity: 1;
    left: 0;
  }
  .nav_info h2:nth-child(1) {
    display: none;
  }
  .nav-buttons {
    display: flex; /* Ensure buttons appear in mobile menu */
    flex-direction: column;
    gap: 10px;
    width: 40%;
    align-items: center;
    margin-top: 15px;
   
}

.menu .nav-buttons {
    display: flex;
}

.menu .nav-buttons a {
    width: 100%;
    text-align: center;
}

.menu .nav-buttons button {
    width: 100%;
    height: 45px;
    border-radius: 25px;
}

.nav-buttons button {
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.nav-buttons button:hover {
    background-color: var(--primary-color);
}

}
/* HERO HEADER SECTION  */

header {
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: var(--section-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 5% 0;
    position: relative;
    
   
    
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 3.5rem;
    line-height: 4.5rem;
    width: 100%;
    font-family: var(--Nunito-font);
    position: relative;
  }
  .hero-content h1:after {
    content: "";
    position: absolute;
    top: -10%;
    left: 13%;
    width: 40px;
    height: 40px;
  
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
  }
  .hero-content span {
    font-weight: 400;
    
  }
  .hero-content .highlight-text {
    color: var(--secondary-color);
    font-weight: 600;
  }
  .hero-content p {
    font-size: 1rem;
    line-height: 1.5rem;
    width: 100%;
    margin: 20px 0;
    font-weight: 500;
    color: black;
  }
  
  .hero-content button {
    margin: 10px 0;
    width: 160px;
    color: var(--white-color);
    background-color: #da2424;
  }
  .hero-content button:hover:after {
    background-color: var(--text-color);
  }
  
  
  .hero-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .hero-element1 {
    top: 48%;
    left: 10%;
    width: 380px;
    height: 380px;
    object-fit: contain;
    animation: anim-top-bottom 4s infinite linear;
  }
  .hero-element2 {
    top: 48%;
    left: 90%;
    width: 380px;
    height: 380px;
    object-fit: contain;
    animation: anim-top-bottom 4s infinite linear;
  }
  .hero-element3 {
    top: 77.5%;
    left: 40%;
    width: 45%;
    height: 45%;
  }
  .hero-element4 {
    top: 22.5%;
    left: 72%;
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: anim-skew 1.5s infinite linear;
  }
  .hero-element5 {
    width: 70%;
    left: 98.2%;
    width: 100px;
    height: 300px;
    object-fit: contain;
    animation: anim-top-bottom 5s infinite linear;
  }
  .hero-element6 {
    width: 30%;
    left: 0%;
    width: 100px;
    height: 300px;
    object-fit: contain;
    animation: anim-left-right 5s infinite linear;
  }
  
  /* HEADER ANIMATION  */
  
  @keyframes anim-top-bottom {
    0% {
      transform: translate(-50%, -50%) translateY(0);
    }
    50% {
      transform: translate(-50%, -50%) translateY(20px);
    }
    100% {
      transform: translate(-50%, -50%) translateY(0);
    }
  }
  @keyframes anim-skew {
    50% {
      transform: translate(-50%, -50%) skewX(5deg);
    }
  }
  @keyframes anim-left-right {
    0% {
      transform: translate(-20%, -50%) rotate(180deg) translateX(10px);
    }
    50% {
      transform: translate(-20%, -50%) rotate(180deg) translateX(-8px);
    }
    100% {
      transform: translate(-20%, -50%) rotate(180deg) translateX(10px);
    }
  }
  
  /* HEADER MQ SECTION  */
  
  @media (max-width: 1400px) {
    .hero-element3 {
      width: 55%;
    }
    .hero-element4 {
      top: 24%;
      left: 80%;
    }
  }
  @media (max-width: 1200px) {
    .hero-element1,
    .hero-element2 {
      width: 320px;
      height: auto;
      display: none;
    }
    .hero-element3 {
      width: 60%;
    }
  }
  @media (max-width: 900px) {
    .hero-element3 {
      display: none;
    }
    .hero-element1 {
      top: 65%;
      left: 30%;
    }
    .hero-element2 {
      top: 70%;
      left: 70%;
    }
    .hero-element4 {
      top: 40%;
    }
  }
  @media (max-width: 500px) {
   
    .hero-content h1 {
      font-size: 3rem;
      line-height: 3.5rem;
      width: 100%;
    }
    .hero-content h1:after {
      left: 7%;
    }
    .hero-content p {
      width: 90%;
    }
    header {
      height: 60vh;
    }
    .hero-element1,
    .hero-element2 {
      width: 220px;
      height: 220px;
      top: 70%;
      left: 20%;
    }
    .hero-element2 {
      left: 80%;
    }
    .hero-element4 {
      top: 60%;
      left: 50%;
    }
    .hero-element5 {
      width: 40px;
      top: 40%;
      left: 97%;
    }
    .hero-element6 {
      width: 40px;
    }
  }
 /* Post Filter */
.post-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.5rem;
  margin-top: 2rem !important;
}
.filter-item {
  font-size: 1.5rem;
  font-weight: 500;
  cursor: pointer;
}
.active-filter {
  background: var(--forth-color);
  color: var(--bg-color);
  padding: 4px 10px;
  border-radius: 4px;
}
/* Posts */
.post {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, auto));
  justify-content: center;
  gap: 1.5rem;
}
.post-box {
  background-color: #f3f7a6;
  box-shadow: 0 4px 14px hsl(355deg 25% 15% / 10%);
  padding: 15px;
  border-radius: 0.5rem;
}
.post-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
}
.category {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-color);
}
.post-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  /* To Remain Title In 2 Lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-date {
  display: flex;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 4px;
}
.post-decription {
  font-size: 0.9rem;
  line-height: 1.5rem;
  margin: 5px 0 10px;
  /* To Remain Title In 3 Lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--secondary-color);
}
.profile-name {
  font-size: 0.82rem;
  font-weight: 500;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
}
.footer p {
  font-size: 0.938rem;
}
.social {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}
.social .bx {
  font-size: 1.4rem;
  color: var(--text-color);
}
.social .bx:hover {
  color: var(--secondary-color);
  transition: 0.3s all linear;
}
/* Post Content */
.post-header {
  width: 100%;
  height: 500px;
  background: var(--section-light);
}
.post-container {
  max-width: 800px;
  margin: auto;
  width: 100%;
  
}
.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4rem !important;
}
.back-home {
  color: var(--secondary-color);
  font-size: 0.9rem;
}
.header-title {
  width: 90%;
  font-size: 2.6rem;
  color: var(--bg-color);
  text-align: center;
  margin-bottom: 1rem;
}
.header-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}
.post-content {
  margin-top: 10rem !important;
}
.sub-heading {
  font-size: 1.5rem;
  
}
.sub-headings{
  font-size: 1.2rem;
  color: rgb(12, 7, 103);
}
.post-text {
  font-size: 1rem;
  line-height: 1.7rem;
  margin: 1rem 0;
  text-align: justify;
}
.highlight {
  color: var(--secondary-color);
}

/* Share */
.share {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1rem;
}
.share-title {
  font-size: 1.1rem;
}

 /* Blogs post MQ SECTION  */

@media (max-width: 396px){
  .post-box{
    padding: 10px;
}
.post-header {
  height: 335px;
}
.post-content {
  margin-top: 5rem !important;
}
.post-text {
  font-size: 0.875rem;
  line-height: 1.5rem;
  margin: 10px 0;
}
.header-img {
  height: 240px;
}
.header-title {
  font-size: 1.4rem;
}
}
@media (max-width: 800px) {
  .post-container {
    margin: 0 auto;
    width: 95%;
  }
}
@media (max-width: 768px) {
  .post-header {
    height: 435px;
  }
  .post-content {
    margin-top: 9rem !important;
  }
  .header-img {
    height: 370px;
  }
  section {
    padding: 2rem 0;
  }
  .header-content {
    margin-top: 3rem !important;
  }
  .header-title {
    font-size: 2rem;
  }
}
@media (max-width: 570px) {
  .post-header {
    height: 390px;
  }
  .header-img {
    height: 340px;
  }
  .header-title {
    width: 100%;
  }
}
@media (max-width: 1060px){
  .container{
      margin: 0 auto;
      width: 95%;
  }
}

/* FOOTER SECTION  */

footer {
  width: 100%;
  padding: 5% 12%;
  padding-bottom: 1%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  background-image: url(images/solo.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #292d35;
  position: relative;
}
footer:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #f3f5ed;
  border-bottom-right-radius: 100px;
  border-bottom-left-radius: 100px;
}
.footer_grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  place-content: start;
  place-items: start;
  gap: 20px;
}
.footer_col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  color: var(--white-color);
}
.footer_logo .logo a {
  color: var(--white-color);
}
.footer_col p {
  font-size: 1rem;
  font-weight: 300;
  color: #999;
}
.social_media_icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
.social_media_icon i {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-color);
  background-color: #da2424;
  transition: var(--transition);
}
.social_media_icon i:hover {
  background-color: var(--white-color);
  color: var(--text-color);
  transform: translateY(-5px);
  cursor: pointer;
}
.footer_col h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: var(--white-color);
}
.footer_col a {
  color: #999;
  transition: var(--transition);
}
.footer_col a:hover {
  color: var(--white-color);
  transform: translateX(5px);
}
.footer_box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer_box i {
  font-size: 1.3rem;
  color: #da2424;
}
.footer_box_text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer_box_text h3 {
  color: #da2424;
  font-weight: 600;
}
.footer_bottom {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  background-color: rgba(131, 131, 131, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white-color);
}
.footer_bottom p a {
  color: var(--primary-color);
  font-weight: 600;
}

@media (max-width: 900px) {
  footer:after {
    top: -5px;
  }
  .footer_grid {
    margin-top: 50px;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 500px) {
  .footer_grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.portfolio {
  display: none;
}
.teams {
  display: none;
}


