@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--secondary-font-family);
}

body {
  font-family: var(--secondary-font-family);
  overflow-x: hidden;
  line-height: 1.5;
  background-color: var(--color-white);
  color: var(--primary-text-color);
}

:root {
  --primary-font-family: "Outfit", sans-serif;
  --secondary-font-family: "Satoshi", sans-serif;
  --primary-color: #84ad48;
  --heading-color-lg: #306276;
  --heading-color-md: #659323;
  --primary-text-color: #221f1f;
  --secondary-text-color: #666666;
  --color-white: #ffffff;
  --hero-bg-color: #eef6f9;
  --color-black: #000000;
  --bg-light-purple: #eceef6;
  --bg-light-gray: #f3f3f3;
  --placeholder-color: #686868;
}

.padding-lr-lg {
  padding-left: 200px;
  padding-right: 200px;
}

.padding-tb-lg {
  padding-top: 70px;
}

.pb-40 {
  padding-bottom: 40px;
}

.font-outfit {
  font-family: var(--primary-font-family);
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* padding: 15px 0; */
  box-sizing: border-box;
  transition: all 0.3s ease;
  background-color: var(--color-white);
}

.header-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 25px 80px;
  backdrop-filter: blur(10px);
  transition: all 0.5s ease;
  overflow: hidden;
}

/* Right-to-left animation overlay */
.header-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #84ad480f;
  transform: translateX(100%) scale(0.85);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease, scale 0.5s ease;
  z-index: -1;
}

.header.scrolled .header-container::before {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-color);
  transition: color 0.3s ease;
  z-index: 1;
  font-family: var(--primary-font-family);
}

.desktop-nav {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--primary-text-color);
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  z-index: 1;
  font-family: var(--primary-font-family);
}

.button-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--color-white);
  border: none;
  padding: 8px 28px;
  border-radius: 30px;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1;
}

.cta-button:hover {
  background-color: var(--heading-color-lg);
  transform: translateY(-2px);
}

.header a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Hamburger menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 99999;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #000;
  transition: all 0.3s ease;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--heading-color-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transition: right 0.3s ease;
  z-index: 999;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  font-family: var(--primary-font-family);
}

.mobile-menu.open {
  right: 0;
}

.mobile-cta-button {
  background-color: rgb(240, 234, 234);
  color: black;
  border: none;
  padding: 8px 25px;
  border-radius: 30px;
  font-weight: 400;
  font-size: 14px;
  margin-top: 20px;
  cursor: pointer;
}

/* .hero-box-container {
  padding: 56px 20px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.hero-section {
  padding: 0 40px;
}

.hero-box-container-section {
  /* display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 20px; */
  border-radius: 24px;
  overflow: hidden;
  background: #d5f8ffb3;
  box-shadow: 0px 8px 16px 0px rgba(21, 33, 142, 0.08);
}


/* Foreground Content Container */
.hero-content-wrapper {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
  z-index: 2;
  padding: 10px 0 50px 0;
}

.hero-animation-background.single-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Image styles */
.hero-animation-background.single-bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: auto;
  transform: translate(-50%, -50%);
  mix-blend-mode: overlay;
  opacity: 0.08;
  animation: slowRotate 10s linear infinite;
  transform-origin: center;
  filter: blur(2px);
}

/* Keyframes for slow infinite rotation */
@keyframes slowRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}


/* Content always on top */
/* .hero-content-box {
  max-width: 1050px;
  text-align: center;
  position: relative;
  z-index: 2;
} */


.heading-slide {
  position: relative;
  height: 100px; /* adjust to match one h1 height */
  overflow: hidden;
}

.slide-word {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  white-space: nowrap;
  font-size: 2rem;
}

.hero-content-box .heading h1 {
  font-size: 80px;
  font-weight: 700;
  color: var(--heading-color-lg);
}

.hero-tag .tag {
  position: relative;
  color: var(--heading-color-lg);
  font-size: 16px;
  font-weight: 400;
  border: 1px solid var(--heading-color-lg);
  padding: 5px 18px;
  border-radius: 30px;
  background-color: transparent;
}

.hero-tag .tag:not(:first-child)::before {
  content: "•";
  color: var(--heading-color-lg);
  font-size: 18px;
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-content {
  max-width: 1050px;
  margin: 0 auto;
}

.hero-content p {
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  color: var(--primary-text-color);
}

.hero-bottom-btn .bg-btn {
  background-color: var(--heading-color-lg);
  color: var(--color-white);
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 300;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.hero-bottom-btn .bg-btn:hover {
  transform: scale(0.9);
}

.bg-none-btn {
  border: 1px solid transparent;
  border-radius: 30px;
  outline: none;
  background-color: transparent;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 400;
  color: var(--heading-color-lg);
  transition: all 0.3s ease-in-out;
}

.highlightColor {
  font-weight: 600;
  color: var(--heading-color-lg);
}

.bg-none-btn:hover {
  border: 1px solid var(--heading-color-lg);
}

.hero-client-logo {
  gap: 100px;
}

.hero-client-logo img {
  max-width: 150px;
  /* filter: grayscale(1); */
  /* opacity: 0.2; */
}

.about-grid-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 8px;
}
.about-content h3 {
  font-size: 44px;
  color: var(--heading-color-md);
}

.about-content p {
  font-size: 18px;
  color: var(--primary-text-color);
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 32px;
  border-radius: 16px;
  border: 1px solid #e9e9e9;
  background: var(--color-white);
}

.about-card .top-icon {
  display: flex;
  width: 70px;
  height: 70px;
  padding: 18px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  border-radius: 50px;
  background: var(--color-white);
  box-shadow: 0px 0px 12px 0px rgba(79, 108, 52, 0.2);
}

.about-card p {
  font-size: 14px;
  color: #221f1fb2;
}

.author-image-card {
  background-color: var(--heading-color-md);
  border-radius: 24px;
  height: 100%;
  min-height: 500px;
}

/* Blurred background image layer */
.bg-texture {
  background: url("assets/images/bg-gradient.png") no-repeat center center;
  background-size: cover; /* Zoom the background */
  mix-blend-mode: luminosity;
  filter: brightness(1.8) contrast(0.7) blur(6px);
  position: absolute;
  inset: 0;
  z-index: 1; /* extra zoom if needed */
}

/* Foreground person image */
.author-photo {
  z-index: 2;
  width: 105%;
  height: 90%;
  object-fit: cover;
  transform: translateY(10px) translateX(-2.5%);
  bottom: 0;
}

.section-container {
  background: linear-gradient(85deg, #59a4c2 60.76%, #0e475e 113.28%), #838383; /* fallback dark teal */
  border-radius: 24px;
  padding: 3rem 1rem;
  position: relative;
  text-align: center;
  color: #ffffff;
}

/* .bg-texture {
  background: url('assets/images/bg-gradient.png') no-repeat center center;
  background-size: 130%;
  mix-blend-mode: luminosity;
  filter: brightness(1.3) contrast(0.9) blur(3px);
  position: absolute;
  inset: 0;
  z-index: 1;
} */

.content-box {
  position: relative;
  z-index: 2;
  border: 4px solid rgba(255, 255, 255, 0.7);
  border-radius: 40px;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(40px);
}

.content-box p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.8;
  color: rgba(246, 242, 236, 1);
}

.highlight {
  font-weight: 700;
}

.custom-card {
  border: 1px solid #e9e9e9;
  background-color: var(--color-white);
  transition: box-shadow 0.2s ease;
  padding: 40px;
  border-radius: 24px;
}

.custom-card h5 {
  font-size: 1.75rem;
  color: var(--primary-text-color);
}

.custom-card small {
  font-size: 18px;
  color: var(--color-black);
}

.custom-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.custom-card img {
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

.custom-card p {
  font-size: 18px;
  color: #666666;
}
.svg-hover{
  transition: all 0.2 ease-in;
}

.svg-bg{
  background: var(--bg-light-purple);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

.svg-hover:hover .svg-bg{
  background: var(--primary-color);
}

.svg-hover:hover .svg-bg svg path{
  stroke: var(--color-white);
}

.key-container {
  border-radius: 24px;
  padding: 8rem 1rem;
  text-align: center;
}

.key-container.bg-purple {
  background-color: var(--bg-light-purple);
}

.key-container.bg-gray {
  background-color: var(--bg-light-gray);
}

.key-container .key-content-box {
  position: relative;
  z-index: 2;
  max-width: 930px;
  margin: 0 auto;
}

.key-container .key-content-box p {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1.2;
  color: var(--primary-text-color);
}

.key-container .key-content-box p img {
  max-width: 48px;
}

.key-container .key-content-box p img.quote {
  position: absolute;
  top: -20px;
  left: 1px;
}

.key-image {
  width: 100%;
  margin-top: -2rem;
  margin-bottom: -2.5rem;
}

.custom-card .key-image img {
  max-width: 316px;
  height: auto;
  object-fit: contain;
}

.key-content h6 {
  font-size: 28px;
  color: var(--primary-text-color);
}
.key-content p {
  font-size: 16px;
}

.form-card {
  border-radius: 24px;
  padding: 80px;
  background-color: var(--hero-bg-color);
}

.contact-form-section label {
  font-size: 18px;
  color: var(--color-black);
}

.contact-form-section input.form-control,
select.form-select,
textarea.form-control {
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
}

.contact-form-section::placeholder {
  font-size: 16px;
  font-weight: 500;
  color: var(--placeholder-color);
}

.bottom-section {
  background: linear-gradient(85deg, #59a4c2 60.76%, #0e475e 113.28%), #838383;
  padding: 5rem 0 2rem 0;
}

.bg-bottom-texture {
  background: url("assets/images/bg-gradient.png") no-repeat center center;
  background-size: cover; /* Zoom the background */
  mix-blend-mode: luminosity;
  filter: brightness(1.8) contrast(0.7) blur(6px);
  position: absolute;
  inset: 0;
}

.top-section,
.bottom-section-footer {
  position: relative;
  z-index: 2;
  color: #f6f2ec;
}

.top-section h2 {
  font-size: 60px;
}

.top-section p {
  max-width: 735px;
  margin: 0 auto;
  color: var(--color-white);
  font-size: 20px;
}

.bottom-btn {
  background-color: #f6f2ec;
  color: #094046;
  border: none;
  padding: 10px 32px 12px 32px;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 1.5rem;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}

.bottom-btn:hover{
  transform: scale(0.9);
}

.footer {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--heading-color-lg);
  border-bottom: 1px solid var(--heading-color-lg);
  width: 100%;
  padding: 40px 80px;
}
.footer-heading {
  font-size: 2rem;
  color: var(--color-white);
}

.footer-heading-2 {
  font-size: 34px;
  color: var(--color-white);
}

.footer-para {
  font-size: 16px;
  color: var(--color-white);
}

.footer-links {
  list-style: none;
  padding: 0;
  display: inline-flex;
  gap: 30px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links li a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 20px;
  font-weight: 300;
}
.footer-links li a:hover {
  color: var(--primary-color);
}

.newsletter {
  font-size: 17px;
  color: var(--color-white);
}

.newsletter-form input.form-control {
  border-radius: 0.5rem;
  border: 1px solid var(--color-white);
  padding: 0.75rem 2rem;
  background-color: transparent;
  color: var(--color-white);
  font-size: 17px;
}

.newsletter-form input.form-control::placeholder {
  color: var(--color-white);
  font-size: 17px;
}

.newsletter-form .btn-subscribe {
  background-color: var(--color-white);
  color: #094046;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.newsletter-form .btn-subscribe:hover {
  background-color: #e0e0e0;
}

.close-btn {
  position: absolute;
  top: 0;
  right: 20px;
  padding: 10px;
  background: transparent;
  border: navajowhite;
  color: #fff;
  font-size: 48px;
}

/* Mobile responsiveness */
@media only screen and (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .padding-lr-lg {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hamburger {
    display: block;
  }
  .header-container {
    padding: 12px 20px;
  }

  /* Hamburger animation when open */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  .footer {
    padding: 40px 20px;
  }
  .form-card {
    padding: 40px 20px;
  }
  .top-section h2 {
    font-size: 32px;
  }
  .top-section p {
    font-size: 15px;
    max-width: 350px;
  }
  .about-content h3 {
    font-size: 35px;
  }
  .key-container .key-content-box p {
    font-size: 25px;
  }
  .custom-card {
    padding: 40px 20px;
  }
  .key-container .key-content-box p img.quote {
    top: -40px;
  }
  .content-box p {
    font-size: 1rem;
  }
  .about-card {
    padding: 24px 20px;
  }
  .hero-content-box .heading h1 {
    font-size: 35px;
  }

  .hero-tag .tag {
    font-size: 11px;
    text-wrap: nowrap;
    padding: 5px 11px;
  }
  .hero-client-logo {
    gap: 10px;
  }
  .hero-client-logo img {
    max-width: 100px;
  }
  .about-grid-card {
    grid-template-columns: 1fr;
  }
  .custom-card .key-image img {
    max-width: 200px;
  }
  .key-image {
    margin-bottom: 0;
  }
  .key-content h6 {
    font-size: 22px;
  }
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
  }
  .heading-slide {
    height: 50px;
  }
  .hero-section {
    padding: 0 10px;
  }
  .hero-box-container-section {
    padding: 20px 2px;
  }
  .padding-tb-lg {
    padding-top: 40px;
  }
  .hero-animation-background.single-bg img{
    width: 300%;
  }
}

@media (min-width: 768px) {
  .padding-lr-lg {
    padding-left: 50px;
    padding-right: 50px;
  }
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1150px) {
  .key-container .key-content-box p {
    font-size: 2rem;
  }
  .key-container .key-content-box p img.quote {
    top: -40px;
  }
  .custom-card .key-image img {
    max-width: 150px;
  }
  .custom-card {
    padding: 40px 20px;
  }
  .key-image {
    margin-bottom: 0;
  }
  .key-content h6 {
    font-size: 22px;
  }
  .hero-client-logo {
    gap: 50px;
  }
  .form-card {
    padding: 40px;
  }
  .hero-client-logo img {
    max-width: 120px;
  }
  .author-image-card {
    min-height: 850px;
  }
  .header-container {
    padding: 25px 50px;
  }
  .custom-card img {
    max-width: 200px;
  }
  .padding-tb-lg {
    padding-top: 50px;
  }
  .hero-animation-background.single-bg img{
    width: 150%;
  }
}

@media (min-width: 992px) {
  .padding-lr-lg {
    padding-left: 80px;
    padding-right: 80px;
  }
}
@media (min-width: 1200px) {
  .padding-lr-lg {
    padding-left: 100px;
    padding-right: 100px;
  }
  .custom-card .key-image img {
    max-width: 250px;
  }
}

@media (min-width: 1600px) {
  .padding-lr-lg {
    padding-left: 200px;
    padding-right: 200px;
  }
  .hero-content {
    max-width: 1050px;
    margin: 0 auto;
  }
}
