
.manrope-<uniquifier> {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.fraunces-<uniquifier> {
  font-family: "Fraunces", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 0;
}
body {
  position: relative;
  margin: 0px;
  padding: 0px;
  font-family: Manrope;
}
ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}
li {
    display: list-item;
    unicode-bidi: isolate;
}
a {
    text-decoration: none;
    color: #7e7e7e;
}
h2 {
  font-size: 44px;
  line-height: 1.2;
  margin: 20px 0;
  font-weight: 400;
  color: #1f1f1f;
  font-family: "Fraunces", serif;
}
.header {
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 9999;
  background-color: #f8f8f8;
  box-shadow: 1px 1px 15px #00000042;
}
.header .container {
  display: flex;
  justify-content: space-between;
}
.header .menu {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  margin-left: 10px;
}
.header .menu ul {
    display: block;
    list-style: none;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    line-height: normal;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.header .menu ul li {
  display: block;
}
.header .menu ul li a {
  padding: 13px 10px;
  font-weight: 400;
  font-family: 'Fraunces';
  font-size: 16px;
  color: #333;
  transition: all .3s;
}
.logo {
  width: 80px;
  margin-bottom: 0px;
  overflow: hidden;
}
.logo img {
  width: 100%;
}
.container {
   width: 1280px;
   max-width: 90%;
   margin: 0px auto;
}
.banner {
  padding: 200px 0 150px;
  min-height: 100px;
  margin-top: 90px;
  background-image: url("../images/banner1.jpg");
  background-size: cover;
}
.bannerleft {
  width: 50%;
}
.mainlogo {
  position: absolute;
  right: 0px;
  top: 0%;
  width: 100px;
}
.banner h1 {
  color: #fff;
  padding: 10px 0;
  margin: 0px;
  font-size: 60px;
  line-height: 1.25;
  font-family: Fraunces;
  font-weight: 400;
  font-style: normal;
}
.banner h2 {
  color: #fff;
  font-weight: 500;
  font-size: 20px;
}
h6 {
  color: #333;
  padding: 10px 0;
  margin: 0px;
  font-size: 48px;
  line-height: 1.25;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-style: normal;
}
.banner-btn {
  background-color: rgb(246 212 4);
  border-radius: 40px;
  padding: 15px 30px;
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  color: #000;
}
.upan {
  padding: 30px 0 50px;
  position: relative;
  background-color: #f7f4ef;
}
.upan .item {
  border-radius: 10px;
  overflow: hidden;
}
.member-label {
    display: flex;
    background-color: #fff;
    border-radius: 40px;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    padding: 2px 15px;
    position: absolute;
    top: 8px;
    left: 8px;
}
.member-item__thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
}
.member-item__content {
    padding-top: 15px;
    text-align: center;
}
.member-item__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 16px;
    color: #7e7e7e;
}
.member-item__date {
    display: flex;
    flex-wrap: wrap;
}
.member-item__title {
    color: #000;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    display: block;
    margin-bottom: 10px !important;
}
.member-item__info-label {
  color: #888888;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 0px;
  margin-top: 10px;
}
.btn {
  background-color: rgb(246 212 4);
  border-radius: 40px;
  padding: 10px 25px;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}
.events-section {
  background: #f7f3ea;
  padding: 80px 60px;
}

/* Left Content */
.events-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6b6b6b;
}



.events-desc {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  color: #6b6b6b;
  margin:  0px auto;
}

.events-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #1f1f1f;
  margin-top: 20px;
}

.events-link .arrow {
  width: 32px;
  height: 32px;
  background: #f4c430;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards */
.events-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.event-card {
  position: relative;
  height: 420px;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-6px);
}

.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}

/* Date Badge */
.event-date {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  z-index: 2;
}

/* Title */
.event-title {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  font-size: 20px;
  color: #fff;
  line-height: 1.3;
  z-index: 2;
  font-weight: 400;
  font-family: "Fraunces", serif;
}

/* Background Images */
.card-1 {
  background-image: url("https://images.unsplash.com/photo-1528605248644-14dd04022da1");
}

.card-2 {
  background-image: url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac");
}

.card-3 {
  background-image: url("https://images.unsplash.com/photo-1517457373958-b7bdd4587205");
}

/* Responsive */
@media (max-width: 1024px) {
  .events-section {
    grid-template-columns: 1fr;
  }

  .events-cards {
    grid-template-columns: 1fr;
  }
}
.connect-section {
  background: #f7f4ef;
  padding: 80px 60px;
}

.connect-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Cards */
.connect-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.connect-card {
  background: #fff;
  padding: 34px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.connect-card .icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.connect-card h4 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #1f1f1f;
  font-weight: 400;
  font-family: "Fraunces", serif;
}

.connect-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  color: #1f1f1f;
}

.connect-card a span {
  width: 28px;
  height: 28px;
  background: #f4c430;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Right Content */
.connect-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6b6b6b;
}

.connect-content h2 {
  font-size: 46px;
  line-height: 1.15;
  margin: 20px 0;
  color: #1f1f1f;
}

.connect-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #6b6b6b;
  margin-bottom: 32px;
  max-width: 420px;
}

.connect-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #f4c430;
  color: #000;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .connect-grid {
    grid-template-columns: 1fr;
  }

  .connect-cards {
    grid-template-columns: 1fr;
  }
}
.events-content {
  text-align: center;
  margin-bottom: 50px;
}
.owl-dots {
  display: none;
}
.upan .owl-nav {
  position: absolute;
  right: 0px;
  top: -60px;
  display: flex;
  gap: 5px;
}

.upan button.owl-prev,
.upan button.owl-next {
  background-color: #e1e1e1 !important;
  width: 40px;
  height: 40px;
  border-radius: 150px;
  padding: 10px;
  margin-top: -10px !important;
  display: block !important;
  font-size: 25px !important;
}
.site-footer {
  background: #3d3732;
  color: #d8d4ce;
  padding: 80px 60px 30px;
  font-family: inherit;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

/* Brand */
.footer-brand .brand-icon {
  font-size: 28px;
  margin-bottom: 20px;
}
.footer-brand .brand-icon img {
  width: 100px;
}
.footer-brand h3 {
  font-size: 16px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 380px;
  line-height: 1.6;
  color: #bdb8b2;
}

/* Columns */
.footer-col h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li {
  margin-bottom: 14px;
}
.footer-col a {
  text-decoration: none;
  color: #bdb8b2;
  font-size: 15px;
}
.footer-col a:hover {
  color: #fff;
}
/* Newsletter */
.newsletter-text {
  color: #bdb8b2;
  line-height: 1.6;
  max-width: 260px;
}

/* Bottom */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  font-size: 14px;
  color: #bdb8b2;
  text-align: center;
}

/* Social */
.social-icons a {
  margin-right: 16px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Payments */
.payments span {
  margin-left: 14px;
  font-size: 12px;
  background: rgba(255,255,255,0.1);
  padding: 6px 8px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.family-tree {
  background: #f6f3ef;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  font-family: inherit;
}

/* Person Card */
.person-card {
  width: 260px;
  background: #fff;
  border-radius: 18px;
  padding: 26px 20px 28px;
  text-align: center;
  position: relative;
}

.person-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.person-card h4 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 6px;
  color: #1f1f1f;
}

.person-card span {
  font-size: 16px;
  color: #8b8b8b;
}

/* Color Accents */
.person-card.peach {
  border-top: 4px solid #f0c7a6;
}

.person-card.blue {
  border-top: 4px solid #c9e4f6;
}

/* Tree Structure */
.tree-node {
  position: relative;
}

.tree-node::after {
  content: "";
  width: 2px;
  height: 40px;
  background: #cfcfcf;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -40px;
}

.tree-node.top::after {
  height: 50px;
}

/* Heart Connector */
.connector.heart {
  width: 34px;
  height: 34px;
  background: #f4d3bf;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 20px;
  font-size: 16px;
}

/* Branch */
.branch {
  position: relative;
  display: flex;
  gap: 140px;
  margin-top: 40px;
}

.branch::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  width: 60%;
  height: 2px;
  background: #cfcfcf;
  transform: translateX(-50%);
}

.child {
  position: relative;
}

.child::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  width: 2px;
  height: 20px;
  background: #cfcfcf;
  transform: translateX(-50%);
}

/* Share Icon */
.share {
  width: 30px;
  height: 30px;
  background: #d9ecf8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin: 0 auto 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .branch {
    flex-direction: column;
    gap: 60px;
  }

  .branch::before {
    display: none;
  }
}
.profile-hero {
  background: #ffffff;
  padding: 140px 20px 120px;
  text-align: center;
  font-family: inherit;
}

/* Avatar */
.profile-avatar {
  margin-bottom: 40px;
}

.profile-avatar img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

/* Name */
.profile-name {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: #000;
  width: 680px;
  font-family: "Fraunces", serif;
  margin: 0px auto 25px;
}

/* Date */
.profile-date {
  font-size: 20px;
  color: #5f5f5f;
  margin-bottom: 48px;
}

/* Button */
.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: #f5d400;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  border-radius: 16px;
  text-decoration: none;
}

.profile-btn .icon {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-name {
    font-size: 42px;
  }

  .profile-avatar img {
    width: 140px;
    height: 140px;
  }
}
.members-section {
  background: #f6f3ef;
  padding: 100px 0;
}

/* Grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
}

/* Card */
.member-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 20px 28px;
  text-align: center;
}

.member-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.member-year {
  display: block;
  font-size: 14px;
  color: #8a8a8a;
  margin-bottom: 8px;
}

.member-card h4 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 18px;
  color: #1f1f1f;
}

/* View Tree */
.tree-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  color: #000;
}

.tree-link span {
  width: 28px;
  height: 28px;
  background: #f5d400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 60px;
}

.page {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #1f1f1f;
}

.page.active {
  width: 36px;
  height: 36px;
  background: #000;
  color: #fff;
  border-radius: 50%;
}

.page.next {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
  .members-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .members-grid {
    grid-template-columns: 1fr;
  }
}
.profile-details {
  background: #f7f4ef;
  padding: 80px 60px;
  max-width: 1200px;
  margin: auto;
}

.detail-block {
  padding: 50px 0;
  border-bottom: 1px solid #e6e2dc;
}

.detail-block h2 {
  font-size: 26px;
  margin-bottom: 30px;
}

/* Grid for labels */
.detail-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  row-gap: 22px;
}

.detail-grid.small {
  grid-template-columns: 120px 1fr;
}

.label {
  color: #777;
  font-size: 14px;
}

.value {
  font-weight: 500;
}

/* Tags */
.tags span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: #fff;
  margin-right: 10px;
  font-size: 13px;
}

/* Avatar inline */
.avatar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 36px;
}

.time {
  font-size: 14px;
  color: #777;
}

.content strong {
  display: block;
  font-size: 16px;
}

.content span {
  display: block;
  font-size: 13px;
  color: #999;
  margin: 4px 0 10px;
}

.content p {
  font-size: 14px;
  color: #666;
  max-width: 560px;
}

/* Attachments */
.attachments {
  display: flex;
  gap: 20px;
}

.file {
  background: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

/* Quote */
.profile-quote {
  font-size: 26px;
  text-align: center;
  font-family: serif;
  margin: 70px 0 20px;
}

/* CTA */
.view-photos {
  display: block;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  color: #000;
}
.personal-info {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

/* LEFT CONTENT */
.info-left h1 {
  font-size: 44px;
  margin-bottom: 20px;
}

.description {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.8;
  color: #6b6b6b;
  margin-bottom: 40px;
}

.show-more {
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

/* INFO LIST */
.info-list {
  display: grid;
  row-gap: 18px;
  margin-bottom: 40px;
}

.row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
}

.row span {
  color: #8a8a8a;
  font-size: 14px;
}

.row strong {
  font-weight: 600;
  font-size: 15px;
}

.gender {
  background: #f0c7ad;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  margin-left: 6px;
}

/* SOCIAL */
.social {
  display: flex;
  gap: 18px;
  font-size: 18px;
}

/* ACTION BUTTONS */
.actions {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.btn.primary {
  background: #000;
  color: #fff;
  border: none;
}

.btn.outline {
  background: transparent;
  border: 1px solid #ddd;
}

/* RIGHT IMAGE */
.info-right img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}
.family-book {
  background: #fff;
  padding: 80px 60px;
}

.book-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* BOOK IMAGE */
.book-cover img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* CONTENT */
.book-content h2 {
  padding-top: 0px;
  margin-top: 0px;
  margin-bottom: 20px;
}

.book-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #6b6b6b;
  max-width: 520px;
  margin-bottom: 36px;
}

/* BUTTONS */
.book-actions {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
}

.btn.primary {
  background: #f5d400;
  color: #000;
  font-weight: 600;
}

.btn.secondary {
  border: 1px solid #ddd;
  color: #000;
  background: transparent;
}
.haru-member-timeline--vertical {
    padding: 20px 0 170px;
    position: relative;
}
.haru-member-timeline--vertical .timeline-item {
    position: relative;
    padding-left: 50%;
    z-index: 1;
}
.haru-member-timeline--vertical .timeline-item.member-style-1 .timeline-date {
  position: absolute;
  display: inline-block;
  right: 50%;
  margin-right: 60px;
  margin-top: 12px;
  padding: 10px 25px;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  border: 2px solid #7e7e7e;
  border-radius: 40px;
  background-color: #02010100;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  color: #7e7e7e;
}
.haru-member-timeline--vertical .timeline-content {
    padding-left: 40px;
}
.haru-member-timeline--vertical .timeline-member-list {
    padding: 0;
    margin: 0;
    list-style: none;
}
.haru-member-timeline .timeline-member.style-1 .timeline-member-wrap {
    display: inline-block;
    position: relative;
    padding: 20px 30px 20px 120px;
    border-radius: 50px;
    background-color: #f0cdba;
}
.haru-member-timeline .timeline-member.style-1 .timeline-member-thumbnail {
  position: absolute;
  top: 50%;
  left: -10px;
  border-radius: 50%;
  border: 4px solid #f0cdba;
  overflow: hidden;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.haru-member-timeline .timeline-member.style-1.male .timeline-member-wrap {
    background-color: #c6e1f1;
}
.haru-member-timeline .timeline-member.style-1 .timeline-member-thumbnail a {
  position: relative;
  display: block;
  width: 100px;
  height: 100px;
}
.haru-member-timeline .timeline-member.style-1 .timeline-member-thumbnail a img {
  width: 100%;
  height: auto;
}
.haru-member-timeline--vertical .timeline-item {
  position: relative;
  padding-left: 50%;
  z-index: 1;
}
.haru-member-timeline--vertical:before {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  margin-left: -1px;
  width: 2px;
  height: 100%;
  background-color: #c3c3c3;
}
.haru-member-timeline--vertical .timeline-item.member-style-1 .timeline-date:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: -62px;
    margin-top: 1px;
    width: 60px;
    height: 2px;
    background-color: #c3c3c3;
}
.haru-member-timeline--vertical .timeline-item.member-style-1 .timeline-date:after {
    content: '';
    display: block;
    position: absolute;
    top: 47%;
    right: -71px;
    margin-top: -5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: #7e7e7e;
}
.haru-member-timeline--vertical .timeline-item.member-style-1 {
    margin-top: 120px;
}

.haru-member-timeline--vertical .timeline-item.member-style-1:nth-child(even) .timeline-date {
    right: auto;
    left: 50%;
    margin-right: 0;
    margin-left: 60px;
}
.haru-member-timeline--vertical .timeline-item.member-style-1:nth-child(even) .timeline-content {
    padding-left: 0;
    padding-right: 40px;
}
.haru-member-timeline--vertical .timeline-item.member-style-1:nth-child(even) {
    padding-left: 0;
    padding-right: 50%;
    text-align: right;
}
.haru-member-timeline--vertical .timeline-item.member-style-1:nth-child(even) .timeline-date:before {
    right: auto;
    left: -62px;
}
.haru-member-timeline--vertical .timeline-item.member-style-1:nth-child(even) .timeline-date:after {
    right: auto;
    left: -71px;
}
.haru-member-timeline .timeline-member.style-1:first-child {
    margin-top: 0;
}
.haru-member-timeline .timeline-member.style-1 {
    position: relative;
}
.haru-member-timeline--vertical .timeline-item.member-style-1:nth-child(even) .timeline-member.style-1 .timeline-member-thumbnail {
    right: -10px;
    left: auto;
}
.haru-member-timeline--vertical .timeline-item.member-style-1:nth-child(even) .timeline-member.style-1 .timeline-member-wrap {
    padding-left: 30px;
    padding-right: 120px;
}




.haru-fp-tree {
  position: relative;
}

.haru-fp-tree:has(.tree.vertical) {
  max-height: 150vh;
  overflow: hidden;
}

.haru-fp-tree:has(.tree.horizontal) {
  max-height: 100vh;
  overflow: hidden;
}

.haru-fp-tree .haru-fp-tree-wrap {
  background-color: #F5F3F2;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  touch-action: none;
  padding-top: 80px;
  padding-bottom: 100px;
}

.haru-fp-tree .haru-fp-tree-wrap:has(.tree.horizontal) {
  padding-top: 0;
  padding-bottom: 0;
}

.haru-fp-tree .childs {
  display: table;
}

.haru-fp-tree .buttons {
  position: absolute;
  top: 30px;
  right: 20px;
  display: flex;
  align-items: center;
}

.haru-fp-tree .tree {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  word-wrap: initial;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 10px;
  cursor: -webkit-grab;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  touch-action: none;
  transition: none 0s ease 0s;
}

.haru-fp-tree .tree.vertical {
  /* Time to add downward connectors from parents */
  /*Time for some hover effects*/
  /*We will apply the hover effect the the lineage of the element also*/
  /*Connector styles on hover*/
}

.haru-fp-tree .tree.vertical ul {
  margin: 0;
  padding-top: 20px;
  padding-left: 0;
  position: relative;
  transition: all .5s;
}

.haru-fp-tree .tree.vertical li {
  float: left;
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 20px 8px 0 8px;
  margin: 0;
  transition: all 0.5s;
  /* We will use ::before and ::after to draw the connectors */
  /* We need to remove left-right connectors from elements without any siblings */
  /* Remove space from the top of single children */
  /* Remove left connector from first child and right connector from last child */
  /* Adding back the vertical connector to the last nodes */
  /*Connector styles on hover*/
}

.haru-fp-tree .tree.vertical li:before, .haru-fp-tree .tree.vertical li:after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 1.5px solid #c3c3c3 !important;
  width: 50%;
  height: 20px;
}

.haru-fp-tree .tree.vertical li::after {
  right: auto;
  left: 50%;
  border-left: 1.5px solid #c3c3c3;
}

.haru-fp-tree .tree.vertical li:only-child::after, .haru-fp-tree .tree.vertical li:only-child::before {
  display: none;
}

.haru-fp-tree .tree.vertical li:only-child {
  padding-top: 0;
}

.haru-fp-tree .tree.vertical li:first-child::before, .haru-fp-tree .tree.vertical li:last-child::after {
  border: 0 none;
}

.haru-fp-tree .tree.vertical li:last-child::before {
  border-right: 1.5px solid #c3c3c3;
  border-radius: 0 5px 0 0;
}

.haru-fp-tree .tree.vertical li:first-child::after {
  border-radius: 5px 0 0 0;
}

.haru-fp-tree .tree.vertical ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 1.5px solid #c3c3c3;
  width: 0;
  height: 20px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.haru-fp-tree .tree.vertical .member-relation {
  margin-bottom: 20px;
  position: relative;
}

.haru-fp-tree .tree.vertical .member-relation:before {
  content: "\e904";
  font-family: familypress;
  background-color: #C6E1F1;
  border-radius: 50%;
  color: #000;
  position: relative;
  width: 28px;
  height: 28px;
  padding: 5px;
  z-index: 2;
  border: 2px solid #F5F3F2;
}

.haru-fp-tree .tree.vertical .member-relation:after {
  content: "";
  position: absolute;
  background: #c3c3c3;
  height: 40px;
  width: 1px;
  bottom: -17px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 1;
}

.haru-fp-tree .tree.vertical .member-relation-spouse:before {
  content: "\e907";
  background-color: #F0CDBA;
}

.haru-fp-tree .tree.vertical .single-child.families {
  padding-top: 25px;
}

.haru-fp-tree .tree.vertical .single-child > .child > .member-relation {
  margin-bottom: 30px;
}

.haru-fp-tree .tree.vertical .single-child > .child > .member-relation:after {
  height: 65px;
  top: -6px;
}

.haru-fp-tree .tree.vertical .member-item {
  margin: 0 auto;
}

.haru-fp-tree .tree.horizontal ul {
  padding-left: 20px;
  text-align: left;
  display: inline-block;
  vertical-align: middle;
  margin: 0 !important;
  position: relative;
}

.haru-fp-tree .tree.horizontal ul:before {
  content: '';
  border-left: 0px solid;
  border-top: 1.5px solid #c3c3c3;
  margin-top: -1px;
  left: 0px;
  content: "";
  width: 20px;
  top: 50%;
  bottom: 50%;
  position: absolute;
}

.haru-fp-tree .tree.horizontal li {
  display: flex;
  align-items: center;
  vertical-align: middle;
  padding-left: 68px;
  position: relative;
}

.haru-fp-tree .tree.horizontal li:before {
  content: '';
  border-left: 1.5px solid #c3c3c3;
  border-top: 0px solid;
  top: 0%;
  bottom: 0%;
  left: 0px;
  width: 20px;
  position: absolute;
}

.haru-fp-tree .tree.horizontal li:after {
  content: '';
  width: 20px;
  position: absolute;
  top: 50%;
  left: 0;
  border-top: 1.5px solid #c3c3c3;
  margin-top: -1px;
}

.haru-fp-tree .tree.horizontal li:only-child:before {
  border-bottom: 0px solid !important;
}

.haru-fp-tree .tree.horizontal li:first-child:before {
  top: 50%;
  border-top: 1.5px solid #c3c3c3;
  border-top-left-radius: 5px;
  margin-top: -1px;
}

.haru-fp-tree .tree.horizontal li:first-child:after {
  display: none;
}

.haru-fp-tree .tree.horizontal li:last-child:before {
  bottom: 50%;
  border-bottom: 1.5px solid #c3c3c3;
  border-bottom-left-radius: 5px;
  margin-bottom: -1px;
}

.haru-fp-tree .tree.horizontal li:last-child:after {
  display: none;
}

.haru-fp-tree .tree.horizontal li.families {
  padding-left: 50px;
}

.haru-fp-tree .tree.horizontal .member-item {
  display: inline-table;
  margin: 8px 0;
  position: relative;
}

.haru-fp-tree .tree.horizontal .member-item:after {
  border-top: 1.5px solid #c3c3c3;
  left: -20px;
  margin-top: -1px;
  content: "";
  width: 20px;
  top: 50%;
  bottom: 50%;
  position: absolute;
}

.haru-fp-tree .tree.horizontal .member-relation {
  position: absolute;
  left: 20px;
}

.haru-fp-tree .tree.horizontal .member-relation:before {
  content: "\e904";
  font-family: familypress;
  background-color: #F0CDBA;
  border-radius: 50%;
  color: #000;
  position: relative;
  width: 28px;
  height: 28px;
  padding: 5px;
  z-index: 2;
  border: 2px solid #F5F3F2;
}

.haru-fp-tree .tree.horizontal .member-relation-spouse:before {
  background-color: #C6E1F1;
  content: "\e907";
  color: #000;
}

.haru-fp-tree .member-item {
  width: 170px;
  position: relative;
  z-index: 1;
}

.haru-fp-tree .member-item:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: -3px;
  border-radius: 12px;
  z-index: -1;
}

.haru-fp-tree .member-item.male:before {
  background-color: #C6E1F1;
}

.haru-fp-tree .member-item.female:before {
  background-color: #F0CDBA;
}

.haru-fp-tree .member-item .member-content {
  padding: 16px;
  background-color: #fff;
  border-radius: 12px;
}

.haru-fp-tree .member-item--style-1 .member-image {
  display: flex;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.haru-fp-tree .member-item--style-1 .member-image img {
  position: absolute;
  width: 100%;
  top: 0;
  height: auto;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.haru-fp-tree .member-item--style-1 .member-info {
  font-size: 15px;
  padding-top: 12px;
  text-align: center;
}

.haru-fp-tree .member-item--style-1 .member-date {
  display: flex;
  justify-content: center;
}

.haru-fp-tree .member-item--style-1 .member-date:before {
  content: '(';
}

.haru-fp-tree .member-item--style-1 .member-date:after {
  content: ')';
}

.haru-fp-tree .member-item--style-1 .member-dead:before {
  content: '-';
  padding: 0 3px;
}

.haru-fp-tree .member-item--style-1 .member-title {
  font-size: 16px;
  font-weight: 600;
  font-family: "Manrope";
  margin-top: 0;
  margin-bottom: 5px;
  text-transform: none;
}

.haru-fp-tree .member-item--style-1 .member-title a {
  color: #000;
  text-decoration: none;
  transition: all .3s;
}

.haru-fp-tree .member-item--style-1 .member-title a:hover {
  color: #f6d407;
  transition: all .3s;
}

.haru-fp-tree .member-item--style-1 .member-gender {
  display: none;
  text-transform: capitalize;
}

.haru-fp-tree .member-item--style-1 .member-gender:after {
  margin-left: 2px;
}

.haru-fp-tree .member-item--style-1 .member-gender.male:after {
  content: '\e917';
  font-family: familypress;
}

.haru-fp-tree .member-item--style-1 .member-gender.female:after {
  content: '\e918';
  font-family: familypress;
}

.tree-page .haru-page {
  padding: 0;
  max-width: none;
}

.primary-light .haru-fp-tree .member-item--style-1 .member-title a:hover {
  color: rgba(0, 0, 0, 0.8);
}
.abtphotgroup {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}
.abtphot1 {
  --e-transform-rotateZ: 10deg;
  transform: rotate(10deg);
  width: 20%;
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
}
.abtphot2 {
  --e-transform-rotateZ: 344deg;
  transform: rotate(344deg);
  width: 20%;
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
}
.abtphot3 {
  --e-transform-rotateZ: 354deg;
  transform: rotate(354deg);
  width: 20%;
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
}
.abtphot4 {
  --e-transform-rotateZ: 10deg;
  transform: rotate(10deg);
  width: 20%;
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
}
.abtphot5 {
  --e-transform-rotateZ: 354deg;
  transform: rotate(354deg);
  width: 20%;
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
}
.abtphotgroup img {
  width: 100%;
}
.descendants {
  margin: 50px 0px;
  padding: 30px;
  background-color: #0d2741;
  border-radius: 20px;
}
.descendants h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}
.descendantsbo {
  display: flex;
  gap: 50px;
}
.descendantsbo div {
  width: 33%;
}
.descendantsbo h4 {
  width: 100%;
  font-size: 17px;
  margin-top: 10px;
  color: #fff;
}
.descendantsbo p {
  color: #fff;
}
.contentareabt {
  width: 80%;
  margin:  50px auto;
  text-align: center;
}
.downloadotpabt {
  display: flex;
  gap: 30px;
  width: fit-content;
  margin: 30px auto 0;
  padding: 10px 30px;
  background-color: #000000;
  color: #f5d400;
  border-radius: 12px;
  flex-wrap: nowrap;
}
.downloadotpabt .btn.primary {
  font-size: 18px;
}
.fathersandsister {
  padding: 50px 0;
}
.picanddete {
  display: flex;
}
.picanddetebox {
  padding:20px 50px;
  width: 33%;
}
.picanddeteboximg {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  height: 400px;
  margin-bottom: 20px;
}
.picanddeteboximg img {
  width: 100%;
  margin: 0px;
}
.picanddeteboxname {
  font-size: 20px;
  color: #333;
  font-family: "Fraunces", serif;
}
.picanddeteboxdesc {
  font-size: 13px;
  margin-top: 5px;
  color: #333;
}
.book-cover {
  width: 800px;
}
.gallery-section {
  padding: 60px 20px;
  background: #f7f7f7;
  margin-top: 80px;
}

.gallery-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gallery-modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 110px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover {
  opacity: 0.7;
}
.site-header {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #000;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: 0.3s;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  }

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

  .hamburger {
    display: flex;
  }
}




@media (max-width: 1024px) {
  .banner {
    padding: 50px 0 60px;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .bannerleft {
    width: 100%;
    margin-top: 180px;
  }
  .profile-name {
    max-width: 100%;
  }
  .book-cover {
    width: 100%;
  }
  .descendantsbo div {
    width: 100%;
  }
  .descendantsbo {
    flex-wrap: wrap;
    gap: 0px;
  }
  .contentareabt {
    width: 100%;
  }
  .downloadotpabt {
    flex-wrap: wrap;
    text-align: center;
    gap: 0;
    padding-bottom: 30px;
    justify-content: center;
  }
  .downloadotpabt .btn.primary {
    margin: 0px auto;
  }
  .banner h1 {
    line-height: 34px;
    font-size: 34px;
    color: #333;
    text-align: center;
    padding: 15px 0;
  }
  .banner h2 {
    margin-bottom: 0px;
    font-size: 20px;
    color: #333;
    text-align: center;
  }
  .btn.primary {
    margin: 0px auto;
    display: block;
    width: fit-content;
  }
  .book-wrapper {
    display: inline-block;
  }
  .family-book {
    padding: 0px 20px 50px;
  }
  .book-content h2 {
    margin-top: 20px;
    font-size: 30px;
  }
  
  .connect-section {
    background: #f7f4ef;
    padding: 50px 50px 50px;
  }
  .connect-content h2 {
    font-size: 30px;
  }
  .upan {
    padding: 40px 0;
  }
  .upan .owl-nav {
    left: 0;
    top: 40%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
  }
  .owl-prev {
    margin-left: -20px;
  }
  .owl-next {
    margin-right: -20px;
  }
  .footer-top {
    width: 100%;
    gap:  0px;
    grid-template-columns: auto;
  }
  .picanddete {
    flex-wrap: wrap;
  }
  .picanddetebox {
    width: 100%;
  }
  .picanddeteboximg {
    height: 280px;
  }
  h2 {
    font-size: 30px;
  }
  .footer-brand {
    width:100%;
  }
  .upan h2 {
    text-align: center;
  }
  .site-footer {
    padding: 50px 40px 30px;
  }
  .logo {
    width: 90px;
  }
  .profile-hero {
    padding: 110px 20px 10px;
    text-align: center;
  }
  .profile-name {
      font-size: 32px;
  }
  .abtphotgroup {
    align-items: center;
    flex-wrap: wrap;
  }
  .abtphot1 {
    margin: 0px auto;
    width: 80%;
  }
  .abtphot2,
  .abtphot3,
  .abtphot4,
  .abtphot5 {
    width: 50%;
  }
}