@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;600;700&display=swap');

:root {
  --primary-black: black;
  --primary-white: white;
  --primary-orange: #E85B10;

  --font-color-dark: black;
  --font-color-light: white;
  --font-third-color: rgb(224, 95, 20);

  /*font sizes*/
  --font-family: 'Poppins', sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 4rem;

  /*gaps*/
  --gap: 2rem;
  --margin-small: 0.5rem;
  --margin-medium: 1rem;
  --margin-large: 2rem;
  --padding-small: 0.5rem;
  --padding-medium: 1rem;
  --padding-large: 2rem;

}

body {
  background-color: var(--primary-black);
}



* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: inline-block;
}

ul {
  list-style: none;
}


/*----------------------Navbar section-----------------------*/

.header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  /* above the background image */
  background: transparent;
  padding: var(--padding-small) var(--padding-medium);
}

.navbar {
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
}


.menu-container {
  position: absolute;
  align-items: center;
  border-radius: 10px;
  top: 4.5rem;
  right: 0rem;
  width: 100%;
  padding: var(--padding-large);
  opacity: 0;
  color: rgb(255, 255, 255);
  background-color: black;
  transform: scale(0);
  transition: opacity.25s ease-in;

}

.list {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;


}

.list-item {
  padding: 0 1rem;
  padding: .5rem 0;
}

/* Active nav-link */
.list-link.current {
  color: var(--primary-orange);
  /* if you want a little underline instead of just color: */
  /* border-bottom: 2px solid var(--primary-orange); */
}

/* Optional: on hover of non-active links, keep your default hover style */
.list-link:not(.current):hover {
  color: var(--primary-orange);
}


.logout-btn-container {
  display: flex;
  align-items: center;
  padding: 0 1rem;
}


.logo {
  padding: .5rem;
  position: relative;
}

.logo img {
  width: 60px;
  display: block;
  position: relative;


}

.navbar-container {

  width: 100%;
  border-radius: 20px;
  background-color: rgba(53, 53, 53, 0.5);
  color: white;
  position: relative;
  padding: 0 1rem;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: top 2.5s ease 0.5s;
}


.logout-btn-container button {
  position: relative;
  display: inline;

  border-radius: 10px;
  font-size: var(--font-size-sm);
  background-color: var(--primary-orange);
  color: var(--font-color-light);
  font-weight: bold;
  padding: var(--padding-medium);
  border-radius: 10px;
  border: none;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease;
}

.get-started-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  transition: left 0.5s ease;
  z-index: 0;             /* sit behind the text */
  border-radius: 10px;
}

/* on hover slide into place */
.get-started-btn:hover::before {
  left: 0;
}

/* make sure your link/text sits on top */
.get-started-btn > a {
  position: relative;
  z-index: 1;             /* sit above the ::before */
  color: inherit;         /* so it picks up your hover-color change */
  text-decoration: none;
  display: inline-block;  /* to avoid weird inline stacking issues */
}

/* switch text to black when the overlay is in front */
.get-started-btn:hover > a {
  color: black;
}

.open-menu-icon {
  color: #ffffff;
  background-color: transparent;
  font-size: 1.2rem;
}



/*----------------------Hero section-----------------------*/
.hero {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-image: linear-gradient(#a5a5a565, rgba(0, 0, 0, 0.5)), url(../images/plan.png);
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  transform: scale(1.8);
  transition: transform 1.5s ease-in-out, filter 2.5s ease;
  position: relative;
  overflow: hidden;

}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;

  color: rgb(0, 0, 0);
  text-align: center;
  opacity: 1;
  transform: translateY(50px);
  transition: opacity 2.5s ease, transform 2.5s ease;


}

.main-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.main-heading h1 {
  color: var(--primary-white);
  padding: 1rem 1rem;

}



.main-heading p {

  color: rgb(221, 221, 221);
  padding: 0 1rem;
  padding-bottom: 1rem;
  font-size: 13px;
  font-style: italic;

}

/* Final positioning */
.hero.animate {

  filter: blur(0);
  transform-origin: center center;
  transform: scale(1);
}

.hero-content.animate {
  opacity: 1;
  transform: translateY(-20px);

}




/* Header JavaScript Styles */
.header.activated {
  box-shadow: 0 1px.5rem red;

}

.menu-container.activated {

  opacity: 1;
  transform: scale(1);
}

.open-menu-icon {
  display: block;
}

.close-menu-icon {
  display: none;
  color: #ffffff;
  font-size: 1.2rem;
}

/* Remove any white background from the mobile toggle */
.menu-toggle-icon {
  background: none !important;
  border: none;
  padding: 0;
  /* if you want it to shrink-wrap the icon exactly */
}

/* Ensure the <i> itself has no background */
.menu-toggle-icon i {
  background: none !important;
}

/* If you still see a white rectangle when it’s focused or active: */
.menu-toggle-icon:focus,
.menu-toggle-icon:active {
  outline: none;
  background: none !important;
}


.menu-toggle-icon.activated .open-menu-icon {
  display: none;

}

.menu-toggle-icon.activated .close-menu-icon {
  display: block;

}


/*---------------------------------------Core Services--------------------------------------------*/




.wwd-services{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding:4rem 2rem;
}
.wwd-services h2 { color:var(--font-color-light); margin-bottom:2rem; font-size: 2.5rem;}
.wwd-cards { display:grid; grid-template-columns:repeat(1,1fr); gap:2rem; padding: 2rem;}
.card { background:#272727; padding:2rem; border-radius:20px; box-shadow:0 4px 12px rgba(0,0,0,0.05); transition:transform .2s, box-shadow .2s; }
.card:hover { transform:translateY(-5px); box-shadow:0 6px 18px rgba(0,0,0,0.1); }
.card i { font-size:2.5rem; color:var(--primary-orange); margin-bottom:1rem; }
.card h3 { font-size:1.25rem; margin-bottom:.75rem; color: #fff; }
.card p { font-size:.95rem; color:#999999; }



/*----------------------Activities-----------------------*/
.wwd-activities { padding:4rem 4rem; text-align:center; }
.wwd-activities h2 { margin-bottom:2rem; color: #fff; font-size: 2.5rem; }
.activity-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1rem; }
.activity-grid figure { position:relative; overflow:hidden; border-radius:8px; }
.activity-grid img { width:100%; height:300px; object-fit:cover; transition:transform .3s; }
.activity-grid figure:hover img { transform:scale(1.1); }
.activity-grid figcaption { position:absolute; font-size: 1.3rem; bottom:0; left:0; right:0; background:rgba(0,0,0,0.6); color:#fff; padding:.5rem; font-weight:500; }





/*-------------------------------------last cta section--------------------------------------------*/

.last-cta {
  position: relative;
  height: 80vh;
  background-color: var(--bg-color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.last-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;

}

.last-cta-componant {

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.text-block {
  width: 100%;
  padding: var(--padding-large);
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-block h1 {
  line-height: 1.1;
  color: var(--font-color-light);
  font-size: 3rem;
  text-transform: capitalize;


}

.button-wrapper {
  padding: 8px 10px;
  border-radius: 15px;
  background-color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-icon {

  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-text {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-icon img {

  object-fit: cover;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: inline-block;

}

.button-text p {
  color: var(--font-color-light);
  font-weight: 300;
  font-size: var(--font-size-lg);
}

/* Initial button styling */
.get-started-button {
  display: inline-block;
  background-color: rgb(77, 77, 77);
  margin-top: 30px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.button-icon {
  background-color: white;

  padding: 5px;
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  /* Initial width */
  z-index: 999;
}

.white-bg {
  background-color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 7px;
  border-radius: 15px;
  width: 20%;
  height: 70%;

}

.button-text p {
  color: white;
  font-weight: 600;
  font-size: var(--font-size-lg);
  margin-left: 15px;
  transition: color 0.3s ease;
  z-index: 999;
}

.get-started-button:hover .white-bg {
  width: 92%;
  transition: width 0.3s ease-in-out;
}

.get-started-button:hover .button-text p {
  color: black;

}

.get-started-button:hover {
  color: black;
}


.cta-img-wrap {
  filter: blur(4.35px);
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.212);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}


.cta-img-wrap img {

  width: 200px;
  height: 200px;
  position: absolute;
}


.cta-image-first {

  width: 200px;
  height: 200px;
  left: 10%;
  position: relative;
  animation: floatUp 70s linear infinite;
}

.cta-image-second {
  display: none;
  width: 100px;
  height: 100px;
  position: relative;
  left: 25%;
  animation: floatDown 70s linear infinite;
}

.cta-image-third {
  display: none;
  width: 100px;
  height: 100px;
  position: relative;
  right: 20%;
  animation: floatUp 70s linear infinite;
}

.cta-image-fourth {
  width: 200px;
  height: 200px;
  position: relative;
  right: 10%;
  animation: floatDown 70s linear infinite;
}

/* Keyframe animations */
@keyframes floatUp {
  0% {
    transform: translateY(300%);
  }

  50% {
    transform: translateY(-300%);
  }

  100% {
    transform: translateY(100%);
  }
}

@keyframes floatDown {
  0% {
    transform: translateY(-300%);
  }

  50% {
    transform: translateY(300%);
  }

  100% {
    transform: translateY(-100%);
  }
}


/*-------------------------------------Footer-----------------------------------------*/
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 2rem;
}

.footer-logo {

  width: 100px;
}

.footer-top {
  color: #fff;
}

.footer-desc {
  text-align: center;
  padding: 2rem 0;
}

.footer-col {
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.footer-col h4 {
  font-size: 2rem;

}

.footer-list {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 2rem;
}

.footer-copy {
  text-align: center;
  padding: 2rem 1rem;
}

.footer-social a {
  padding: .5rem;
  font-size: 1.5rem;
}
.floating-message-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  background-color: var(--primary-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  z-index: 1000;
  transition: background-color 0.3s, transform 0.2s;
}
.floating-message-btn:hover {
  background-color: #E85B10;
  transform: translateY(-2px);
}
.floating-message-btn i {
  pointer-events: none;
  font-size: 2.5rem;
  color: #000000;
}





@media (min-width: 767px) {

  .main-heading h1 {
    color: var(--primary-white);
    padding: 1rem 1rem;
    font-size: 3rem;

  }



  .main-heading p {

    color: rgb(221, 221, 221);
    padding: 0 1rem;
    padding-bottom: 1rem;
    font-size: 20px;
    font-style: italic;

  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 100px));
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
  }

  .content-container {
    display: flex;
align-items: flex-start;
    padding: 2rem 0;
  }

  .row-reverse {
    display: flex;
    flex-direction: row-reverse;
  }

  .content-container img {
    width: 50%;
    border-radius: 20px;
    min-height: 500px;
    background-position: center;
    background-size: cover;

  }

 .service-container h1 {
    font-size: 2rem;
    color: #E85B10;
  }

  .content-container p {
    padding:0 2rem;
    font-size: 1.2rem;
  }

  .text-block {
    width: 90%;
  }
}





@media screen and (min-width:1000px) {


.wwd-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:2rem; padding: 2rem;}
  .img-container {
    background-color: var(--primary-white);
    border-radius: 20px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin: 20px;
  }

  .container p {
    padding: 0 2rem;
    text-align: center;
  }


  .list {
    display: flex;
    flex-direction: row;

  }

  .list-item {
    padding: 1rem;
  }

  .screen-lg-hidden {
    display: none;
    transform: scale(0);

  }

  .menu-container {
    position: initial;
    width: initial;
    padding: initial;
    opacity: initial;
    transform: initial;
    background-color: transparent;
    display: flex;
  }

  .hero-content {
    display: flex;
    position: absolute;
    padding: 0 3rem;
    width: 70%;
    align-items: center;
    justify-content: center;


  }

  .main-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

  }

  .main-heading h1 {
    text-align: center;
    font-size: 2.5rem;
  }

  .main-heading p {
    text-align: center;
  }

    .footer-desc {
    text-align: center;
    padding: 2rem 10rem;
    font-size: 1.5rem;
  }



}



@media screen and (min-width:2000px) {}