/*
Theme Name: Shabaily
Author: Matthew Shabaily
Version: 6.0
*/

/* ============ Root ============ */

:root {
  --gradient: var(--Linear, linear-gradient(270deg, #82aa3f 0%, #2f86b1 100%));
}

/* ============ Globals ============ */

html {
  overflow-x: hidden;
}

html.no-scroll {
  overflow-y: hidden;
}

body {
  position: relative;
  overflow: hidden;
  font-family: "Mulish";
}

/* ============ Containers ============ */

.flex-row {
  display: flex;
}

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

.grid {
  display: grid;
}

/* ============ Wrapper ============ */

.wrapper {
  width: 85%;
}

*:has(> .wrapper) {
  align-items: center;
}

/* ============ Images ============ */

.main-image {
  object-fit: cover;
}

/* ============ Scrollbar ============ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ============ Effects ============ */

.light-effect {
  cursor: pointer;
  transition: filter 02s;
}

.pan-effect {
  cursor: pointer;
  transition: transform 0.2s;
}

.dim-effect {
  cursor: pointer;
  transition: opacity 0.2s;
}

.dim-effect:hover {
  opacity: 0.6;
}

.pan-effect:hover {
  transform: translate(1px);
}

.light-effect:hover {
  filter: brightness(1.2);
}

.body-dim {
  background: black;
  opacity: 0.4;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 6;
}

/* ============ Text ============ */

h1 {
  color: #023763;
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
}

h2 {
  color: #023763;
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
}

p {
  color: #023763;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
}

.text strong {
  font-weight: 700;
}

.text ul {
  color: #023763;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

.text {
  gap: 25px;
}

/* ============ Indent ============ */

.indent {
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
  margin-left: 15px;
}

.indent::before {
  position: absolute;
  left: -15px;
  top: 0;
  background: #05c594;
  content: "";
  width: 3px;
  height: 100%;
}

/* ============ Underline Titles ============ */

.underline {
  position: relative;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  line-height: 72px;
  text-align: center;
}

.underline::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 3px;
  background: #05c594;
}

/* ============ Banner ============ */

.banner {
  align-items: center;
  padding-bottom: 50px;
  padding-top: 75px;
}

.banner .wrapper {
  width: 75%;
  gap: 150px;
  align-items: center;
}

.banner .main-image {
  width: 689px;
  height: 438px;
  border-radius: 15px;
}

.banner .text {
  width: 35%;
  gap: 50px;
}

/* ============ Text Sections ============ */

.text-section .wrapper {
  align-items: center;
  justify-content: space-between;
  width: 80%;
}

.text-section .wrapper.right {
  flex-direction: row-reverse;
}

.text-section .wrapper .text {
  width: 45%;
  gap: 50px;
}

*:not(.text-sections) .text-section {
  padding-block: 50px;
}

.text-sections .text-section:last-child {
  padding-bottom: 100px;
}

.text-section .main-image {
  width: 45%;
  height: auto;
  max-height: 500px;
  border-radius: 15px;
}

/* ============ Statistics ============ */

.home .statistics {
  padding-top: 50px;
  padding-bottom: 100px;
}

.statistics {
  padding-block: 50px;
}

.statistics .grid {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 5%;
}

.statistic {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  align-items: center;
  padding-inline: 25px;
  padding-top: 50px;
  padding-bottom: 25px;
  border-radius: 15px;
  gap: 20px;
}

.statistic:nth-child(1n) {
  background: #df5f8b;
}

.statistic:nth-child(2n) {
  background: #2f86b1;
}

.statistic:nth-child(3n) {
  background: #6e4894;
}

.statistic:nth-child(4n) {
  background: #82aa3f;
}

.statistic .figure {
  color: white;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
}

.statistic .description {
  color: white;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
}

/* ============ CTAs ============ */

.cta {
  background: #6e4894;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  border-radius: 15px;
  font-size: 20px !important;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 30px;
  padding-block: 5px;
  padding-inline: 25px;
  align-self: start;
  transition: opacity 0.3s;
  color: white !important;
}

.cta:hover {
  opacity: 0.6;
}

/* ============ 404 ============ */

.error-404 {
  align-items: center;
  height: 500px;
}

.error-404 .text {
  width: 85%;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 50px;
  height: 100%;
}

.error-404 .text h1 {
  color: var(--primary);
  font-size: 100px;
}

.error-404 .cta {
  align-self: center;
}

/* ============ Header ============ */

header {
  align-items: center;
  padding-block: 15px;
}

header .wrapper {
  align-items: center;
  justify-content: space-between;
}

header .end {
  gap: 50px;
}

header .socials {
  gap: 15px;
}

header .back {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
}

header .back p {
  position: absolute;
  left: 15%;
  top: 25%;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  color: white;
}

header .burger {
  display: none;
}

.logo {
  color: #023763;
}

.logo img {
  width: 85px;
  height: 85px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .end {
  align-items: center;
}

.header-nav {
  align-items: center;
  background: var(--gradient);
  padding-block: 25px;
}

.header-nav * {
  color: white;
}

.header-nav .main-nav > ul {
  justify-content: space-between;
}

.header-nav .main-nav .sub-menu {
  display: none;
}

.header-nav li:has(.sub-menu) {
  position: relative;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.header-nav .sub-menu {
  position: absolute;
  background: white;
  padding-left: 35px;
  padding-right: 60px;
  padding-block: 25px;
  left: 0px;
  top: 48px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.header-nav .sub-menu * {
  color: #023763;
}

.header-nav .sub-menu li {
  margin-block: 25px;
}

.header-nav .sub-menu a {
  white-space: nowrap;
  color: #023763;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

header .donate {
  border-radius: 20px;
  background: #df5f8b;
  padding-block: 15px;
  padding-inline: 35px;
  color: white;
  text-transform: uppercase;
}

/* ============ Footer ============ */

.mailing-list {
  background: var(--gradient);
  padding-block: 25px;
}

.mailing-list .text * {
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: white;
}

footer {
  padding-block: 50px;
}

footer .wrapper {
  justify-content: space-between;
}

footer .main-nav a:has(+ .sub-menu) {
  position: relative;
  color: #023763;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

footer .main-nav a:has(+ .sub-menu)::after {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 120px;
  height: 3px;
  content: "";
  background: #05c594;
}

footer .main-nav a {
  color: #023763;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

footer .main-nav > ul {
  gap: 100px;
}

footer .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

footer .logo img {
  width: 81px;
  height: 81px;
  object-fit: cover;
}

footer .logo {
  align-items: center;
  gap: 20px;
  transform: translateY(-25px);
}

footer .contacts {
  gap: 15px;
}

footer .contacts a {
  color: #023763;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.footer-end .wrapper {
  justify-content: space-between;
  align-items: center;
}

.footer-end .legal {
  gap: 5px;
  align-items: center;
}

.footer-end {
  padding-bottom: 25px;
}

.footer-end * {
  color: #023763;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer-end .socials {
  gap: 30px;
  align-items: center;
}

/* ============ Introduction ============ */

.introduction {
  padding-block: 100px;
  padding-bottom: 75px;
}

.introduction .wrapper {
  align-items: center;
  justify-content: space-between;
}

.introduction .text {
  width: 40%;
  gap: 50px;
}

.introduction .main-image {
  width: 45%;
  max-height: 460px;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
}

/* ============ Home ============ */

.home .services {
  background: var(--gradient);
  padding-top: 50px;
  padding-bottom: 100px;
}

.home .services * {
  color: white;
}

.home .services .underline::after {
  background: white;
}

.home .services .grid {
  margin-top: 100px;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  row-gap: 100px;
}

.home .service .main-image {
  width: 306px;
  height: 306px;
  border-radius: 50%;
  object-fit: cover;
}

.home .service {
  align-items: center;
  text-align: center;
}

.home .service .text {
  width: 80%;
  align-items: center;
  text-align: center;
}

.home .service .title {
  color: #fff;
  text-align: center;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
  line-height: 72px; /* 288% */
}

.home .service .cta {
  align-self: center;
}

.home-banner h1 {
  color: #023763;
  font-size: 51px;
  font-style: normal;
  font-weight: 700;
  line-height: 72px; /* 141.176% */
}

.home-banner p {
  color: #023763;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
}

.home-banner {
  align-items: start;
}

.home-banner .wrapper {
  align-items: center;
  gap: 80px;
}

.home-banner .text {
  width: 35%;
}

.home-banner .main-image {
  width: 60%;
  height: 645px;
}

.home-banner .filter {
  display: none;
}

.home .latest-news {
  margin-top: 50px;
}

.home .latest-blog {
  margin-bottom: 50px;
}

/* ============ About ============ */

.about .team-members {
  background: var(--gradient);
  align-items: center;
  padding-top: 50px;
  padding-bottom: 100px;
}

.about .team-members * {
  color: white;
  width: 100%;
}

.about .team-member img {
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
}

.about .team-members .wrapper {
  gap: 100px;
  width: 80%;
}

.about .team-members .name {
  color: #fff;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
}

.about .team-members .grid {
  grid-template-columns: 1fr 1fr 1fr;
  place-items: center;
  gap: 10%;
  row-gap: 75px;
}

.about .team-member {
  gap: 15px;
  align-items: center;
  text-align: center;
  width: 100%;
}

.about .team-members .underline::after {
  background: white;
}

.about .text-section.end {
  padding-block: 100px;
}

.team-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 50%;
  background: white;
  transform: translate(-50%, -50%);
  align-items: center;
  padding: 50px;
  gap: 75px;
  z-index: 15;
  justify-content: space-between;
}

.team-popup .text {
  height: 150px;
  overflow-x: hidden;
  overflow-y: scroll;
  margin-right: 25px;
  width: 65%;
}

.team-popup .close {
  position: absolute;
  right: 25px;
  top: 20px;
}

.team-popup .main-image {
  width: 130px;
  height: 130px;
}

.team-popup .text::-webkit-scrollbar {
  width: 4px; /* thinner thumb */
}

.team-popup .text::-webkit-scrollbar-track {
  background: #00000047;
}

.team-popup .text::-webkit-scrollbar-thumb {
  background-color: #05c594; /* your color */
  border-radius: 10px;
}

.team-popup .main-image {
  width: 130px;
  height: 130px;
  margin-bottom: 15px;
}

.team-popup .name {
  color: #005395;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
}

.team-popup .role {
  color: #005395;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}

.team-popup .details {
  gap: 15px;
}

.team-popup * {
  color: #005395 !important;
}

/* ============ Impact ============ */

.impact .success-stories {
  background: var(--gradient);
  padding-block: 50px;
}

.impact .success-stories * {
  color: white;
}

.impact .success-stories .wrapper {
  width: 60%;
  gap: 50px;
  text-align: center;
}

.impact .success-story {
  display: flex !important;
  gap: 25px;
  margin-bottom: 50px;
}

.impact .gallery {
  padding-top: 25px;
  padding-bottom: 75px;
}

.impact .gallery .wrapper {
  gap: 75px;
}

.impact .gallery .grid {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  place-items: center;
}

.impact .introduction .wrapper {
  width: 75%;
}

/* ============ Partners ============ */

.partners .partners {
  align-items: center;
  padding-top: 25px;
  padding-bottom: 100px;
}

.partners .partners .wrapper {
  width: 70%;
  gap: 75px;
}

.partners .partners .container {
  display: flex;
  justify-content: center;
}

.partners .slick-dots {
  bottom: -50px;
}

.partners .slick-dots li.slick-active button:before {
  opacity: 1 !important;
  color: #005395 !important;
}

/* ============ Dots ============ */

.dots .slick-arrow {
  display: none !important;
}

.slick-dots li button:before {
  font-size: 12px !important;
}

.slick-dots li.slick-active button:before {
  opacity: 1 !important;
  color: white !important;
}

/* ============ Archive ============ */

.archive-items {
  margin-block: 100px;
}

.archive-items .text {
  width: 50%;
}

.archive-items .grid {
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  width: 80%;
}

.archive-items .grid .item:nth-child(2n - 1) {
  position: relative;
}

.archive-items .grid .item:nth-child(2n - 1)::after {
  position: absolute;
  content: "";
  background: var(--gradient);
  top: 50%;
  transform: translateY(-50%);
  right: -50px;
  width: 3px;
  height: 50%;
}

.archive-items .item .title {
  color: #023763;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
}

.archive-items .item {
  gap: 50px;
  align-items: center;
}

.archive-items .item .main-image {
  width: 336px;
  height: 294px;
  object-fit: cover;
  border-radius: 15px;
}

/* ============ Support ============ */

.support .form {
  background: var(--gradient);
  padding-block: 100px;
  margin-top: 25px;
}

.support .support-card {
  background: white;
  padding-left: 75px;
  padding-right: 50px;
  padding-block: 50px;
  width: 35%;
  height: fit-content;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.support .introduction .wrapper {
  width: 80%;
}

.support .support-card .text {
  gap: 50px;
}

.support .support-card .text h2 {
  color: #023763;
  font-size: 35px;
  font-style: normal;
  font-weight: 600;
}

.support .support-card a {
  color: #023763;
  font-size: 35px;
  font-style: normal;
  font-weight: 600;
}

.support .form .wrapper {
  width: 90%;
  align-self: end;
  justify-content: space-between;
  align-items: center;
}

.support .form .gform_wrapper {
  width: 50%;
}

.support .form .gform_heading {
  margin-bottom: 50px;
}

.support .text-section.end {
  margin-block: 50px;
}

/* ============ Gravity Forms ============ */

.gform_wrapper input:not([type="submit"]) {
  color: rgba(0, 0, 0, 0.28);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  border: none;
  border-radius: 5px;
  padding: 15px !important;
}

.gform_wrapper input:not([type="submit"])::placeholder {
  color: rgba(0, 0, 0, 0.28);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}

.gform_wrapper input[type="submit"] {
  border: none;
  font-size: 20px !important;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 30px;
  align-self: start;
  transition: opacity 0.3s;
  color: #023763;
  background: white;
  margin: 0 !important;
}

.gform_wrapper .gform_footer {
  transition: opacity 0.3s;
  position: relative;
  background: white;
  display: flex;
  align-items: center;
  gap: 40px;
  width: fit-content;
  border-radius: 15px;
  padding-block: 5px !important;
  padding-inline: 25px !important;
  cursor: pointer;
  margin-top: 25px !important;
}

.gform_wrapper .gform_footer:hover {
  opacity: 0.6;
}

.gform_wrapper textarea {
  font-family: "Mulish";
  border: none;
  border-radius: 5px;
  padding: 15px !important;
  height: 140px !important;
  color: rgba(0, 0, 0, 0.28);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}

.gform_wrapper textarea::placeholder {
  font-family: "Mulish";
  color: rgba(0, 0, 0, 0.28);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}

.gform_heading * {
  color: #fff;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  line-height: 72px; /* 205.714% */
}

/* ============ Careers ============ */

.careers .text-section.end {
  padding-block: 100px;
}

/* ============ Volunteer ============ */

.volunteer .text-section.end {
  padding-block: 100px;
}

/* ============ Contact ============ */

.contact-form {
  padding-block: 100px;
  margin-top: 50px;
  background: var(--gradient);
}

.contact-form .wrapper {
  width: 80%;
  justify-content: space-between;
}

.contact-form .text {
  width: 40%;
}

.contact-form h2 {
  margin-bottom: 25px;
}

.contact-form .text * {
  color: white;
}

.contact-form .gform_heading {
  display: none;
}

.contact-form .gform_wrapper {
  width: 50%;
}

.contact > .socials {
  padding-block: 100px;
  align-items: center;
}

.contact .socials .wrapper {
  align-items: center;
  gap: 50px;
}

.contact .socials .links {
  gap: 25px;
}

/* ============ Contact ============ */

.single .content .wrapper {
  width: 80%;
}

.single .content {
  padding-top: 50px;
  padding-bottom: 100px;
}

/* ============ Burger Menu ============ */

.burger-menu {
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 50px;
  gap: 50px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  z-index: 5;
}

.burger-menu .cta {
  background: white;
  color: #023763 !important;
}

.burger-menu .wrapper {
  width: 85%;
}

.burger-menu nav > ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 80px;
  column-gap: 50px;
}

.burger-menu nav > ul > li {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.burger-menu li:not(:has(.sub-menu)) a::after {
  filter: brightness(0) saturate(100%) invert(11%) sepia(40%) saturate(6227%)
    hue-rotate(195deg) brightness(93%) contrast(98%);
}

.burger-menu header {
  width: 100%;
  box-shadow: unset;
}

.burger-menu header p {
  color: white;
}

.burger-menu .donate {
  color: #023763;
  background: white;
}

.burger-menu a:has(+ .sub-menu) {
  width: fit-content;
  position: relative;
  color: #fff;
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.burger-menu a:has(+ .sub-menu)::after {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 120px;
  height: 3px;
  content: "";
  background: #05c594;
}

.burger-menu .sub-menu li {
  float: left;
  width: fit-content;
  margin-right: 20px;
  margin-bottom: 25px;
}

.burger-menu .sub-menu:not(.socials) a,
.burger-menu li:not(:has(.sub-menu)) a {
  width: fit-content;
  padding-block: 6px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  border-radius: 15px;
  background: white;
  color: #023763 !important;
  font-size: 20px !important;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 30px;
  padding-inline: 25px;
  align-self: start;
  transition: opacity 0.3s;
  border-radius: 20px;
}

.burger-menu .sub-menu a:hover {
  opacity: 0.6;
}

.burger-menu .socials img {
  filter: brightness(0) saturate(100%) invert(95%) sepia(9%) saturate(306%)
    hue-rotate(276deg) brightness(116%) contrast(100%);
}

.burger-menu .socials .socials-wrapper {
  gap: 25px;
}

.bubbles {
  --rotate: 0;
  position: absolute;
  animation: bob 8s linear infinite;
}

@keyframes bob {
  0% {
    transform: translate(0, 0) rotate(var(--rotate));
  }
  25% {
    transform: translate(4px, -2px) rotate(var(--rotate));
  }
  50% {
    transform: translate(0, 0) rotate(var(--rotate));
  }
  75% {
    transform: translate(-4px, -2px) rotate(var(--rotate));
  }
  100% {
    transform: translate(0, 0) rotate(var(--rotate));
  }
}

.introduction .wrapper {
  position: relative;
}

.introduction .bubbles {
  right: 0px;
  top: -100px;
}

.home .services .cta {
  background: white;
  color: #023763 !important;
}

.home .services .cta::after {
  filter: brightness(0) saturate(100%) invert(13%) sepia(46%) saturate(4060%)
    hue-rotate(192deg) brightness(95%) contrast(98%);
}

.text-section .wrapper {
  position: relative;
}

.text-section .wrapper.right .bubbles {
  left: 0px;
  top: -100px;
}

.text-section .wrapper .bubbles {
  right: 0px;
  top: -100px;
}

.home .latest-news {
  padding-top: 100px;
}

.about .text-section.end {
  padding-top: 150px;
}

.banner h2 {
  font-weight: 700;
}

.careers .end.text-section,
.volunteer .end.text-section {
  padding-top: 150px;
}

.support .end.text-section {
  padding-top: 100px;
}