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

:root {
  --beige: #eae7de;
  --gold: #c59022;
  --lgold: #d4ad5b;
  --green: #1b4544;
  --black: #000000;
  --white: #ffffff;
  --grey: #8d8d8d;
  --lgrey: #e8eded;
}

body {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  overflow-x: hidden;
}

* {
  font-family: "Roboto", sans-serif;
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.common-btn {
  background-color: var(--green);
  border-radius: 30px;
  padding: 10px 30px;
  color: var(--lgold);
  text-transform: uppercase;
  border: unset;
}

.common-btn:hover {
  color: var(--white);
}

svg path {
  stroke: var(--lgold);
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 5s forwards ease;
}

#part2 path {
  animation-delay: 2s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

svg {
  height: auto;
  width: 100%;
}

/*  Download brochure  */
.floating-brochure-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--green);
  color: var(--lgold);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  z-index: 9999;
  transition: all 0.3s ease;
}

.floating-brochure-btn:hover {
  background-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 768px) {
  .floating-brochure-btn {
    display: none;
  }
}


/* Navbar */
.keystone-nav {
  display: flex;
  justify-content: center !important;
  align-items: flex-end !important;
  background: var(--white);
  position: relative;
  border-bottom: 0.5px solid var(--lgold);
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 20px;
  width: 40%;
}
.nav-left{
    justify-content: right;
}
.nav-left a,
.nav-right a {
  text-decoration: none;
  color: var(--green);
  font-size: 16px;
  font-weight: 200;
  transition: color 0.3s;
}

.nav-left a:hover,
.nav-right a:hover {
  color: var(--gold);
}

.nav-logo {
  padding: 0 40px;
}

.nav-logo img {
  height: 100px;
  max-width: 100%;
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  transition: all 0.3s ease;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--green);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 20px;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--green);
  padding: 10px 0;
  font-size: 18px;
}

/* homepage banner section  */
.home-banner-wrapper {
  background-color: var(--white);
  padding-top: 150px;
  padding-bottom: 150px;
}

.hb-heading h1 {
  font-size: 60px;
  font-weight: 200;
  color: var(--green);
}

.hb-heading h1 span {
  font-weight: 400;
}

.hb-subheading {
  width: 70%;
}

.hb-subheading p {
  font-weight: 300;
  padding: 20px 0px;
  color: var(--green);
}

.hb-img-wrapper img,
.hb-img-wrapper svg {
  height: auto;
  width: 100%;
}

/* ticker section  */
.services-strip {
  background-color: var(--beige);
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
}

.services-container {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 30s linear infinite;
  animation-play-state: running;
}

.services-strip:hover .services-container {
  animation-play-state: paused;
}

.services-container p {
  display: inline-block;
  font-size: 20px;
  font-weight: 200;
  color: var(--green);
  margin: 0;
  padding-left: 100%;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}


/* family legacy section  */
.family-legacy-section {
  background-color: var(--green);
  color: var(--white);
}

.family-legacy-image img {
  height: auto;
  width: 100%;
}

.family-legacy-content {
  padding-left: 50px;
}

.family-legacy-content h2 {
  font-size: 40px;
  font-weight: 400;
  color: var(--gold);
  padding-bottom: 20px;
  opacity: 70%;
}

.family-legacy-content h3 {
  font-size: 26px;
  font-weight: 200;
  font-style: italic;
  padding-bottom: 20px;
  color: var(--white);
}

.family-legacy-content p {
  font-size: 16px;
  font-weight: 200;
  line-height: 1.7;
}

/* why choose us section  */
.wcu-section {
  padding-bottom: 0px;
}

.wcu-heading {
  color: var(--green);
  border-bottom: 0.5px solid var(--lgrey);
  font-size: 16px;
  font-weight: 200;
  margin-bottom: 70px;
}

.hkh-heading {
  padding-bottom: 50px;
  font-weight: 200;
}

.wcu-card {
  background-color: rgb(234 231 222 / 40%);
  padding: 30px 40px;
}

.wcu-card h5 {
  color: var(--green);
  font-weight: 300;
}

.wcu-card p {
  color: var(--grey);
  font-size: 16px;
  font-weight: 300;
}

.wcu-svg path {
  stroke-width: 1;
}

/* our unique approach */
.approach-section {
  background-image: url("../media/images/oup-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative;
}

.approach-text {
  padding: 20px 80px;
  max-width: 60%;
}

.approach-text h2 {
  font-weight: 200;
  font-size: 60px;
}

.approach-text p {
  font-size: 28px;
  font-style: italic;
  color: var(--lgold);
  font-weight: 200;
  padding-top: 20px;
}

.card-custom {
  position: relative;
  background-color: var(--beige);
  height: 310px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
}

.card-custom-b {
  background-color: var(--white);
}

.card-custom img.icon {
  height: auto;
  width: 280px;
  transition: transform 0.3s ease;
}

.card-custom h5 {
  font-size: 30px;
  font-weight: 200;
  color: var(--green);
  transition: opacity 0.3s ease;
  display: block;
  padding: 50px;
}

.card-details {
  max-height: 0;
  transition: opacity 0.4s ease, max-height 0.4s ease;
  overflow: hidden;
  font-size: 16px;
  color: var(--green);
  display: none;
}

.card-custom:hover {
  background-color: var(--green);
}

.card-custom:hover .card-details {
  display: block;
  max-height: 500px;
  color: var(--white);
  font-weight: 200;
  text-align: end;
  padding-left: 80px;
  padding-right: 0px;
}

.card-custom:hover h5 {
  display: none;
}

.card-custom:hover img.icon {
  transform: scale(1.5);
}

.card-custom-b:hover .card-details {
  text-align: left;
  padding-left: 0px;
  padding-right: 70px;
}

/* legacy section */
.legacy-section {
  padding-bottom: 100px;
}

.legacy-image img {
  max-width: 100%;
  height: auto;
}

.legacy-content {
  padding-right: 15%;
}

.tagline {
  font-size: 24px;
  font-weight: 200;
  font-style: italic;
  color: var(--grey);
}

.headline {
  font-size: 35px;
  font-weight: 200;
  color: var(--green);
  padding: 20px 0px;
}

.cta-button {
  color: var(--white);
}

.cta-button:hover {
  color: var(--gold);
}

.quote-icon img {
  height: 70px;
  width: auto;
}

/* CTA  */
.connect-section {
  background-color: var(--green);
  color: var(--white);
  padding: 50px 0px;
}

.connect-title {
  font-size: 45px;
  font-weight: 200;
  color: var(--grey);
}

.connect-title span {
  color: var(--white);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon img {
  width: 50px;
  height: 50px;
}

.contact-text a {
  text-decoration: none;
  color: var(--white);
  font-weight: 200;
}

.contact-text a:hover {
  color: var(--lgold);
}

/* footer  */
.footer {
  background-color: var(--lgold);
  color: var(--white);
  padding: 40px 0px 10px;
}

.social-icons a {
  text-decoration: none;
}

.social-icons a img {
  height: 25px;
  width: 25px;
  margin-right: 20px;
}

.footer .social-icons a img:hover {
  transform: scale(1.2);
}

.footer-logo {
  margin: 30px auto 10px;
  max-width: 120px;
}

.copyright p {
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
}

.copyright p a {
  text-decoration: none;
  color: var(--white);
}

/* Responsive CSS */
@media (max-width: 768px) {
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hkh-heading {
    padding-bottom: 20px;
  }

  /* navbar  */
  .nav-logo img {
    height: 40px;
  }

  .keystone-nav {
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 0px !important;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu.active {
    display: flex;
  }

  .nav-logo {
    order: -1;
    padding: unset;
  }

  /* banner  */
  .home-banner-wrapper {
    padding: 40px 0;
  }

  .hb-heading h1 {
    font-size: 45px;
  }

  /* ticker section  */
  .services-strip {
    padding: 20px 0;
  }

  .services-container p {
    font-size: 14px;
  }

  /* family legacy section  */
  .family-legacy-content {
    padding: 20px 10px;
  }

  .family-legacy-content h2 {
    font-size: 35px;
    padding-bottom: 10px;
  }

  .family-legacy-content h3 {
    font-size: 18px;
    padding-bottom: 10px;
  }

  .family-legacy-content p {
    margin-bottom: unset;
  }

  /* why choose us  */
  .wcu-heading {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .wcu-card {
    margin-bottom: 20px;
  }

  /* our unique approach  */
  .oup-section {
    padding-top: unset;
  }

  .approach-section {
    background-size: cover;
    height: 70vh;
  }

  .approach-text {
    padding: 20px;
    max-width: 55%;
  }

  .approach-text h2 {
    font-size: 28px;
  }

  .approach-text p {
    font-size: 16px;
    margin-bottom: unset;
    padding-top: 10px;
  }

  .card-custom {
    height: auto;
    padding: 20px;
  }

  .card-custom .card-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .hover-content p {
    font-size: 14px;
  }

  /* legacy section  */
  .legacy-section {
    padding: 50px 20px;
    text-align: center;
  }

  .card-custom img.icon {
    width: 150px;
  }

  .card-custom h5 {
    padding: 20px;
    margin-bottom: 0px;
    font-size: 22px;
  }

  /* .legacy-content  */
  .legacy-content {
    padding-right: unset;
  }

  .quote-icon {
    text-align: start;
  }

  .tagline {
    font-size: 16px;
  }

  .headline {
    font-size: 26px;
  }

  /* CTA  */
  .connect-title {
    font-size: 28px;
    text-align: center;
  }

  .connect-content {
    justify-content: center;
    flex-direction: column;
  }

  /* footer  */
  .social-icons {
    text-align: center;
  }
}


.blog-card {
  background: var(--white);
  border: 1px solid var(--lgrey);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.blog-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-content {
  background-color: var(--white);
}

.blog-title {
  font-size: 20px;
  color: var(--green);
  font-weight: 400;
  margin-bottom: 10px;
}

.blog-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--grey);
  margin-bottom: 15px;
}

.blog-link {
  color: var(--lgold);
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-link:hover {
  color: var(--gold);
}

.blog-detail-banner {
  background-color: var(--white);
  padding-top: 80px;
  padding-bottom: 80px;
}

.blog-detail-banner h1 {
  font-size: 48px;
  font-weight: 200;
  color: var(--green);
}

.blog-detail-banner h1 span {
  color: var(--gold);
  font-weight: 400;
}

.blog-detail-banner p {
  font-size: 18px;
  font-weight: 300;
  color: var(--grey);
}

article h2, article h3, article h4 {
  color: var(--green);
  font-weight: 300;
  margin-top: 30px;
  margin-bottom: 15px;
}

article p, article ul {
  font-size: 16px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.8;
}

article ul {
  padding-left: 20px;
}

article ul li {
  margin-bottom: 10px;
}

.contact-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--beige);
  padding: 40px;
  border-radius: 10px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: var(--white);
  color: var(--black);
  font-size: 16px;
  border: 1px solid var(--lgrey);
  border-radius: 5px;
  padding: 15px;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form .common-btn {
  width: fit-content;
  align-self: start;
  margin-top: 10px;
}

.contact-info-box {
  flex: 0.8;
  min-width: 280px;
  background-color: var(--green);
  color: var(--white);
  padding: 40px;
  border-radius: 10px;
}

.contact-info-box h3 {
    margin-bottom: 20px;
    color: var(--lgold);
    font-size: 52px;
    font-weight: 200;
}

.contact-info-box p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

.contact-info-box a {
  color: var(--white);
  text-decoration: none;
}

.contact-info-box a:hover {
  color: var(--lgold);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info-box {
    margin-top: 40px;
  }
}

.story-banner h1 span {
  color: var(--lgold);
}

.story-values h2 {
  margin-bottom: 40px;
}

.story-values div h4 {
  margin-bottom: 10px;
  font-size: 22px;
}


.signature-svg {
  width: 100%;
  height: 100px;
}

.signature-text {
  font-size: 3rem;
  font-weight: 100;
  fill: none;
  stroke: var(--gold);
  opacity: 0.7;
  stroke-width: 1;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: draw 20s ease forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
























/* Keystone Legacy Circle Section */
.legacy-circle-ui {
  background-color: var(--beige, #f9f7f2);
  color: var(--green, #1b4544);
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.circle-header h2 {
  font-size: 40px;
  font-weight: 300;
}
.circle-header h2 span {
  font-weight: 500;
}
.circle-header .sub {
  font-style: italic;
  font-weight: 300;
  color: var(--grey, #8d8d8d);
  margin: 10px 0 20px;
}
.circle-header .desc {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

.circle-structure {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto;
}

.circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background-color: var(--green);
  color: var(--white);
  border-radius: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.circle-center h3 {
    font-size: 30px;
    font-weight: 200;
    margin-bottom: 10px;
}
.circle-center p {
  font-weight: 300;
}

.circle-center h3,
.circle-center p {
  opacity: 0;
  display:none;
  transition: opacity 0.3s ease;
}

.circle-center img {
  height: 120px;
  transition: height 0.3s ease;
}

.circle-center.show h3,
.circle-center.show p {
  opacity: 1;
  display:block;
  transition: opacity 0.3s ease;
}

.circle-center.show img {
  height: 50px;
  margin-bottom: 20px;
}

.circle-item {
  position: absolute;
  top: 41%;
  left: 41%;
  transform: rotate(calc(var(--i) * 45deg)) translate(220px) rotate(calc(var(--i) * -45deg));
  width: 110px;
  height: 110px;
  background: var(--lgold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-weight: 400;
  font-size: 11px;
  text-align: center;
  padding: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 2;
}

.circle-item:nth-child(1), .circle-item:nth-child(9) {
    width: 80px;
    height: 80px;
    background: var(--white);
    top: 47%;
    left: 43%;
}

.circle-item:nth-child(3) {
    width: 80px;
    height: 80px;
    background: var(--white);
    top: 41%;
    left: 42%;
}

.circle-item:nth-child(5){
    width: 80px;
    height: 80px;
    background: var(--white);
    top: 41%;
    left: 45%;
}

.circle-item:nth-child(7) {
    width: 80px;
    height: 80px;
    background: var(--white);
    top: 46%;
    left: 44%;
}

.circle-item:hover {
  background-color: var(--gold, #c59022);
  color: var(--white);
  transform: scale(1.1) rotate(calc(var(--i) * 45deg)) translate(220px) rotate(calc(var(--i) * -45deg));
}


.partners-flip {
  background-color: var(--beige);
  text-align: center;
}

.partners-flip .section-heading {
font-weight: 200;
font-size: 60px;
  color: var(--green);
  margin-bottom: 60px;
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  justify-items: center;
}

.flip-card {
  background: transparent;
  width: 100%;
  height: 400px;
  perspective: 1000px;
  border-radius: 0;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.flip-card-front img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 10px;
}

.flip-card-front h4 {
    font-size: 28px;
    font-weight: 200;
    color: var(--green);
    padding: 0;
    margin: 0 20px;
}

.flip-card-front p {
    font-size: 22px;
    font-style: italic;
    color: var(--lgold);
    font-weight: 200;
    padding: 0;
    margin: 0 20px;
}

.flip-card-back {
  transform: rotateY(180deg);
  background-color: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  padding: 20px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.flip-card-back h4 {
  color: var(--lgold);
  font-size: 28px;
  font-style: italic;
  font-weight: 200;
  text-align: center;
  margin: 30px auto auto auto;
  padding-top: 0;
}

.flip-card-back p {
    color: var(--white);
  margin: auto;
    padding: 0;
    font-size: 16px;
    font-weight: 200;
    font-style: italic;
}

.flip-card-back .flip-btn {
  display: inline-block;
  padding: 8px 18px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--gold);
  background-color: var(--green);
  color: var(--white);
  border-radius: 25px;
  margin: auto auto 30px auto;
  text-decoration: none;
  transition: all 0.3s ease;
}

.flip-card-back .flip-btn:hover {
  background-color: var(--gold);
  transition: all 0.3s ease;
}




/* Mobile */
@media (max-width: 768px) {
  .circle-structure {
    width: 80vw;
    height: 80vw;
  }
  .circle-center {
    width: 250px;
    height: 250px;
    padding: 20px;
  }
  .circle-item {
    top: 40%!important;
    left: 40%!important;
    width: 60px;
    height: 60px;
    font-size: 12px;
    transform: rotate(calc(var(--i) * 45deg)) translate(130px) rotate(calc(var(--i) * -45deg));
    transition: 0.3s ease;
  }
.circle-item:hover{
  top: 60% !important;
  left: 20% !important;
  transition: 0.3s ease;
}
.circle-item:nth-child(1):hover
.circle-item:nth-child(9):hover,{
  top: 10% !important;
  left: 40% !important;
  transition: 0.3s ease;
}
.circle-item:nth-child(2):hover {
  top: 40% !important;
  left: 10% !important;
  transition: 0.3s ease;
}
.circle-item:nth-child(3):hover {
  top: 15% !important;
  left: 18% !important;
  transition: 0.3s ease;
}
.circle-item:nth-child(4):hover {
  top: 10% !important;
  left: 40% !important;
  transition: 0.3s ease;
}
.circle-item:nth-child(5):hover {
  top: 15% !important;
  left: 53% !important;
  transition: 0.3s ease;
}
.circle-item:nth-child(6):hover {
  top: 40% !important;
  left: 70% !important;
  transition: 0.3s ease;
}
.circle-item:nth-child(7):hover {
  top: 60% !important;
  left: 53% !important;
  transition: 0.3s ease;
}
.circle-item:nth-child(8):hover {
  top: 70% !important;
  left: 40% !important;
  transition: 0.3s ease;
}
.circle-center img {
  height: 80px;
  transition: 0.3s ease;
}
.circle-center.show img {
  height: 40px;
  transition: 0.3s ease;
}
.circle-center h3 {
    font-size: 22px;
}
.circle-center p {
    font-size: 12px;
}
.partners-flip .section-heading {
    font-size: 45px;
    margin-bottom: 30px;
}
.flip-grid {
    gap: 20px;
}
.flip-card-front img {
    object-position: top;
    height: 310px;
}
}