/******************* Global Varialbles ***********************/

/* Global Fonts*************** */
:root {
  --default-font: : "Montserrat", sans-serif;
  --heading-font: "Montserrat", sans-serif;
  --nav-font: "Montserrat", sans-serif;
}

/* Global Colors************* */
:root {
  --background-color: #000000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffa500;
  --special-green-color: #139463;
  --surface-color: #1a1a1a;
  --contrast-color: #ffffff;
}

/* Nav Menu Colors********* */
:root {
  --nav-color: rgba(255, 255, 255, 0.5);
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #1a1a1a;
  --nav-dropdown-background-color: #1a1a1a;
  --nav-dropdown-color: rgba(255, 255, 255, 0.5);
  --nav-dropdown-hover-color: #ffffff;
  --nav-logo-width: clamp(95px, 9.5vw, 105px);
}

.glass-background {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

:root {
  scroll-behavior: smooth;
}

/* Color Presets******** */
.gallery-item {
  --gallery-background-color: none;
}

.hero {
  --gallery-background-color: none;
}

/******************* General Styling ***********************/

/* **********************Navbar Styling ************************ */

html,
body {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

.home-page {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--heading-font);
  z-index: 900;
}

.overlay {
  inset: 0;
  z-index: 7000;
  background-color: rgba(0, 0, 0, 0.5);
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
}

.overlay.activate {
  opacity: 1 !important;
  visibility: visible !important;
}

.nav-menu-toggler {
  position: fixed;
  opacity: 0;
  right: -250px;
  width: 250px;
  height: 100vh;
  transition:
    right 0.4s ease-in-out,
    opacity 0.4s ease-in-out 0.1s;
  z-index: 8000;
  visibility: hidden;
}

.section-title {
  font-family: var(--nav-font);
  color: var(--heading-color);
  font-size: 40px;
}

.header {
  /* border-bottom: 1px solid transparent; */
  transition:
    background 0.6s ease-in-out,
    backdrop-filter 0.6s ease-in-out,
    transform 0.3s ease-in-out,
    -webkit-backdrop-filter 0.6s ease-in-out;
}

.header.hide-navbar {
  transform: translateY(-100%);
}

.navbar-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  position: relative;
  width: 15%;
  outline: none !important;
  padding: 0 10px;
}

@keyframes spin-logo {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.logo img.real {
  width: var(--nav-logo-width);
  position: absolute;
  animation: spin-logo 10s linear infinite;
  top: 10px;
}

.logo img.fake {
  width: var(--nav-logo-width);
  visibility: hidden;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 10px;
  margin: 10px;
}

.nav-menu ul li {
  list-style: none;
}

.nav-menu ul li a {
  font-size: 16px;
  text-decoration: none;
  color: white;
  font-family: var(--nav-font);
  font-weight: 400;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.dropdown-ul {
  top: 80px;
  left: 35%;
  z-index: 9999;
  padding: 20px 70px 20px 20px;
  border-radius: 4px;
  list-style: none;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.5s ease-in-out;
}

.dropdown-ul.drop {
  opacity: 1 !important;
  visibility: visible !important;
}

.dropdown-ul li a {
  font-size: 15px !important;
  text-decoration: none;
  color: inherit;
}

.header-social-links {
  font-size: 16px;
  width: 15%;
}

.header-social-links a {
  transition: color 0.3s ease;
  cursor: pointer;
  color: #ffffff;
}

/* ***********************Main Styling*************************** */

/* *****************Hero Section (Home)*********************  */

main {
  flex-grow: 1;
  margin-bottom: 20px;
}

.hero-img-wrapper {
  z-index: 1;
  padding-bottom: 150px;
  padding-top: 150px;
  transition: background-image 0.3s ease-in-out;
}

.og-hero-overlay {
  inset: 0;
  background-position: center;
  background-size: cover;
  background-image: url("https://res.cloudinary.com/dirijnb2k/image/upload/q_auto/f_auto/v1776458351/serious_family.jpg");
}

.hero-overlay {
  inset: 0;
  background-position: center;
  background-size: cover;
  background-image: url("https://res.cloudinary.com/dirijnb2k/image/upload/q_auto/f_auto/v1776008034/happy_family.jpg");
  transition: opacity 0.2s ease-in-out;
}

.hero-overlay.active {
  opacity: 1 !important;
}

.hero-img {
  width: 100%;
  object-position: center;
}

.placeholder {
  margin-top: 30px;
  padding: 40px;
  text-align: center;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(20px, 4.5vw, 70px);
  font-family: var(--nav-font);
  gap: 5px;
  z-index: 1;
}

.title {
  display: flex;
  /* flex-wrap: nowrap; */
}

.hero-title .highlight {
  position: relative;
  z-index: 1;
  padding: 0 5px;
  display: inline-block;
}

.hero-title .highlight::before {
  position: absolute;
  height: 50%;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--special-green-color);
  z-index: -1;
  content: "";
}

.pt {
  padding-top: 90px;
}
.ps {
  margin-top: 20px !important;
  z-index: 1;
  position: relative;
}

.ps p:first-child {
  margin: 0 !important;
}

.ps p {
  font-weight: 400;
  font-family: var(--heading-font);
  font-size: clamp(25px, 2vw, 30px);
}

.btn-get-started {
  padding: 10px 20px;
  margin-top: 40px;
  font-weight: 600;
  text-transform: uppercase;
  background-color: var(--special-green-color);
  font-family: var(--nav-font);
  z-index: 1;
  position: relative;
}

.btn-get-started:active,
.btn-get-started:active {
  background-color: #139463 !important;
}

.custom-col {
  border-radius: 10px;
}

/* *****************Gallery Section*********************  */
/* *****************Gallery Section*********************  */

.gallery-section {
  margin-top: 120px !important;
}

.section-subtext {
  font-size: clamp(16px, 1.3vw, 20px);
  color: #27a776;
  margin-bottom: 20px !important;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
}

.gallery-img {
  transition: transform 0.3s;
  transform-origin: center center;
  border-radius: 8px;
}

.gallery-section .custom-col {
  padding: 0 6px !important;
}

.view-more {
  margin-top: 60px !important;
  font-size: clamp(13px, 1vw, 15px);
}

/* ***************About Section*********************  */
/* ***************About Section*********************  */

.about-section {
  margin-bottom: 150px;
  margin-top: 150px;
}

.wrapper,
.abt-cont,
.my-image-container,
.about-me-container {
  height: 100% !important;
}

.green-name {
  color: var(--special-green-color);
}

.my-image-container {
  padding-left: 60px;
}

.my-image-container img {
  height: 100%;
  width: 100%;
  display: block;
}

.about-section .about-me-container .my-description {
  font-size: clamp(16px, 1.5vw, 18px) !important;
}

.about-section .about-me-container .services-container p {
  font-size: 15px !important;
}
.save-btn {
  color: var(--special-green-color);
  margin-right: 7px;
  font-size: 20px;
}

.services-wrapper {
  margin-top: 25px;
}

.services-wrapper div {
  padding: 0 !important;
}

/* ***************Services Section*********************  */
/* ***************Services Section*********************  */

.cont {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}

.services-section {
  margin-top: 150px;
}

.max-width {
  max-width: 1999px !important;
  margin-left: auto;
  margin-right: auto;
}

.max-wih {
  max-width: 90% !important;
}

.abt-wih {
  width: 85%;
}

.top-container {
  justify-content: center;
  align-items: center;
}

.service-wrapper {
  aspect-ratio: 1 / 0.8;
  transition: transform 0.3s ease-in-out;
}

.service-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 20px 20px;
  gap: 10px;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.icon-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-container .service-title {
  font-size: clamp(23px, 2vw, 30px);
  position: relative;
  z-index: 1;
  font-weight: 600;
  padding-bottom: 2px;
}

.service-container .service-title::before {
  content: "";
  width: 100%;
  position: absolute;
  height: 1px;
  bottom: 0;
  background-color: #139463;
}

.service-container .description {
  height: 20%;
  font-size: clamp(14px, 1.5vw, 16px);
  padding-bottom: 40px !important;
  position: relative;
  z-index: 1;
}

/* ***************Contact Section*********************  */
/* ***************Contact Section*********************  */

.contact-section {
  margin-top: 150px;
}

.contact-section input,
.message {
  background-color: color-mix(
    in srgb,
    var(--default-color),
    transparent 90%
  ) !important;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  color: white;
  font-family: var(--nav-font);
}

.contact-section input::placeholder,
.message::placeholder {
  color: var(--nav-dropdown-color);
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 200;
}

.contact-section input:not(:placeholder-shown),
.message:not(:placeholder-shown) {
  border: 1px solid var(--special-green-color) !important;
}

.message {
  padding-top: 20px;
  padding-bottom: 80px;
}

.contact-section input:-webkit-autofill,
.message:-webkit-autofill {
  background-color: color-mix(
    in srgb,
    var(--default-color),
    transparent 95%
  ) !important;
  -webkit-text-fill-color: white;
  -webkit-box-shadow: 0 0 0px 1000px #141414 inset;
  border: 1px solid var(--special-green-color) !important;
  transition: background-color 9999s ease-out;
}

.contact-section input:focus,
.message:focus {
  border: 1px solid var(--special-green-color) !important;
  box-shadow: none !important;
  color: #ffffff;
}

.button-container {
  display: flex;
  justify-content: flex-start;
}
.submit-button {
  background-color: var(--special-green-color);
  padding: 15px 25px;
  color: #ffffff;
  font-family: var(--nav-font);
  text-transform: uppercase;
  font-weight: 300;
}

.submit-button:hover {
  background-color: #139463;
}

/* *****************Footer Section*********************  */
/* *****************Footer Section*********************  */

.footer {
  --footer-background-color: color-mix(
    in srgb,
    var(--default-color),
    transparent 95%
  );
  background-color: var(--footer-background-color);
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 30px;
  margin-top: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.footer-social-links {
  gap: 5px;
}

.footer-social-links a {
  color: var(--nav-color);
  padding: 10px;
  border: 1px solid var(--nav-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .copyright {
  font-weight: 200;
  font-size: 15px;
  margin: 0 !important;
}

.copyright .copyright-img-container {
  width: 15px;
  display: inline;
}

.copyright-img-container img {
  width: 100%;
  height: 100px;
  display: inline-block;
}

.footer .praise {
  font-size: 13px;
  font-weight: 200;
  margin: 0;
}

.me {
  color: var(--accent-color);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-img:hover {
    transform: scale(1.08);
  }

  .header-social-links a:hover {
    color: var(--special-green-color);
  }

  .btn-get-started:hover {
    background-color: #167450;
  }

  .nav-menu-toggler.active .nav-menu ul li a:hover {
    color: var(--nav-hover-color);
  }
}

/* *****************Responsive Section*********************  */
/* *****************Responsive Section*********************  */
@media (min-width: 1300px) {
  .hero-img-wrapper {
    min-height: 800px;
  }
}

@media (max-width: 1000px) {
  .hero-title {
    font-size: clamp(42px, 9vw, 80px);
    flex-direction: column;
    gap: 20px;
  }

  .ps p {
    font-size: clamp(16px, 2.8vw, 30px);
  }

  .ps {
    font-size: 25px;
    margin-bottom: 25px;
    margin-top: 15px !important;
  }

  .ps p:first-child {
    margin-bottom: 25px;
  }

  .btn-get-started {
    font-size: 15px;
    padding: 15px 25px;
  }

  .ps p:first-child {
    margin-bottom: 15px;
  }
}

@media (max-width: 992px) {
  .hero-img-wrapper {
    padding-top: 100px;
  }

  .abt-cont h2 {
    order: 1;
  }

  .abt-cont .section-subtext {
    order: 2;
    /* margin-bottom: 20px !important; */
  }

  .abt-cont .my-image-container {
    order: 3;
    padding: 0;
    width: 50% !important;
  }

  .abt-cont .about-me-container {
    padding: 0;
    order: 4;
    width: 80% !important;
    /* width: 85%; */
  }

  .about-me-container h4:first-child {
    margin-top: 20px;
  }

  .services-container.container {
    margin: 0 !important;
  }

  .services-container.container .services-wrapper {
    gap: 50px !important;
  }

  .services-container.container .services-wrapper div {
    width: auto !important;
  }
}

@media (max-width: 950px) {
  .header-social-links {
    display: none !important;
  }

  .social-link:last-child {
    margin-right: 10px;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu ul {
    --navbg: var(--background-color);
    background-color: var(--navbg);
  }

  .nav-menu-toggler.active {
    right: 0;
    opacity: 1;
    width: 250px;
    height: 100vh;
    visibility: visible;
    border-left: 1px solid var(--special-green-color);
  }

  .nav-menu-toggler.closing {
    opacity: 0;
    transition:
      opacity 0.3s ease-in-out,
      right 0.4s ease-in-out 0.3s; /* move out after fade */
  }

  .nav-menu-toggler.active .nav-menu {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: var(--nav-dropdown-background-color);
  }

  .nav-menu-toggler.active .nav-menu ul {
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 100%;
    height: 100%;
    background-color: var(--nav-dropdown-background-color);
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 100px;
    gap: 30px;
  }

  .nav-menu-toggler.active .nav-menu ul li a {
    color: var(--nav-color);
  }

  .nav-menu-toggler.active .nav-menu .dropdown-mobile {
    position: relative;
  }

  .nav-menu-toggler.active .nav-menu .dropdown-mobile ul {
    --nav-side-mini-bg: #212121;
    display: flex;
    flex-direction: column;
    padding: 15px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: absolute;
    top: -20px;
    left: 120%;
    opacity: 0;
    margin: 0;
    padding: 0 !important;
    width: 90px;
    visibility: hidden;
    border-radius: 4px;
    background-color: var(--nav-side-mini-bg);
    transition:
      opacity 0.3s ease-in-out,
      visibility 0.3s ease-in-out,
      top 0.4s ease-in-out;
    height: 150px;
  }

  .nav-menu-toggler.active .nav-menu .dropdown-mobile ul a {
    font-size: 12px;
    text-transform: capitalize;
    font-weight: 200;
  }

  .nav-menu-toggler.active .nav-menu .dropdown-mobile:hover > ul {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  .nav-menu-toggler.active .nav-menu .dropdown-mobile span {
    margin-right: 5px;
  }

  .header-social-links {
    padding-right: 30px;
  }

  .mobile-nav-toggle-container {
    top: calc(var(--nav-logo-width) / 2);
    transform: translateY(-50%) !important;
    right: 14px;
    position: fixed;
    z-index: 9000;
    transition: top 0.2s ease-in-out;
  }

  .mobile-nav-toggle-container.hide-navbar {
    top: -100% !important;
  }

  .mobile-nav-toggle {
    width: 30px;
    cursor: pointer;
    display: block !important;
  }
}

@media (max-width: 770px) {
  .gallery-section .custom-col:nth-last-child(-n + 2) {
    display: none;
  }

  .section-title {
    font-size: 30px;
  }

  .btn-get-started {
    margin-top: 25px;
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .about-me-container {
    padding: 25px;
  }

  .view-more {
    padding: 6px 13px !important;
  }

  .abt-cont .my-image-container {
    width: 50% !important;
  }

  .abt-cont .about-me-container {
    width: 100% !important;
  }
}

@media (max-width: 550px) {
  .ps {
    font-size: 20px;
  }
  .logo img.real {
    width: 85px !important;
  }

  .logo img.fake {
    width: 85px !important;
  }

  .mobile-nav-toggle-container {
    top: calc(80 / 2);
  }

  .service-wrapper {
    aspect-ratio: 1 / 0.6;
  }
}

@media (max-width: 450px) {
  .nav-menu-toggler.active {
    width: 200px;
  }
}
