/* Privacy Policy Modal Styles */
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease-in-out;
}

.privacy-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 0;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0px 16px 52px 0px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

.privacy-modal-header {
    background: #292929;
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.privacy-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    font-family: 'FC Minimal', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.privacy-modal-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0 5px;
    opacity: 0.8;
}

.privacy-modal-close:hover,
.privacy-modal-close:focus {
    opacity: 1;
    transform: scale(1.1);
}

.privacy-modal-body {
    max-height: calc(90vh - 100px);
    overflow-y: auto;
    padding: 0;
}

.privacy-banner {
    background: #ffffff url('../images/folio/privacy-policy-banner.webp') center center;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 20px 40px;
    text-align: left;
    border-bottom: 1px solid #eee;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

/* .privacy-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
} */

.privacy-banner .privacy-pdf-btn {
    position: relative;
    z-index: 2;
    align-self: flex-start;
}

.privacy-pdf-btn {
    display: inline-block;
    background: #292929;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 16px;
    font-family: 'FC Minimal', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.privacy-pdf-btn:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    height: 1px;
    width: 0;
    background: #fff;
    transition: all 0.3s linear;
    margin-top: -0.5px;
}

.privacy-pdf-btn:hover {
    background: #404040;
    color: white;
    text-decoration: none;
    padding-left: 60px;
}

.privacy-pdf-btn:hover:before {
    width: 20px;
}

.privacy-pdf-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.privacy-content {
    padding: 40px;
    line-height: 1.6;
    font-size: 16px;
    color: #999;
    font-family: 'FC Minimal', sans-serif;
    font-weight: 300;
}

.privacy-content p {
    margin-bottom: 20px;
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 10px;
}

.privacy-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
    list-style: decimal;
}

.privacy-content ol li {
    margin-bottom: 15px;
    padding-left: 10px;
    color: #999;
    font-size: 16px;
    text-align: left;
    line-height: 24px;
}


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .privacy-modal {
        padding: 15px;
    }

    .privacy-modal-content {
        max-width: 800px;
    }

    .privacy-content {
        padding: 30px;
    }

    .privacy-banner {
        padding: 16px 40px;
        height: 140px;
        background-size: cover;
    }

    .privacy-pdf-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

}

/* Tablet Design */
@media screen and (max-width: 768px) {
    .privacy-modal {
        padding: 10px;
    }

    .privacy-modal-content {
        max-height: 90vh;
        max-width: 95%;
    }

    .privacy-modal-header {
        padding: 20px 25px;
    }

    .privacy-modal-header h2 {
        font-size: 22px;
        letter-spacing: 0.8px;
    }

    .privacy-content {
        padding: 25px 30px;
    }

    .privacy-banner {
        padding: 12px 20px;
    }

    .privacy-banner-title {
        font-size: 22px;
    }

    .privacy-banner-subtitle {
        font-size: 13px;
    }

    .privacy-pdf-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

}

/* Mobile Design */
@media screen and (max-width: 576px) {
    .privacy-modal {
        padding: 8px;
    }

    .privacy-modal-content {
        max-height: 95vh;
        max-width: 98%;
    }

    .privacy-modal-header {
        padding: 18px 20px;
    }

    .privacy-modal-header h2 {
        font-size: 20px;
        letter-spacing: 0.6px;
    }

    .privacy-modal-close {
        font-size: 24px;
    }

    .privacy-content {
        padding: 20px 25px;
        font-size: 15px;
    }

    .privacy-content p {
        font-size: 15px;
        line-height: 22px;
        margin-bottom: 18px;
    }

    .privacy-content ol li {
        font-size: 15px;
        line-height: 22px;
        margin-bottom: 12px;
    }

    .privacy-banner {
        padding: 12px 20px;
        height: 140px;
    }

    .privacy-banner-title {
        font-size: 20px;
    }

    .privacy-banner-subtitle {
        font-size: 12px;
    }

    .privacy-pdf-btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .privacy-pdf-btn:hover {
        padding-left: 48px;
    }

    .privacy-pdf-btn:hover:before {
        width: 18px;
        left: 18px;
    }
}

/* Small Mobile Design */
@media screen and (max-width: 425px) {
    .privacy-modal {
        padding: 5px;
    }

    .privacy-modal-content {
        max-height: 98vh;
    }

    .privacy-modal-header {
        padding: 15px 18px;
    }

    .privacy-modal-header h2 {
        font-size: 18px;
        letter-spacing: 0.4px;
    }

    .privacy-modal-close {
        font-size: 22px;
    }

    .privacy-content {
        padding: 18px 20px;
        font-size: 14px;
    }

    .privacy-content p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 15px;
    }

    .privacy-content ol li {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 10px;
    }

    .privacy-banner {
        padding: 15px 18px;
        height: 140px;
    }

    .privacy-banner-title {
        font-size: 18px;
    }

    .privacy-banner-subtitle {
        font-size: 11px;
    }

    .privacy-pdf-btn {
        padding: 10px 24px;
        font-size: 13px;
    }

    .privacy-pdf-btn:hover {
        padding-left: 42px;
    }

    .privacy-pdf-btn:hover:before {
        width: 16px;
        left: 16px;
    }

}

/* Extra Small Mobile Design */
@media screen and (max-width: 375px) {
    .privacy-modal {
        padding: 3px;
    }

    .privacy-modal-header {
        padding: 12px 15px;
    }

    .privacy-modal-header h2 {
        font-size: 16px;
        letter-spacing: 0.3px;
    }

    .privacy-content {
        padding: 15px 18px;
        font-size: 13px;
    }

    .privacy-content p {
        font-size: 13px;
        line-height: 19px;
        margin-bottom: 12px;
    }

    .privacy-content ol li {
        font-size: 13px;
        line-height: 19px;
        margin-bottom: 8px;
    }

    .privacy-banner {
        padding: 12px 15px;
        height: 140px;
    }

    .privacy-banner-title {
        font-size: 16px;
    }

    .privacy-banner-subtitle {
        font-size: 10px;
    }

    .privacy-pdf-btn {
        padding: 8px 20px;
        font-size: 12px;
    }

}

/* Custom scrollbar for modal body */
.privacy-modal-body::-webkit-scrollbar {
    width: 8px;
}

.privacy-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.privacy-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Additi
onal styling elements to match website design */
.privacy-content .bold-separator {
    width: 70px;
    height: 6px;
    background: #000;
    float: left;
    margin: 0 0 30px 0;
}

/* Custom scrollbar styling to match website */
.privacy-modal-body::-webkit-scrollbar {
    width: 6px;
}

.privacy-modal-body::-webkit-scrollbar-track {
    background: #f4f4f4;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.privacy-modal-body::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Ensure proper text styling matches website */
.privacy-content p:first-child {
    padding-top: 0;
}

.privacy-content p:last-child {
    padding-bottom: 0;
}

/* Modal overlay animation improvements */
@keyframes fadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(2px);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Focus states for accessibility */
.privacy-modal-close:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.privacy-pdf-btn:focus {
    outline: 2px solid #292929;
    outline-offset: 2px;
}

/* Pri
vacy Banner Content Styles */
.privacy-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.privacy-banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    width: 100%;
}

.privacy-banner-title {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    font-family: 'FC Minimal', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: none;
    line-height: 1.2;
}

.privacy-banner-subtitle {
    color: #292929;
    font-size: 14px;
    font-weight: 300;
    font-family: 'FC Minimal', sans-serif;
    margin: 5px 0 0 0;
    text-shadow: none;
    line-height: 1.2;
    opacity: 0.8;
}

/* Privacy Policy Download Section */
.privacy-content .d-flex.justify-content-between.align-items-center {
    margin-top: 30px;
}

.privacy-download-title {
    color: #292929;
    font-size: 18px;
    font-weight: 700;
    font-family: 'FC Minimal', sans-serif;
    letter-spacing: 1px;
}

.privacy-download-content{
    gap: 32px;
}

@media (max-width: 768px) {
    .privacy-download-title {
        font-size: 16px;
    }
}
@media (max-width: 576px) {
    .privacy-download-title {
        font-size: 14px;
    }
    .privacy-download-content{
        gap: 24px;
    }
}