@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  box-sizing: border-box;
}

body {
  font-size: 14px;
  font-family: sans-serif;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: whitesmoke;
}

.fill-button {
  position: relative; /* Needed for absolute positioning of ::before */
  overflow: hidden; /* Hides the ::before pseudo-element until it expands */
  background-color: #60a5fa; /* Initial background color (Tailwind blue-400) */
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  cursor: pointer;
  border: none;
  transition: color 0.3s ease-in-out; /* Transition for text color */
  z-index: 1; /* Ensure button content is above pseudo-element */
}

.fill-button::before {
  content: ""; /* Essential for pseudo-elements */
  position: absolute;
  top: 0;
  left: 0;
  width: 0; /* Starts at 0 width */
  height: 100%;
  background-color: whitesmoke; /* Grey fill color (Tailwind gray-500) */
  transition: width 0.3s ease-in-out; /* Transition for width */
  z-index: -1; /* Place behind the button's content */
  border-radius: 0px; /* Match button's border-radius */
}

.fill-button:hover::before {
  width: 100%; /* Expands to 100% width on hover */
}

.fill-button:hover {
  color: rgb(46, 42, 42); /* Ensure text color remains white or changes as desired */
}

.b-hidden {
  display: none;
}

.hero {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  min-height: 400px;
  background-color: #999;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: hidden;
  animation: fader 60s infinite;
}
.hero > img {
  height: 20%;
  margin-left: 0%;
}
.hero:before {
  content: " ";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 90%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.hero-btn {
  position: relative;
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid whitesmoke;
  color: whitesmoke;
  font-size: 20px;
  z-index: 0;
}
.opportunity-btn {
  position: relative;
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid whitesmoke;
  color: whitesmoke;
  font-size: 20px;
  z-index: 0;
}

/* .hero-btn:hover {
  background-color: rgb(255, 255, 255);
  color: #2f2c2c;
  cursor: pointer;
} */

nav {
  position: absolute;
  padding: 0 50px 0 30px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}
.header-link {
  font-size: 1.3em;
  display: flex;
  gap: 30px;
}

.header-link a:hover {
  color: whitesmoke;
}
/* Logo here */
/* nav:before{
    content:"";
    position:absolute;
    left:10px;
    font-size:10px;
    border:1px solid;
    border-radius:5px;
    padding:9px 5px
  } */
/* .menu {
  position: relative;
  padding-bottom: 25.25125%;
  height: 0;
} */

.nav-logo {
  width: 130px;
  padding: 5px;
}

.gen,
.sel,
.men {
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: center;
  right: 10px;
  bottom: 30px;
  color: #333;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.2s;
  z-index: 5;
}
.men {
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  top: 15px;
  height: 1.4em;
  width: 1.5em;
  overflow: hidden;
  display: none;
  bottom: auto !important;
  border-radius: 0;
  font-size: 1.8em;
  font-weight: 700;
}
.men:hover {
  color: whitesmoke;
}
.men:hover + nav,
nav:hover {
  top: 0;
}
.sel {
  right: 70px;
}
.gen:hover,
.sel:hover {
  background: #0a2f54;
  color: #ddd;
}

@keyframes fader {
  0%,
  30%,
  100% {
    background-image: url(images/image9.webp);
  }
  33%,
  60% {
    background-image: url(images/image10.webp);
  }
  63%,
  97% {
    background-image: url(images/image11.jpg);
  }
}

.hero {
  color: whitesmoke;
  font-size: 1.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

/* post filter*/
.container {
  padding: 0.1em 1em;
  text-align: justify;
  line-height: 1.5em;
  letter-spacing: 0.02em;
  margin: 1em;
}
.post-container {
  background-color: #333;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.post-container h1 {
  font-size: 3em;
  color: whitesmoke;
}
.post-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.5rem;
  margin-top: 2rem !important;
}
.filter-item {
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}
.active-filter {
  background-color: #87c8f0;
  color: #000;
  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;
  margin-left: 8%;
  margin-right: 8%;
}
.post-box {
  background-color: whitesmoke;
  box-shadow: 0 4px 14px hsla(0, 4%, 65%, 0.829);
  padding: 15px;
  border-radius: 1rem;
  transform: scale(1); /* Normal size */
  transition: transform 0.4s ease-in-out;
}
.post-box:hover {
  box-shadow: 0 4px 14px hsla(0, 12%, 94%, 0.941);
  transform: scale(1.03);
}
.post-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
}
.category {
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #333;
}
.post-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0a2f54;
  display: -webkit-box;
  -webkit-line-clamp: 1.5;
  -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;
  display: -webkit-box;
  -webkit-line-clamp: 1.5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slogan-container{
  position: relative;
  min-height: 450px;
}

.slogan-sec {
  /* position: relative; */
  background-color:#fff;
  color: rgb(60, 57, 57);
  display: flex;
  width: 60%;
  margin: auto;
  padding: 30px 0;
  justify-content: center;
  align-items: left;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
}

.slogan-logo {
  display: flex;
  align-items: flex-end;
  justify-content: left;
  gap: 100px;
}

.slogan-logo img {
  width: 20vw;
}
.slogan-logo h1 {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
}

ul {
  margin-top: 70px;
}

ul a {
  display: block;
  font-size: 0.85rem;
  margin-top: 10px;
  color: #dddddd;
}

.logo {
  background-image: url("GrowPath_logo0.png");
  background-size: cover;
  height: 100px;
  width: 100px;
}

.border:hover {
  border: 1.5px solid white;
}

.search-select {
  background-color: #37475a;
  color: white;
  width: 80px;
  margin-left: 25px;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.border:hover {
  border: 1.5px solid white;
}

.search {
  background-color: #37475a;
  color: white;
  width: 60px;
  margin-left: 30px;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.border:hover {
  border: 1.5px solid white;
}
footer {
  background-color: rgba(37, 36, 36, 0.845);
}

.foot-panel2 {
  color: white;
  display: flex;
  gap: 25px;
  padding: 50px 0;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  font-size: x-large;
}

.foot-panel3 {
  background-color: #222f3d;
  color: white;
  border-top: 0.5px solid white;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-panel4 {
  font-size: 1.5vw;
  color: whitesmoke;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
}

.pages ul li {
  color: whitesmoke;
}
.copyright {
  color: white;
  text-align: center;
}
.pages ul {
  margin: 0;
  display: flex;
  gap: 30px;
}

.social {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 30px 0;
}

.social-icon-sec {
  display: flex;
  gap: 30px;
}
.social-icon-sec img {
  filter: invert(1);
  width: 40px;
}

.social-icon {
  display: flex;
  gap: 30px;
}

.footer-hr {
  background-color: whitesmoke;
  width: 100%;
  height: 5px;
}

.opening-section {
  margin: auto;
  width: 60%;
  padding: 100px 0;
  display: flex;
  align-items: center;
  gap: 50px;
}

.opening-section img {
  width: 100%;
}

.opening-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: left;
  font-size: 20px;
}

.opening-content a {
  padding: 10px 20px;
  border: 2px solid rgb(42, 40, 40);
  color: rgba(36, 34, 34, 0.888);
  font-size: 20px;
  width: fit-content;
  border-radius: 5px;
}

/* Career Section css */

.hero-h {
  text-align: center;
  font-size: 2vw;
  width: 70%;
  margin: 0 auto;
}

.hero-p {
  color: #fff;
  width: 60%;
  font-size: 1.2vw;
}

.opening-container {
  color: rgb(35, 34, 34);
  background-color: #fff;
}

.opening-container h1 {
  color: #282727e1;
}

.opening-container img {
  width: 80%;
  height: 200px;
  margin: auto;
}

.opening-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.apply-btn {
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid rgba(47, 45, 45, 0.842);
  border-radius: 5px;
  color: rgba(45, 44, 44, 0.845);
  font-size: 20px;
  z-index: 3;
}

.uiux {
  margin: 0px auto;
}


.inovation-and-design{
  padding: 50px 0;
  width:90vw;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
}

.inno-heading{
  text-align: center;
  font-size: 19px;
}

.inno-content-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, auto));
  justify-content: center;
  gap: 1.5rem;
  margin-left: 8%;
  margin-right: 8%;
}

.inno-content{
  border-radius: 10px;
  margin: 20px;
  padding: 20px;
  gap: 15px;
  min-width: 325px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 14px hsla(0, 4%, 65%, 0.829);
}

.inno-content img{
  border-radius: 10px;
  width: 100%;
  height: 50%;
  overflow: hidden;
}

.inno-para{
  max-height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
}

.why-growpath-container{
  background-color: #2a2929;
}

.why-growpath{
  color: whitesmoke;
  margin: auto;
  padding: 40px 0;
  width: 80%;
  display: flex;
  
  gap: 20px;
  align-items: center;
  justify-content: space-around;
}

.why-image  img{
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 4px 14px hsla(0, 4%, 65%, 0.829);
}
.why-image{
 max-width: 35%;
}

.why-svg{
  width: 25px;
}

.why-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.why-sub-div{
  line-height: 1.5em;
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Media Query */

@media screen and (max-width: 1040px){
    .img-rev{
      flex-direction: column-reverse;
    }
}


@media screen and (max-width: 919px) {

.inno-content{
  margin: 0;
}

.why-image{
 display: none;
}

  .men {
    display: block;
  }

  .hidden {
    display: none;
  }

  .nav-logo {
    width: 100px;
  }

  .s-hidden {
    display: none;
  }

  

  .header-link {
    background-color: #252424;
    width: 50vw;
    padding: 20px 0 20px 20px;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 0;
    display: none;
  }

  .opening-section img {
    display: none;
  }

  .hero {
    font-size: 2vw;
  }

  .hero-btn {
    font-size: 2vw;
  }

  .foot-panel2 h1{
    font-size:6vw
  }

  .slogan-sec {
    width: 80vw;
  }

  .slogan-logo img {
    width: 45vw;
  }
  .slogan-logo {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .opening-section {
    width: 100%;
  }

  .foot-panel2 {
    font-size: 5vw;
  }
  .social-icon-sec {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .social-icon {
    gap: 50px;
  }

  .pages ul {
    margin: 0 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-panel4 {
    font-size: 2.5vw;
    gap: 20px;
    padding-bottom: 10px;
  }

  .hero-h{
    width: 60%;
    font-size: 3vw;
  }

  .hero-p{
    width: 60%;
    font-size: 2vw;
  }
  
  .opening-container h1{
    font-size: 4vw;
  }

}

@media screen and (max-width: 400px) {

  .inno-para{
    height: 42vh;
  }

  .inno-content{
    margin: 0px 15px;
  }

  .footer-panel4 {
    font-size: 5vw;
  }

  .hero-h{
    width: 70%;
    font-size: 4vw;
  }

  .hero-p{
    width: 70%;
    font-size: 3vw;
  }
  
  .opening-container h1{
    font-size: 6vw;
  }



}
