/* ========================================
   Added Fonts: Montserrat & Lora from Google Fonts
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:wght@300;400;500;600;700&display=swap');


/* ========================================
   RESET & BASIC TYPOGRAPHY
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #fafafa;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button, input, textarea {
    font: inherit;
}

/* ========================================
   CONTAINER & GRID HELPERS
======================================== */
.container {
    width: min(100%, 1300px);
    margin-inline: auto;
    padding-inline: 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -0.5rem;
}

.col-md-6 {
    flex: 0 0 50%;
    padding-inline: 0.5rem;
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
    }
}


/* ========================================
   NAVBAR
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(37, 37, 37, 0.8); /* 80% opacity */
  backdrop-filter: none;
  transition:  backdrop-filter 0.4s ease, 
              width 0.4s ease, border-radius 0.4s ease, top 0.4s ease;
  z-index: 9999;
  padding: 0.75rem 0;
}

/* Rounded + Detached look when scrolled */
.navbar.floating {
  top: 1rem; /* creates gap from top */
  left: 50%;
  transform: translateX(-50%);
  width: 92%; /* slightly narrower than full width */
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 100px; /* rounded capsule */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  padding: 0.75rem 1rem;
}



.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  color: #fafafa;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.nav-links li a:hover {
  color: #01bf71;
}

.contact-link {
  padding: 0.4rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);

}

.contact-link:hover {
  background: #fff;
  color: #1c4933;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: transform 0.3s;
}

/* Mobile Menu */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    background: #010606;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 999;
    border-radius: 0;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

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

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}


.logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: #fafafa;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.nav-links li a:hover {
    color: #01bf71;
}

.contact-link {
    padding: 0.4rem 1rem;
    border: 2px solid #fff;
    border-radius: 6px;
}

.contact-link:hover {
    background: #fff;
    color: #1c4933;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: transform 0.3s;
}

/* Mobile Menu */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background: #010606;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }
}
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

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

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ========================================
   HERO
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.headerbg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.35) 50%, transparent 100%);
    z-index: -1;
}

.hero-col {
    max-width: 1400px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 0.5rem;
    font-weight: 300;
    font-family: 'Lora', serif;
}
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110vh;
  color: #fff;
  padding:  1rem;
  overflow: hidden;
  background: none;
}

.hero-container {
  position: relative;
  width: 100%;
  max-width: 1600px;
  height: 720px;
  border-radius: 32px;
  overflow: hidden;
  background: #000; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 4rem;
  padding-left: 4rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  margin-top: -100px; 

}

/* background image */
.hero-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1.0;
}

/* gradient overlay for readability */
.hero-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 20%, transparent 80%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-content h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ddd;
  line-height: 1.6;
}

.hero-content .btn {
  background: #94bfa8;
  color: #000;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-content .btn:hover {
  background: #019c5a;
  transform: scale(1.03);
}


.subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 45ch;
    letter-spacing: 0.1px;
    font-weight: 400;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary {
    background: #94bfa8;
    color: #000000;
    font-weight: 600;
    font-size: 1rem

}

.btn-primary:hover {
    background: #019c5a;
    transform: scale(1.03);
}

/* ========================================
   SECTIONS (General)
======================================== */
section {
    padding: 4rem 0;
}

.main-title {
    font-size: 3rem;
    color: #84B082;
    margin-bottom: 1rem;
    text-align: left;
    font-family: 'Lora', serif;
}

.subtitle-black {
    font-size: 2rem;
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
    color: #757474;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /*
    font-family:'Courier New', Courier, monospace;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-family:cursive;
    */
}

.services-image {
    margin: 2rem auto;
    max-width: 600px;
    border-radius: 12px;
}

/* ========================================
   MEMORIES – FINAL LAYOUT (Matches Screenshot)
======================================== */
.memories-final {
    width: 100vw;                  /* Full viewport width */
    margin-left: 50%;
    transform: translateX(-50%);   /* Centers it on the screen */
    padding: 6rem 0;
    background: #212529
}

.mem-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
}

.mem-block.reverse {
    direction: rtl;
}

.mem-block.reverse > * {
    direction: ltr;
}

.mem-block__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 6px;
    z-index: 1;
    background: oklch(21% 0.006 285.885);
}

.mem-block.reverse .mem-block__accent {
    left: auto;
    right: 0;
}

.mem-block__text {
    padding-top: 1rem;
    position: relative;
    z-index: 2;
}

.mem-block__title {
    font-size: 2rem;
    font-weight: 400;
    color: #fbf8f8;
    margin-bottom: 3rem;
    line-height: 1.3;
    font-family: 'Lora', serif;

}
.mem-block__accent {
    display: none;                     /* Hides the original accent bar */
}

.mem-block__title {
    border-left: 10px solid #b0aeae;     /* Adds a new accent bar */
    padding-left: 1rem;
}

.mem-block__desc {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.7;
}

.mem-block__image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Responsive for Memories */
@media (max-width: 992px) {
    .mem-block, .mem-block.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .mem-block__accent {
        width: 36px;
        height: 36px;
    }

    .mem-block__image img {
        height: 300px;
    }
}

.mem-block__image {
  position: relative;
  overflow: hidden;        /* ensures rounded corners are visible */
  border-radius: 20px;     /* apply rounding to the container */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.mem-block__image img,
.mem-block__image video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: inherit;  /* inherit rounding from parent */
  display: block;
}


/* ========================================
   ABOUT
======================================== */
.about .img-fluid {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.main-p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
}

/* ========================================
   CONTACT
======================================== */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    background: #ffffff;
    color: #000000;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.form-btn {
    width: 100%;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: #010606;
    color: #fafafa;
    padding: 3rem 0;
}

.footer .logo {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-text {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: #fff;
}

.footer ul li {
    margin-bottom: 0.4rem;
}

.footer a {
    color: #919191;
    transition: color 0.2s;
}

.footer a:hover {
    color: #fff;
}

/* ========================================
   GO TO TOP BUTTON
======================================== */
.gotop {
    position: fixed;
    bottom: 2rem;
    right: 1rem;
    background: #84b082;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    transition: transform 0.2s;
    z-index: 100;
}

.gotop:hover {
    transform: scale(1.1);
}

/* ========================================
   RESPONSIVE TWEAKS
======================================== */
@media (max-width: 992px) {
    .hero {
        min-height: 80vh;
    }
}

.mem-block {
    grid-auto-flow: dense;
padding: 8rem; /* default for desktop */

@media (max-width: 992px) {
  padding: 4rem; /* tablet / small laptop */
}

@media (max-width: 768px) {
  padding: 2rem; /* large phones */
}

@media (max-width: 480px) {
  padding: 1rem; /* small mobile screens */
}
}

.mem-block .mem-block__text,
.mem-block .mem-block__accent,
.mem-block.reverse .mem-block__accent,
.mem-block.reverse .mem-block__text {
    order: 1;
}

.mem-block .mem-block__image,
.mem-block.reverse .mem-block__image {
    order: 2;
}

.mem-block__text {
    padding-top: 5rem;
    padding-left: 2rem;
}

.mem-block.reverse .mem-block__text {
    padding-left: 0;
    padding-right: 5rem;
}

        /* Founders Section – Matches Memories Layout */
        .founders-section {
            padding: 6rem 0;
            background: #fff;
        }

        .founder-block {
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
            margin-bottom: 6rem;
            position: relative;
        }


        .founder-block__accent {
            position: absolute;
            top: 0;
            left: 0;
            width: 40px;
            height: 40px;
            background: #e0e0e0;
            border-radius: 6px;
            z-index: 1;
        }

        .founder-block.reverse .founder-block__accent {
            left: auto;
            right: 0;
        }

        .founder-block__text {
            overflow: hidden;
        }

        .founder-block__title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #565656;
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .founder-block__subtitle {
            font-size: 1.3rem;
            color: #01bf71;
            font-weight: 500;
            margin-bottom: 1rem;
            font-style: italic;
        }

        .founder-block__desc {
            font-size: 1.1rem;
            color: #6b6a6a;
            line-height: 1.8;
            font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .founder-block__image {
            float: right;                     /* triggers text wrap */
            width: 400px;                     /* fixed width */
            margin: 0 0 1.5rem 1.5rem;        /* space around image */
            shape-outside: margin-box;        /* clean wrap edge */
        }

        .founder-block__image img {
            width: 100%;
            max-width: 400px;
            height: 420px;
            object-fit: cover;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(255, 255, 0, 0.12);
        }

        @media (max-width: 992px) {
            .founder-block, .founder-block.reverse {
                grid-template-columns: 1fr;
                gap: 2rem;
                margin-bottom: 4rem;
            }

            .founder-block__accent {
                width: 36px;
                height: 36px;
            }

            .founder-block__image img {
                height: 300px;
            }
        }

        .founder-block__accent {
            display: none;                     /* Hides the original accent bar */
        }

        .founder-block__title {
            border-left: 8px solid #919090;     /* Adds a new accent bar */
            padding-left: 1rem;                /* Creates space between bar and text */
        }
        .fancy-divider {
            height: 4px;
            background: linear-gradient(90deg, 
                transparent 0%, 
                #877f7f 20%, 
                #ff9a9e 50%, 
                #877f7f 80%, 
                transparent 100%
            );
            margin: 3rem 0;
            border-radius: 2px;
        }

/* ========================================
   remembering-section 
======================================== */
.remembering-section .container {
  padding-bottom: 2rem;
}
.remembering-section {
  width: 100%;
  background-color: #f9f9f9;
  text-align: center;
  padding-right: 4rem 1rem;
  padding-left: 4rem 1rem;
  padding-bottom: 4rem 1rem;

  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #111;
}

.remembering-inner {
  max-width: 1200px;   /* keep text readable on large screens */
  margin: 0 auto;
}

.remembering-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  padding-top: 0rem;
  font-family: 'Lora', serif;
}

.remembering-subtext {
  max-width: 1000px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 5rem;
}

.card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 3rem;
  width: 400px;
  text-align: left;        /* Keep text alignment natural */
}

.card h3 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1.4rem;
  color: #111;
  letter-spacing: 0.2px;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card li {
  margin-bottom: 0.6rem;
  color: #333;
  font-size: 1rem;
}

.card li::before {
  content: "✔";
  color: #01bf71;
  margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 340px;
  }
}

/* ========================================
   sharing and book section 
======================================== */
.legacy-section {
  width: 100%;
  background: #f9f9f9;
  padding: 4rem 1rem;
  margin-top: 6rem;
  text-align: center;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.legacy-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.legacy-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #111;
  line-height: 1.3;
}

.legacy-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.legacy-card {
  background: #efe8e3;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 680px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.legacy-card-right {
  background: #efe8e3;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.legacy-card-right h3 {
font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #111;

}
.legacy-card h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #111;
}

.legacy-card p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.legacy-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legacy-button {
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: left;
}

.legacy-button .plus {
  font-weight: bold;
  color: #aaa;
}

.legacy-button .icon {
  font-size: 1.2rem;
}

.legacy-illustration {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.legacy-illustration img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .legacy-cards {
    flex-direction: column;
    align-items: center;
  }

  .legacy-card {
    max-width: 90%;
  }
}
/* ========================================
   CONTACT (Split Layout)
======================================== */
.contact-section {
  display: flex;
  min-height: 90vh;
  width: 100%;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: #f4f8f5;
}

/* ===== Left Side ===== */
.contact-left {
  flex: 1;
  background: #DAE7DA;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 5rem;
}

.contact-left .main-title {
  font-size: 3rem;
  font-family: 'Lora', serif;
  font-weight: 600;
  color: #84B082;
  margin: 0;
}

/* ===== Right Side (Form) ===== */
.contact-right {
  flex: 1;
  background: #84B082;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem;
}

/* ===== Form ===== */
.contact-form {
  width: 100%;
  max-width: 500px;
  background: #DAE7DA;
  border-radius: 12px;
  padding: 1rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-size: 0.9rem;
  color: #183e2c;
  font-weight: 500;
}

input, textarea {
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  background: #000000;
  color: #183e2c;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #ffffff;
}

textarea {
  min-height: 120px;
  resize: none;
}

/* ===== Submit Button ===== */
.submit-btn {
  width: 100%;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #0b2e1d;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.submit-btn:hover {
  background: #222529;
  color: #ffffff;
}

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

  .contact-left,
  .contact-right {
    width: 100%;
    padding: 3rem;
  }

  .contact-left {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .contact-right {
    border-left: none;
    border-top: 4px solid #94bfa8;
  }
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }

  .contact-form {
    padding: 2rem;
  }
}
