/*
Theme Name: Netradham Foundation
Theme URI: http://example.com
Author: Your name
Author URI: http://pinegrow.com/
Description: This theme was created with Pinegrow Web Editor
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: netrafoundation
*/
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

:root {
  --text: hsl(0deg 0% 10%);
  --white: hsl(0deg 0% 100%);
  --white-2: hsl(0deg 0% 92%);
  --text-secondary: hsl(0deg 0% 25%);
  --brand-blue: hsl(203deg 87% 41%);
  --brand-green: hsl(114deg 51% 43%);
  --brand-yellow: hsl(27deg 88% 54%);
}

body {
  padding: 0;
  margin: 0;
  font-family: Roboto, sans-serif;
  color: var(--text);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

p:not(:last-child) {
  margin: 0 0 1rem;
}

ol,
ul {
  padding-inline: 0;
  list-style: none;
}

img {
  display: block;
  max-inline-size: 100%;
}

.container {
  max-width: 1200px;
  padding-inline: 1.5rem;
  margin-inline: auto;
}

.container-full {
  width: 100%;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  backdrop-filter: blur(10px);

  /* padding-block: 0.5rem;
 * Version: 1.0.2

 * Theme Name: Netradham Foundation
*/
  box-shadow: 0 2px 5px hsl(0deg 0% 21% / 10%),
    0 3px 6px hsl(0deg 0% 21% / 5%);
}

header .container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.logo {
  max-width: 200px;
  height: auto;
  padding-block-start: 0.5rem;
}

.nav {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 1rem;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-item.active>.nav-link {
  font-weight: bold;
  color: var(--white);
  background-color: var(--brand-blue);
  box-shadow:
    0 3px 6px hsl(0deg 0% 21% / 5%);
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  text-underline-offset: 2px;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}


.nav-item:not(.active):hover>.nav-link {
  background: hsl(0deg 0% 21% / 5%);
  transition: background-color 0.2s;
}

.nav-item:hover>.nav-link {
  text-decoration: underline;
}

.nav-item.active > .nav-link {
  color: var(--white);
  text-decoration: none;
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children>.nav-link {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.menu-item-has-children>.nav-link:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text);
  transition: transform 0.15s cubic-bezier(.17, .67, .83, .67);
}

.menu-item-has-children.active>.nav-link:after {
  border-top: 5px solid var(--white);
}

.menu-item-has-children:hover>.nav-link:after {
  transform: rotate(180deg);
  text-decoration: none;
}

.menu-item-has-children .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 2px 5px hsl(0deg 0% 21% / 10%), 0 3px 6px hsl(0deg 0% 21% / 5%);
  border-radius: 0 0 0.75rem 0.75rem;
  visibility: hidden;
  opacity: 0;
  left: 50%;
  min-width: 100%;
  padding: 0.5rem;
  transform: translate(-50%, -5%) scale(0.95);
  transition: all 0.1s cubic-bezier(.17, .67, .83, .67)
}

.menu-item-has-children:hover>.sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  transition: all 0.1s cubic-bezier(.17, .67, .83, .67)
}

.sub-menu>.nav-item>.nav-link {
  width: 100%;
}

.owl-carousel img {
  height: 60vh;
  object-fit: cover;
}

@media (min-width: 992px) {
  /* Apply for desktops and up */
  .owl-carousel img {
    height: 85vh;
  }
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 2.25rem;
  background-color: hsl(0deg 0% 100% / 50%);
  border-radius: 50%;
  box-shadow: 0 2px 5px hsl(0deg 0% 21% / 20%),
    0 3px 6px hsl(0deg 0% 21% / 10%);
  transition: transform 0.1s;
}

.owl-carousel .owl-nav button:hover {
  transition: transform 0.2s;
  transform: scale(1.1);
}

.owl-carousel .owl-nav button span {
  width: 0;
  height: 0;
  font-size: 0;
  visibility: hidden;
}

.owl-carousel .owl-nav button::before {
  padding-bottom: 3px;
  font-size: 1.4rem;
  content: '\279C';
}

.owl-prev {
  left: 1rem;
}

.owl-prev::before {
  transform: rotate(180deg);
  transform-origin: center center;
}

.owl-next {
  right: 1rem;
}

.h1 {
  position: relative;
  margin: 0 0 2.5rem;
  font-family: Urbanist, sans-serif;
  font-size: 3rem;
  letter-spacing: 2px;
  isolation: isolate;
}

.h1::before,
.h1::after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  content: "";
  background-color: var(--brand-blue);
  border-radius: 8px;
  opacity: 0.1;
}

.h1::before {
  width: 24px;
  height: 24px;

}

.h1::after {
  width: 36px;
  height: 36px;
}

.about,
.camp {
  padding-block: 4.5rem;
}

.h1 .bottom-style {
  position: absolute;
  top: 105%;
  left: 0;
  width: 100px;
  height: 4px;
  background-color: var(--brand-blue);
}

.camp .h1 .bottom-style {
  left: 50%;
  transform: translateX(-50%);
}

.about {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  justify-content: space-between;
}

.body-text {
  max-width: 40em;
  line-height: 1.5;
  color: var(--text-secondary);
}

.camp {
  background: #F9F9F9;
}

.camp .container {
  display: flex;
  flex-direction: column;
}

.camp .body-text {
  max-width: 85ch;
  margin: 0 auto;
  text-align: center;
}

.camps .container {
  text-align: center;
}

.about .h1,
.camp .h1 {
  display: inline-block;
  margin-inline: auto;
  text-align: center;
}

.grid.camps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
  text-align: center;
}

.camps .card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow: clip;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px hsl(0deg 0% 21% / 10%),
    0 3px 6px hsl(0deg 0% 21% / 5%);

}
.camps .card-img {
  position: relative;
  width: 100%;
  padding-bottom: 62.5%;
  overflow: hidden;
  z-index: 0;
}
.camps .card img {
  position: absolute;
  inset: 0;
object-fit: cover;
width: 100%;
height: 100%;
transition: transform 0.1s;
}

.camps .card-body {
  z-index: 1;
  padding: 1.5rem 1rem;
  margin-top: -0.25rem;
  text-align: left;
  background-color: var(--white);
  border-radius: 0.5rem;
}

.camps .card-title {
  --text-height: 1.75rem;

  height: calc(2 * var(--text-height));
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: var(--text-height);
}

.camps .card:hover img {
  transition: transform 0.3s cubic-bezier(.17, .67, .83, .67);
  transform: scale(1.025);
}

.camp p.body-text+p {
  margin-top: 1.5rem;
  font-weight: bold;
  color: var(--black);
}

.card-link *:not(a) {
  text-decoration: none;
}

.card-link,
.link {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  padding: 2px 8px;
  margin-left: -8px;
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--brand-blue);
  text-decoration: none;
  border-radius: 0.5rem;
}

.link {
  margin-top: 1rem;
  font-size: 1rem;
}

.card-link:hover,
.link:hover {
  background-color: hsl(203deg 87% 41% / 10%);
}

.card-link::after,
.link::after {
  margin-left: 4px;
  font-size: 1.25em;
  content: '\27F6';
}


.footer {
  color: var(--white-2);
  background-color: hsl(203deg 87% 31%);
  box-shadow: 0 -2px 4px hsl(0deg 0% 21% / 10%),
    0 -3px 6px hsl(0deg 0% 21% / 5%);
  ;
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-block: 5rem;
}

.footer-about p {
  max-width: 60ch;
  line-height: 1.5;
}

.footer-headers {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-bottom {
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--white-2);
  background-color: hsl(203deg 83% 20%);
}

.design a {
  color: var(--brand-yellow);
  text-decoration: none;
}



.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-list>div {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-list-text,
.contact-list-text a {
  color: var(--white-2);
  text-decoration: none;
}

.contact-list-text a+a {
  padding-inline-start: 0.75rem;
  margin-inline-start: 0.75rem;
  border-inline-start: 1px solid var(--white-2);
}

.contact-list-text a:hover {
  text-decoration: underline;
}

.design a:hover {
  text-decoration: underline;
}

.footer .footer-right {
  display: flex;
  flex-direction: column;
  gap: 2rem 2rem;
  padding-block: 2rem 2rem;
  padding-inline: 0;
  border-block-start: 1px solid hsl(0deg 0% 100% / 20%);
  border-inline: none;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 180px;
  margin: 0;
}


.footer-links a {
  line-height: 1.75;
  color: var(--white);
  text-decoration: none;
}

.footer-links ul li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer-links ul li::before {
  display: inline-block;
  margin-bottom: 2px;
  font-size: 0.625rem;
  content: "\276F";
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* .hamburger-icon */
.icon-1,
.icon-2,
.icon-3 {
  position: absolute;
  top: 50%;
  left: 25%;
  width: 32px;
  height: 3px;
  background-color: black;
  transition: all 400ms cubic-bezier(.84, .06, .52, 1.8);
}

.icon-1 {
  transform: translateY(-8px);
  animation-delay: 100ms;
}

.icon-3 {
  transform: translateY(8px);
  animation-delay: 250ms;
}

.hamburger-icon {
  position: absolute;
  top: 10%;
  right: 3%;
  z-index: 1000;
  width: 60px;
  height: 60px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s cubic-bezier(.17, .67, .83, .67);
}

.icon-1.a {
  transform: rotate(40deg);
}

.icon-3.b {
  transform: rotate(-40deg);
}

.icon-2.c {
  opacity: 0;
}

/* not found */
.not-found {
  display: grid;
  padding-block: 2rem;
  padding-inline: 1.5rem;
}

.not-found {
  display: grid;
  justify-items: center;
  /* grid-template-columns: 1fr 1fr; */
  gap: 1rem;
}

.not-found-image {
  max-width: 240px;
  justify-self: center;
  align-self: center;
}

.not-found .display {
  opacity: 0.6;
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  -webkit-text-stroke: 2px black;
  */
}

.not-found p {
  margin-bottom: 0.5rem;
  color: var(--black-2)
}

.not-found .link {
  margin: 1rem 0 0 0;
  text-align: center;
}

.not-found-text {
  text-align: center;
}

@media (max-width: 767px) {
  .nav-list {
    flex-direction: column;
    gap: 1rem;
    padding-block: 1rem;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    visibility: hidden;
    background: #fff;
    box-shadow: 0 2px 5px hsl(0deg 0% 21% / 10%),
      0 3px 6px hsl(0deg 0% 21% / 5%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(.17, .67, .83, .67);
  }

  .nav.show {
    visibility: visible;
    opacity: 1;
    transition: all 0.3s cubic-bezier(.17, .67, .83, .67);
  }
}

@media (min-width: 640px) {
  .hamburger-icon {
    display: none;
  }

  .footer .footer-right {
    flex-direction: row;
  }
}

@media (min-width: 768px) {

  .about,
  .camp {
    padding-block: 4.5rem;
  }

  .footer-wrapper {
    flex-direction: row;
    gap: 4rem;
  }

  .footer-about {
    flex-grow: 1;
    width: 50%;
  }

  .footer-wrapper .footer-right {
    padding-block: 0;
    padding-inline: 4rem 2rem;
    border-block-start: none;
    border-inline-start: 1px solid hsl(0deg 0% 100% / 20%);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer-wrapper .footer-right {
    flex-direction: column;
  }
}

/* Camp */
.hero {
  position: relative;
  display: flex;
  height: 60vh;
  ;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgb(0 0 0 / 0%) -30%, rgb(0 0 0 / 90%) 100%);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero h1.h1 {
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding-inline: 1.5rem;
  margin-inline: auto;
  margin-top: auto;
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: 2px;
}

.hero h1.h1 .bottom-style {
  left: 1.5rem;
}

.camp-detail {
  padding-block: 4rem;
}

.camp-detail :is(h2, h3, h4, h5, h6) {
  font-family: Urbanist, sans-serif;
}

.camp-detail h2 {
  font-size: 1.75rem;
  margin-block: 2rem 0.5rem;
}

.camp-detail ol,
.camp-detail ul {
  padding-inline: initial;
  list-style: initial;
  line-height: 1.5;
}

.camp-detail p {
  line-height: 1.5;
  color: var(--text);
}

.camp-gallery {
  padding-block-end: 4rem;
}

@media (min-width: 992px) {
  .about {
    flex-direction: row;
    gap: 8rem;
  }

  /* camp */


  .hero h1 {
    font-size: 3rem;
  }
}
