/*

Tooplate 2132 Clean Work

https://www.tooplate.com/view/2132-clean-work

*/



/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #fff;
  --primary-color:                #2D622C;
  --secondary-color:              #356b37a4;
  --section-bg-color:             #f0f8ff;
  --custom-btn-bg-color:          #E4D99B;
  --custom-btn-bg-hover-color:    #356B37;
  --dark-color:                   #000000;
  --p-color:                      #356B37;
  --border-color:                 #e9eaeb;
  --link-hover-color:             #E4D99B;

  /* Global icon color (overrides utilities like text-primary) */
  --icon-color:                   #2D622C;

  --body-font-family:             'Poppins', sans-serif;

  --h1-font-size:                 52px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  16px;
  --btn-font-size:                18px;
  --copyright-font-size:          14px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-medium);
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
  line-height: 1.7;
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
  line-height: 1.7;
}

html {
  scroll-behavior: smooth;
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

.page-404-title {
  color: var(--secondary-color);
  font-size: 10rem;
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-color: var(--secondary-color);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.testimonial-section .section-overlay {
  opacity: 0.85;
}

.section-overlay + .container {
  position: relative;
}


/*---------------------------------------
  ANIMATED HEADLINE               
-----------------------------------------*/
.cd-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
}

.cd-words-wrapper b {
  color: #D8C85E;
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
}

.cd-words-wrapper b.is-visible {
  position: relative;
}

.no-js .cd-words-wrapper b {
  opacity: 0;
}

.no-js .cd-words-wrapper b.is-visible {
  opacity: 1;
}

.cd-headline.rotate-1 .cd-words-wrapper {
  -webkit-perspective: 300px;
  -moz-perspective: 300px;
  perspective: 300px;
}



.cd-headline.rotate-1 b.is-hidden {
  -webkit-transform: rotateX(180deg);
  -moz-transform: rotateX(180deg);
  -ms-transform: rotateX(180deg);
  -o-transform: rotateX(180deg);
  transform: rotateX(180deg);
  -webkit-animation: cd-rotate-1-out 1.2s;
  -moz-animation: cd-rotate-1-out 1.2s;
  animation: cd-rotate-1-out 1.2s;
}


/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.link {
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.link::before,
.link::after {
  position: absolute;
  width: 100%;
  height: 1px;
  background: currentColor;
  top: 100%;
  left: 0;
  pointer-events: none;
}

.link::before {
  content: '';
}

.link--herse::before {
  display: none;
}

.link__graphic {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  fill: none;
  stroke: var(--dark-color);
  stroke-width: 1px;
}

.link__graphic--stroke path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.link:hover .link__graphic--stroke path {
  stroke-dashoffset: 0;
}

.link__graphic--arc {
  top: 73%;
  left: -23%;
}

.link__graphic--arc path {
  transition: stroke-dashoffset 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.link:hover .link__graphic--arc path {
  transition-timing-function: cubic-bezier(0.8, 1, 0.7, 1);
  transition-duration: 0.3s;
}

.button {
  display: inline-block;
  position: relative;
}

.button::before,
.button::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.button--atlas > span {
  display: inline-block;
}

.button--atlas:hover > span {
  opacity: 0;
}

.marquee {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.marquee__inner {
  width: fit-content;
  display: flex;
  position: relative;
  --offset: 1rem;
  --move-initial: calc(-25% + var(--offset));
  --move-final: calc(-50% + var(--offset));
  transform: translate3d(var(--move-initial), 0, 0);
  animation: marquee 1s linear infinite;
  animation-play-state: paused;
  opacity: 0;
}

.button--atlas:hover .marquee__inner {
  animation-play-state: running;
  opacity: 1;
  transition-duration: 0.4s;
}

.marquee span {
  text-align: center;
  white-space: nowrap;
  font-style: italic;
  padding: 15px;
}

@keyframes marquee {
  0% {
    transform: translate3d(var(--move-initial), 0, 0);
  }

  100% {
    transform: translate3d(var(--move-final), 0, 0);
  }
}

.button--pan {
  overflow: hidden;
}

.button--pan span {
  position: relative;
}

.button--pan::before {
  content: '';
  transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
}

.button--pan:hover::before {
  background: transparent;
  transform: translate3d(0,-100%,0);
}


/*---------------------------------------
  CUSTOM BLOCK               
-----------------------------------------*/
.custom-block-wrap {
  position: relative;
}

.custom-block-wrap .custom-block {
  position: absolute;
  bottom: 0;
  right: 0;
}

.custom-block {
  background-color: var(--primary-color);
  border-radius: var(--border-radius-small);
  padding: 35px;
}

.custom-block .custom-icon,
.custom-block a {
  color: var(--white-color);
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}

.bi-star-fill {
  color: var(--custom-btn-bg-color);
}

/* Ensure all icon libraries render in the brand green */
/* Bootstrap Icons: elements with .bi and .bi-* classes */
.bi,
[class^="bi-"],
[class*=" bi-"] {
  color: var(--icon-color) !important;
}

/* Phosphor Icons: elements with .ph and .ph-* classes */
.ph,
[class^="ph-"],
[class*=" ph-"] {
  color: var(--icon-color) !important;
}

/*---------------------------------------
  RESPONSIVE TWEAKS (MOBILE)
-----------------------------------------*/
.flex-custom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
}

.flex-custom > * {
  flex: 1 1 260px;
  min-width: 220px;
}

@media (max-width: 991px) {
  .site-header {
    display: none;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 22px;
    word-wrap: break-word;
  }

  .flex-custom {
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 30px 16px;
    gap: 24px;
  }

  .footer-menu {
    display: none !important;
  }


  .site-header {
    display: none;
  }

  .social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }

  .copyright-text {
    text-align: center;
    margin: 0;
  }

  /* Animated headline: improve stacking on mobile */
  .cd-words-wrapper {
    width: 100% !important;
    white-space: normal !important;
  }

  .cd-words-wrapper b {
    display: block !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
  }

  .cd-words-wrapper b:not(:last-child) {
    margin-bottom: 6px;
  }
}


/*---------------------------------------
  AVATAR IMAGE - TESTIMONIAL               
-----------------------------------------*/
.avatar-image {
  border-radius: var(--border-radius-large);
  width: 60px;
  height: 60px;
  object-fit: cover;
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: black;
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  transition: all 0.3s;
  padding: 15px 25px;
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
  margin-top: 8px;
  margin-right: 0;
  padding: 12px 25px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}



.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  background: #fff;
  position: absolute;
  top: 49px;
  right: 0;
  left: 0;
  z-index: 9;
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar-brand,
.navbar-brand:hover {
  color: var(--white-color);
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-light);
}

.logo {
  height: 100px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  margin: 20px;
  padding: 0;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: black;
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  background: transparent;
  color: var(--primary-color);
}

.dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 0;
  padding-bottom: 7px;
}

.dropdown-item.active, 
.dropdown-item:active,
.dropdown-item:focus, 
.dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

/* Services grid cards */
@keyframes serviceCardReveal {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-section .card {
  height: 100%;
  min-height: 350px !important;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(13, 110, 253, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  z-index: 0;
  opacity: 0;
  transform: translateY(18px);
  animation: serviceCardReveal 0.85s ease forwards;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 12%;
  background: radial-gradient(circle at 30% 20%, rgba(45, 98, 44, 0.16), transparent 65%);
  filter: blur(0);
  opacity: 0.18;
  transform: translate3d(-16%, -16%, 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: -1;
}

.service-card-media {
  position: relative;
  overflow: hidden;
  margin: -1.5rem -1.5rem 1.25rem;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(13, 110, 253, 0.08));
}

.service-card-media::before,
.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-card-media::before {
  inset: -12%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.68) 50%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-130%) skewX(-10deg);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.6s ease;
}

.service-card-media::after {
  background: linear-gradient(180deg, rgba(4, 48, 85, 0) 40%, rgba(4, 48, 85, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.service-card:hover {
  box-shadow: 0 20px 38px rgba(11, 73, 119, 0.18);
  transform: translateY(-8px);
}

.service-card:hover::after {
  opacity: 0.55;
  transform: translate3d(0, 0, 0);
}

.service-card:hover .service-card-media::before {
  transform: translateX(130%) skewX(-10deg);
  opacity: 0.85;
}

.service-card:hover .service-card-media img {
  transform: scale(1.08);
}

.service-card:hover .service-card-media::after {
  opacity: 1;
}

.service-card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
  background-color: rgba(13, 110, 253, 0.08);
  width: fit-content;
}

.service-card-title {
  color: var(--dark-color);
  line-height: 1.4;
}

.service-card .card-text {
  color: #4f5a68;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-top: auto;
  align-self: flex-start;
}

.service-card-link::after {
  content: "\2192";
  font-size: 0.95rem;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.service-card:hover .service-card-link::after {
  transform: translateX(4px);
}

.service-card.reveal-on-scroll {
  --service-card-stagger: 0.08s;
  --service-card-offset: -36px;
}

.service-card.reveal-on-scroll .service-card-media {
  opacity: 0;
  transform: translateX(var(--service-card-offset));
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.reveal-on-scroll .service-card-media img {
  opacity: 0;
  transform: scale(1.06);
  transition: transform 0.8s ease, opacity 0.6s ease;
}

.service-card.reveal-on-scroll .card-body > * {
  opacity: 0;
  transform: translateX(calc(var(--service-card-offset) * 0.7));
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-card.reveal-on-scroll .card-body > *:nth-child(1) {
  transition-delay: calc(var(--service-card-stagger) * 1);
}

.service-card.reveal-on-scroll .card-body > *:nth-child(2) {
  transition-delay: calc(var(--service-card-stagger) * 2);
}

.service-card.reveal-on-scroll .card-body > *:nth-child(3) {
  transition-delay: calc(var(--service-card-stagger) * 3);
}

.service-card.reveal-on-scroll .card-body > *:nth-child(4) {
  transition-delay: calc(var(--service-card-stagger) * 4);
}

.service-card.reveal-on-scroll .card-body > *:nth-child(5) {
  transition-delay: calc(var(--service-card-stagger) * 5);
}

.service-card.reveal-on-scroll .card-body > *:nth-child(6) {
  transition-delay: calc(var(--service-card-stagger) * 6);
}

.service-card.reveal-visible .service-card-media {
  opacity: 1;
  transform: translateX(0);
}

.service-card.reveal-visible .service-card-media img {
  opacity: 1;
  transform: scale(1);
}

.service-card.reveal-visible .card-body > * {
  opacity: 1;
  transform: translateX(0);
}

.services-section .btn.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.services-section .btn.btn-primary:hover {
  background-color: var(--custom-btn-bg-hover-color);
  border-color: var(--custom-btn-bg-hover-color);
}

.structure-section h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.structure-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: clamp(70px, 16vw, 110px);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

section :is(h1, h2, h3, h4):not(.service-card-title) {
  position: relative;
  display: inline-block;
  padding-bottom: clamp(0.35rem, 1vw, 0.6rem);
}

section :is(h1, h2, h3, h4):not(.service-card-title)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: clamp(70px, 16vw, 120px);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .service-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .service-card::after {
    animation: none !important;
    transform: none !important;
  }

  .service-card-media img,
  .service-card-media::before,
  .service-card-media::after {
    transition: none !important;
  }

  .service-card.reveal-on-scroll .service-card-media,
  .service-card.reveal-on-scroll .service-card-media img,
  .service-card.reveal-on-scroll .card-body > * {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background: var(--primary-color);
  position: relative;
  z-index: 22;
  padding-top: 15px;
  padding-bottom: 15px;
}

.site-header p,
.site-header p a,
.site-header .social-icon-link {
  color: #fff;
  font-size: var(--copyright-font-size);
}

.site-header .social-icon {
  text-align: right;
}

.site-header .social-icon-link {
  background: transparent;
  width: inherit;
  height: inherit;
  line-height: inherit;
  margin-right: 15px;
}

.site-header-icon {
  display: inline-block;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 100px;
  min-height: 680px;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section svg {
  position: absolute;
  bottom: -50px;
  right: 0;
  left: 0;
  pointer-events: none;
}

.hero-section .section-overlay {
  background: linear-gradient(135deg, #2d622c34 0%, #2d622c86 50%, #2d622c81 100%);
  opacity: 0.95;
  animation: heroGradient 12s ease-in-out infinite alternate;
  background-size: 200% 200%;
}

.hero-visual {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.hero-visual__image {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(7, 41, 61, 0.45);
  transform: perspective(1200px) rotateY(-6deg);
  transition: transform 0.8s ease, box-shadow 0.8s ease;
}

.hero-visual__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 9s ease;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
  animation: floatRing 10s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.3rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: #0a2b45;
  box-shadow: 0 20px 45px rgba(4, 40, 75, 0.25);
  backdrop-filter: blur(6px);
  font-weight: 600;
}

.hero-badge--primary {
  top: 12%;
  left: -12%;
  animation: floatBadge 6s ease-in-out infinite;
}

.hero-badge--secondary {
  bottom: -8%;
  right: -6%;
  flex-direction: column;
  align-items: flex-start;
  min-width: 150px;
  animation: floatBadge 7.5s ease-in-out infinite reverse;
}

.hero-badge--secondary strong {
  font-size: 1.9rem;
  line-height: 1;
}

.hero-badge i {
  font-size: 1.6rem;
  color: var(--primary-color);
}

.hero-visual:hover .hero-visual__image {
  transform: perspective(1200px) rotateY(-2deg) translateY(-6px);
  box-shadow: 0 30px 60px rgba(3, 35, 54, 0.5);
}

.hero-visual:hover .hero-visual__image img {
  transform: scale(1.05);
}

.hero-visual:hover::after {
  animation-duration: 8s;
}

@keyframes heroGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatRing {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.6;
  }
}

@media screen and (min-width: 991px) {
  .hero-section-full-height {
    height: 85vh;
  }
}

@media (max-width: 991px) {
  .hero-badge--primary {
    left: 4%;
    top: -10%;
  }

  .hero-badge--secondary {
    right: 4%;
    bottom: -12%;
  }
}

@media (max-width: 767px) {
  .hero-visual {
    max-width: 360px;
  }

  .hero-visual__image {
    transform: none;
  }

  .hero-badge {
    padding: 0.7rem 1rem;
  }

  .hero-badge--primary,
  .hero-badge--secondary {
    position: relative;
    inset: auto;
    margin-top: 1rem;
  }

  .hero-badge--secondary {
    flex-direction: row;
    gap: 0.4rem;
  }
}

@media (max-width: 575px) {
  .hero-visual__image {
    border-radius: 20px;
  }

  .hero-visual::after {
    display: none;
  }

  .hero-badge {
    width: 100%;
    justify-content: space-between;
  }

  .hero-badge--secondary strong {
    font-size: 1.5rem;
  }
}


/*---------------------------------------
  INTRO        
-----------------------------------------*/
.intro-section {
  padding-top: 50px;
}


/*---------------------------------------
  BANNER        
-----------------------------------------*/
.banner-section {
  background-image: url('../images/pexels-roger-brown-3435524-5149754.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding-top: 100px;
  padding-bottom: 50px;
}

.banner-section .breadcrumb {
  margin-bottom: 0;
}

.breadcrumb-item+.breadcrumb-item::before,
.breadcrumb-item.active {
  color: var(--white-color);
}


/*---------------------------------------
  COUNTDOWN              
-----------------------------------------*/
.countdown-section {
  position: relative;
}

.countdown-section-title {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}

.countdown {
  text-align: center;
  padding-left: 0;
}

.countdown-item {
  list-style: none;
  flex: 0 0 13%;
  margin: 15px;
}

.countdown-text {
  background: var(--section-bg-color);
  border-radius: 6px;
  color: var(--secondary-color);
  font-size: var(--p-font-size);
  position: relative;
  padding: 4px 8px;
}

.countdown-text::before {
  content: "";
  display: block;
  margin: auto;
  width: 0;
  height: 0;
  border-bottom: 5px solid var(--section-bg-color);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  position: absolute;
  top: -5px;
  right: 0;
  left: 0;
}


/*---------------------------------------
  FEATURED              
-----------------------------------------*/
.featured-image {
  border-radius: var(--border-radius-medium);
}

.featured-block {
  padding: 20px;
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-image,
.gallery-image {
  border-radius: var(--border-radius-medium);
}

.team-info {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  padding: 30px;
}

.team-info p {
  margin-bottom: 0;
}

.team-info::before {
  content: "";
  display: block;
  margin: auto;
  width: 0;
  height: 0;
  border-right: 20px solid var(--white-color);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
}

.gallery-image {
  transition: all 0.3s;
}

.gallery-image:hover {
  transform: scale(1.02);
}


/*---------------------------------------
  SERVICES              
-----------------------------------------*/
.services-thumb {
  background-color: var(--white-color);
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 30px;
}

.services-thumb.section-bg {
  background: var(--section-bg-color);
}

.services-detail-section .services-image {
  aspect-ratio: 0;
}

.services-image-wrap {
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
}

.services-image-wrap:hover .services-image-hover {
  opacity: 1;
}

.services-title-link {
  display: block;
}

.services-image,
.team-image {
  border-radius: var(--border-radius-small);
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  transition: all 0.5s;
}

.services-image-hover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
}

.services-icon-wrap {
  background: var(--secondary-color);
  color: var(--white-color);
  font-size: var(--h3-font-size);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  transition: opacity 0.5s;
  padding: 8px 12px;
}

.services-icon-wrap .button--skoll {
  width: 100%;
  height: 100%;
}


/*---------------------------------------
  TESTIMONIAL              
-----------------------------------------*/
.testimonial-section {
  background-image: url('../images/slideshow/slide1222.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.testimonial-section .featured-block {
  background-color: var(--primary-color);
  border-radius: var(--border-radius-medium);
  margin-bottom: 24px;
  padding: 30px;
}

.testimonial-section .featured-block h4,
.testimonial-section .featured-block p {
  color: var(--white-color);
}



/*---------------------------------------
  PARTNERS              
-----------------------------------------*/
.partners-section {
  text-align: center;
  padding-top: 25px;
  padding-bottom: 50px;
}

.partners-section-title {
  border-radius: var(--border-radius-large);
  display: inline-block;
  position: relative;
  bottom: 50px;
  margin-bottom: -50px;
  padding: 10px 20px;
}

.partners-image {
  display: block;
  width: 150px;
  margin: auto;
  transition: all 0.3s;
}

.partners-image:hover {
  transform: scale(1.05);
}


/*---------------------------------------
  COUNTER NUMBERS              
-----------------------------------------*/
.counter-thumb {
  margin: 20px;
  margin-top: 0;
}

.counter-number {
  color: var(--secondary-color);
  display: block;
}

.counter-number,
.counter-number-text {
  color: var(--secondary-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background: var(--white-color);
}

.contact-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 40px;
}

.contact-info {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  display: inline-block;
  margin-top: 20px;
  padding: 40px;
}

.team-info a,
.contact-info h5,
.contact-info h5 a {
  color: var(--p-color);
}

.team-info a:hover,
.contact-info h5 a:hover {
  color: var(--link-hover-color);
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control,
.input-group-file {
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  outline: none;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  border-color: var(--secondary-color);
}

.custom-form label {
  margin-bottom: 10px;
}

.custom-form .form-check-group {
  margin-bottom: 20px;
}

.donate-form .form-check-group-donation-frequency {
  padding-right: 0;
}

.form-check-group-donation-frequency + .form-check-group-donation-frequency {
  padding-right: 12px;
  padding-left: 0;
}

.form-check-group-donation-frequency .form-check-label {
  font-weight: var(--font-weight-medium);
}

#DonationFrequencyOne {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#DonationFrequencyMonthly {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.custom-form .form-check-radio {
  position: relative;
  height: 100%;
  padding-left: 0;
}

.custom-form .input-group-text {
  background: var(--secondary-color);
  border: 0;
  color: var(--white-color);
}

.custom-form .form-check-radio .form-check-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.form-check-radio .form-check-input[type=radio] {
  background-color: var(--section-bg-color);
  border-radius: .25rem;
  border: 0;
  box-shadow: none;
  outline: none;
  width: 100%;
  margin-top: 0;
  margin-left: 0;
  padding: 25px 50px;
  transition: all 0.3s;
}

.form-check-radio .form-check-input:checked[type=radio] {
  background-image: none;
}

.form-check-radio .form-check-input:checked[type=radio] + .form-check-label,
.form-check-radio .form-check-input:hover + .form-check-label,
.form-check-radio .form-check-input:checked + .form-check-label {
  color: var(--white-color);
}

.form-check-radio .form-check-input:hover,
.form-check-radio .form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.input-group-file {
  border-radius: .25rem;
  padding: 13px .75rem;
}

.input-group-file input[type=file] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  padding: 0;
}

.input-group-file .input-group-text {
  background: transparent;
  color: inherit;
  margin-bottom: 0;
  padding: 0;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}

.consulting-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 45px;
}

.consulting-form-header .form-icon {
  font-size: var(--h2-font-size);
  color: var(--white-color);
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: var(--primary-color);
  padding-top: 50px;
}

.site-footer-bottom {
  border-top: 1px solid #fff;
  position: relative;
  z-index: 2;
  margin-top: 50px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.site-footer .logo {
  height: 180px;
  object-fit: cover;
}

.site-footer-title,
.site-footer-link {
  color: var(--white-color);
}

.copyright-text {
  color: var(--section-bg-color);
  font-size: var(--copyright-font-size);
  margin-right: 30px;
}

.site-footer .custom-btn {
  font-size: var(--copyright-font-size);
}

.site-footer .custom-btn:hover {
  background: var(--primary-color);
}

.site-footer-bottom a {
	color: var(--white-color);
}

.site-footer-bottom a:hover {
	color: var(--link-hover-color);
}


/*---------------------------------------
  FOOTER MENU               
-----------------------------------------*/
.footer-menu {
  column-count: 2;
  margin: 0;
  padding: 0;
}

.footer-menu-item {
  list-style: none;
  display: block;
}

.footer-menu-link {
  font-size: var(--p-font-size);
  color: var(--white-color);
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;
  margin-bottom: 5px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: #ffffff;
  border-radius: var(--border-radius-large);
  color: black !important;
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 10px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
}

.social-icon-link:hover {
  background: #D8C85E;
  color: var(--white-color);
}

.button--skoll {
  overflow: hidden;
  border-radius: 50%;
  color: var(--white-color);
  width: 35px;
  height: 35px;
}

.button--skoll span {
  display: block;
  position: relative;
}

.button--skoll > span {
  overflow: hidden;
}

.button--skoll:hover > span > span {
  animation: MoveUpInitial 0.2s forwards, MoveUpEnd 0.2s forwards 0.2s;
}

.button--skoll::before {
  content: '';
  background: var(--custom-btn-bg-color);
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border-radius: 50%;
  transform: translate3d(0,0,0);
  transition: transform 0.3s;
  transition-timing-function: cubic-bezier(0.7, 0, 0.2, 1);
}

.button--skoll:hover::before {
  transform: translate3d(0,100%,0);
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .intro-section {
    padding-top: 0;
  }
}

@media screen and (max-width: 476px) {
  .cd-words-wrapper{
    font-size: 32px;
  }

}
@media screen and (max-width: 991px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .team-section {
    padding-bottom: 80px;
  }

  .navbar {
    background-color: var(--white-color);
    padding-top: 5px;
    padding-bottom: 5px;
    position: fixed;
    top: 0;
  }

  .navbar-brand,
  .navbar-brand:hover {
    color: var(--primary-color);
  }

  .navbar-nav .nav-link {
    color: var(--p-color);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    margin: 8px 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link.custom-btn {
    background-color: var(--custom-btn-bg-color);
    color: var(--white-color);
    margin-left: 0;
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    left: 20px;
    opacity: 1;
    pointer-events: auto;
    max-width: 100px;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .custom-block-wrap .custom-block {
    right: 12px;
  }

  .site-footer {
    padding-top: 50px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }

  .site-footer-bottom {
    text-align: center;
    margin-top: 50px;
  }

  .site-footer-bottom .footer-menu {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {

  .custom-btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .hero-section svg {
    bottom: 0;
  }

  .team-info::before {
    border-top: 0;
    border-bottom: 20px solid var(--white-color);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    top: -20px;
    bottom: auto;
    right: 0;
    left: 0;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}

    .padding-20{
      padding: 60px 0px !important;
    }


.border-medic{
  border-bottom: 6px solid #90AD91;
}

.color-white {
  color: white !important;
}

/*---------------------------------------
  REVEAL ON SCROLL (subtle animations)
-----------------------------------------*/
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


.frame-map {
  margin-top: 20px;
  margin-left: 20px;
  width: 100%;
  max-width: 480px;
}

.frame-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--border-radius-small);
}

.title-anddress{
  margin: 20px;
}

/*---------------------------------------
  COOKIE CONSENT (simple banner)
-----------------------------------------*/
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 10px);
  width: min(960px, calc(100% - 32px));
  background-color: rgba(0, 0, 0, 0.92);
  color: var(--white-color);
  padding: 14px 16px;
  border-radius: var(--border-radius-medium);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2147483647; /* on top */
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
}

.cookie-consent.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cookie-consent .cookie-text {
  margin: 0;
  color: var(--white-color);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent .cookie-accept {
  margin-left: auto;
  background-color: var(--custom-btn-bg-color);
  color: var(--white-color);
  border: none;
  border-radius: var(--border-radius-small);
  padding: 10px 16px;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}

.cookie-consent .cookie-accept:hover {
  background-color: var(--custom-btn-bg-hover-color);
}

@media screen and (max-width: 520px) {
  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cookie-consent .cookie-accept {
    margin-left: 0;
    width: 100%;
  }
}

@media screen and (max-width: 991px) {
  .frame-map {
    margin-left: 0;
  }
}

@media screen and (max-width: 980px) {
  .featured-image {
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 768px) {
  .frame-map {
    margin: 16px 0 0;
    max-width: 100%;
  }

  .frame-map iframe {
    height: 260px;
  }
}



.medic-local-img{
  height: 230px;
  border-radius: 10px;
  border: 2px solid #FFFFFF;
}

.info-us{
  margin-top: 50px;
}

.frame-map{
  display: flex;
  justify-content: center;
}