:root {
    --font-primary: "Nunito Sans", sans-serif;
    --font-secondary: "Inter", sans-serif;
}

.container {
    max-width: 1800px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
}

p,
a,
li,
span,
div {
    font-family: var(--font-secondary);
}

section.header-top-bar {
    background-color: #1F1F1F;
    text-align: center;
    padding: 10px;
}

section.header-top-bar p {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #FFFFFF;
    margin: 0px;
}

.member-name h3 {
    font-weight: 800;
    font-size: 28px;
    line-height: 32px;
    color: #B58956;
    margin-top: 10px;
}

.member-name h6 {
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;

}

.header-logo-control img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-logo-control {
    width: 167px;
    height: 46px;
}

header nav.navbar div#navbarNavAltMarkup .navbar-nav a {
    font-family: var(--font-secondary);
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: black;
}

header nav.navbar div#navbarNavAltMarkup .navbar-nav .active {
    color: #1F1F1F;
}

header nav.navbar div#navbarNavAltMarkup .navbar-nav .nav-signin {
    background: #1F1F1F;
    border-radius: 10px;
    padding: 10px;
    color: white;
    font-family: var(--font-secondary);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 1.2px;
    text-align: center;
    text-transform: uppercase;
    padding: 15px 40px;
}

header nav.navbar div#navbarNavAltMarkup .navbar-nav {
    gap: 40px;
    align-items: center;
}

.hero-section {
    background: url('../images/Section.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 132px 0px;
}

.hero-section .hero-content h1 span {
    color: #B58956;
    font-weight: 900;
}

.hero-section .hero-content h1 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 75px;
    line-height: 71px;
    letter-spacing: 0px;
    color: white;
}

.hero-section .hero-content h5 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #B58956;
    text-transform: uppercase;
}

.hero-section .hero-content a {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    text-transform: uppercase;
    color: white;
    border: 1px solid white;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    display: block;
    width: max-content;
}

.hero-section .hero-content p {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: white;
    margin-top: 20px;
    margin-bottom: 30px;
}

.upload-sec .memories-img {
    width: 544px;
    height: 481px;
    border-radius: 20px;
}


.upload-sec .memories-img {
    width: 544px;
    height: 481px;

}

.upload-sec .memories-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.memories-content h5 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.memories-content h2 {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.memories-content p {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #28282899;
}


.two-column-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style-position: inside;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 40px;
    color: #28282899;
}

.two-column-list li {
    flex: 1 1 calc(50% - 10px);
    /* 2 columns */
}

.memories-content a {
    background: #1F1F1F;
    border-radius: 10px;
    padding: 10px;
    color: white;
    font-family: var(--font-secondary);
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    text-transform: uppercase;
    padding: 20px 20px;
    text-decoration: none;
    margin-top: 20px;
    display: block;
    width: fit-content;
}

.upload-sec {
    padding: 80px 0;
}

.tree-content h1 {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 42px;
    line-height: 46.2px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000000;
}

.tree-content p {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
    color: #000000;
}

.tree-content a {
    background: #ffffff;
    border-radius: 10px;
    color: black;
    font-family: var(--font-secondary);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 1.2px;
    text-align: center;
    text-transform: uppercase;
    padding: 20px 10px;
    text-decoration: none;
    display: block;
    width: max-content;
}

.qr-content a {
    background-color: black;
    color: white;
}

.tree-sec {
    background-image: url('../images/tree-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.tree-content {
    padding: 80px 0px;
}

.accordion-wrapper {
    position: relative;
    padding: 104px 0px;
    border-radius: 30px;
    border: 1px solid #ffffff0f;
    box-shadow: 0px 5px 9px 0px #FFFFFF14 inset;


}

.bullet-heading {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 32px;
    line-height: 32px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.section-main-heading {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

.do-it-main-box {
    margin-top: 120px;
}

.do-it-sec:hover {
    background-color: #AEAEAE33;
}

.do-it-sec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-top: .5px solid rgba(161, 161, 161, 1);
    border-bottom: .5px solid rgba(161, 161, 161, 1);
    position: relative;
}


.accordion-wrapper .do-it-sec h4 {
    color: white;
    padding-top: 13px;
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 26px;
    font-size: 18px;
    color: #171717;
}

.accordion-wrapper .do-it-sec h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 36px;
    line-height: 51.01px;
    vertical-align: middle;
    text-transform: capitalize;
    color: #999999;
}

.accordion-wrapper .do-it-sec p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #171717;
}

.accordion-wrapper .do-it-sec p:hover {
    color: black;
}

.accordion-img {
    position: absolute;
    visibility: hidden;
    z-index: 2;
    position: absolute;
    right: 146px;
    transform: translate(0, -50%);
    transition: 0.4s;
    opacity: 0;
    scale: 0.8;
    rotate: 15deg;
    border-radius: 20px;
    overflow: hidden;
    z-index: 2;

}

.accordion-img img {
    width: 400px;
    height: 396px;
    object-fit: cover;

}




.do-it-sec:hover .accordion-content h2 {
    color: #000000;
}

.accordion-content h4 {
    margin-left: 0;
    /* default */
    transform: translateX(0);
    transition: transform 0.2s ease, color 0.2s ease;
}

.do-it-sec:hover .accordion-content h4 {
    transform: translateX(20px);
    color: black;
}

.do-it-sec:hover .accordion-img,
.do-it-sec:hover .accordion-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

}

.accordion-wrapper .accordion-btn {
    border: 1px solid #C5A35D;
    background: #C5A35D;
    color: white;
    border-radius: 30px;
    padding: 12px 28px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.accordion-wrapper .accordion-btn a {
    color: white;
}

.do-it-top {
    border-top: none;
}

.back-logo {
    width: 900px;
    height: 256px;
    position: absolute;
    left: 520px;
    top: 20px;
}

.back-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.tree-container img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.qr-container {

    height: 516px;
    overflow: hidden;
}

.qr-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-sec {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFECD7 58.74%);

}

.qr-content {
    padding-top: 140px;
}

.site-footer {
    background: #1F1F1F;
    color: #FFFFFF;
    padding: 40px 0 20px 0;
    font-size: 15px;
    border-top: 10px solid #B58956;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}


.footer-about p {
    margin-bottom: 15px;
    margin-top: 15px;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.social-links a {
    color: #FFFFFF;
    /* White icons */
    font-size: 18px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #8a6e4d;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 20px;
    color: #FFFFFF;
    position: relative;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-logo {
    width: 273px;
    height: 58px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
    vertical-align: middle;
}

.footer-links ul li a:hover {
    color: #8a6e4d;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: #8a6e4d;
}

.footer-bottom {
    border-top: 1px solid #CECECE5C;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 992px) {
    .footer-column {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 15px;
    }

    .footer-column {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }

    .footer-column:last-child {
        margin-bottom: 0;
    }

    .footer-about {
        text-align: center;
    }

    .footer-about .footer-logo {
        display: inline-block;
    }

    .social-links {
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 15px 0;
    }

    .footer-container {
        gap: 20px;
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 15px;
    }
}

section.accordion-sec {
    overflow: hidden;
}

/* memorial page styles */
section.memorial-user {
    padding: 60px 0px;
}

.main-memorial-warp {
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #000;
    box-shadow: 0px 4px 8px 0px #00000040;
    margin-bottom: 20px;
}

.main-memorial-warp h3 {
    font-weight: 800;
    font-size: 34px;
    line-height: 32px;
    letter-spacing: 0px;
    color: #B58956;

}

.main-memorial-warp h6 {
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0px;

}

.main-memorial-warp p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    margin: 30px 0px 40px;
}

.main-memorial-warp a {
    color: #fff;
    background-color: #000;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 10px;

}

section.member-profile-detail {
    padding: 80px 0px;
}

.member-card {
    background-color: #F8F8F8;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0px 4px 8px 0px #00000040;
}

.member-card h2 {
    font-weight: 800;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    margin-top: 20px;
}

.member-card ul.family-tree-listing li span {
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 24px;
    color: #C5A35D;

}

.member-card ul.family-tree-listing li {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    margin-bottom: 30px;
    position: relative;
}

.member-card ul.family-tree-listing li::marker {
    font-size: 22px;
    font-weight: bold;
}

.member-card ul.family-tree-listing li::before {
    position: absolute;
    content: '';
    width: 2px;
    height: 65px;
    background-color: #000;
    left: -19px;
    top: -14px;
}

.medie-files-gallary {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8f8f8;
}

.media-files {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.memorial-user-qr {
    position: absolute;
    top: 0px;
    right: 15px;
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.memorial-user-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.medie-files-gallary img,
.medie-files-gallary video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.memorial-user-img {
    width: auto;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
}

.memorial-user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alert-dismissible .btn-close {
    top: 10px;
    position: absolute;
    right: 10px;
    background-color: transparent;
    border: none;
    color: #721c24;
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.preview-item .remove-preview {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff0000;
    color: #fff;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    font-size: 14px;
}

/* Password Toggle Styles */
.password-toggle-wrapper {
    position: relative;
    display: block;
}

.password-toggle-wrapper input[type="password"],
.password-toggle-wrapper input[type="text"] {
    padding-right: 45px;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #666;
    font-size: 18px;
    z-index: 10;
    outline: none;
    transition: color 0.3s ease;
}

.password-toggle-btn:hover {
    color: #b58956;
}

.password-toggle-btn:focus {
    outline: none;
}

.password-toggle-btn i {
    pointer-events: none;
}

.privacy-policy-content {
    padding: 50px 0px;
}

.privacy-policy-content .privacy-policy-content-wrap h1 {
    font-size: 20px;
    font-weight: 800;
}

.privacy-policy-content .privacy-policy-content-wrap h2 {
    font-size: 18px;
    font-weight: 800;
}

.privacy-policy-content .privacy-policy-content-wrap p,
.privacy-policy-content .privacy-policy-content-wrap ul li {
    font-size: 18px;
    font-weight: 400;
}