/* Custom CSS for Privacy Policy Page - LENT WORKS LLC */

/* Header Styles */
.transparent-header {
    background: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.8rem 0;
    animation: slideDown 0.8s ease-out;
}

.transparent-header:hover {
    background: rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-brand img {
    filter: brightness(1.2) contrast(1.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 0.2rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::before {
    
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-image: url("/images/who-are-we-hero.png"); */
    background-size: 100% 100%;
    margin: 0;
    padding: 0;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    width: 100%;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 0;
    line-height: 1.3;
}

/* Ensure no spacing issues */
.hero-section + * {
    /* margin-top: 5rem !important; */
    padding-top: 0 !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .privacy-content {
        padding: 20px 15px;
    }

    .policy-section h2 {
        font-size: 1.4rem;
    }
}

/* Privacy Policy Specific Styles */
.privacy-policy-section {
    background: #001f33;
    min-height: 100vh;
    padding: 60px 0;
    color: white;
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.privacy-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0.9;
}

.privacy-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Table of Contents Styles */
.table-of-contents {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.table-of-contents h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffd700;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.toc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.toc-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
}

.toc-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(72, 127, 255, 0.3);
}

.toc-text {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    flex: 1;
}

.toc-arrow {
    color: #487fff;
    font-size: 16px;
    font-weight: bold;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.toc-item:hover .toc-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.last-updated-toc {
    background: rgba(72, 127, 255, 0.1);
    border-color: rgba(72, 127, 255, 0.2);
}

.last-updated-toc .toc-text {
    color: #ffd700;
    font-weight: 500;
}

/* Content Sections */
.privacy-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #487fff;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.9;
}

.content-section ul {
    margin: 25px 0;
    padding-left: 0;
    list-style: none;
}

.content-section li {
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    opacity: 0.9;
    list-style: none;
}

.content-section li::before {
    color: #487fff;
    font-size: 20px;
    position: absolute;
    left: 10px;
    top: 0;
}

.content-section strong {
    color: #487fff;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 16px;
}

.contact-info strong {
    color: #487fff;
}

.last-updated-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.last-updated-section p {
    font-size: 18px;
    color: #487fff;
    font-weight: 600;
}

/* Responsive Design for Privacy Policy */
@media (max-width: 1200px) {
    .privacy-layout {
        padding: 0 30px;
    }

    .table-of-contents {
        padding: 30px;
    }

    .privacy-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .privacy-policy-section {
        padding: 40px 0;
    }

    .privacy-layout {
        padding: 0 20px;
    }

    .privacy-title {
        font-size: 36px;
    }

    .privacy-intro {
        font-size: 14px;
    }

    .toc-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .table-of-contents {
        padding: 25px;
    }

    .table-of-contents h2 {
        font-size: 28px;
    }

    .privacy-content {
        padding: 30px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .toc-item {
        padding: 12px 15px;
    }

    .toc-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .privacy-layout {
        padding: 0 15px;
    }

    .privacy-title {
        font-size: 28px;
    }

    .table-of-contents {
        padding: 20px;
    }

    .privacy-content {
        padding: 20px;
    }

    .content-section h2 {
        font-size: 20px;
    }

    .content-section p,
    .content-section li {
        font-size: 14px;
    }
}

/* Active state for TOC items */
.toc-item.active {
    background: rgba(72, 127, 255, 0.15) !important;
    border-color: #487fff !important;
    box-shadow: 0 2px 8px rgba(72, 127, 255, 0.2);
}

.toc-item.active .toc-text {
    color: #487fff !important;
    font-weight: 500;
}

.toc-item.active .toc-arrow {
    color: #487fff !important;
    opacity: 1;
    transform: translateX(3px);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #487fff;
    color: #1e3c72;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Additional animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-header {
    animation: fadeInUp 1s ease-out;
}

.table-of-contents {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.privacy-content {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.footer-section {
    background: #001f33;
    padding: 60px 0 30px;
    color: #ffffff;
    position: relative;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-logo a:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    width: 180px;
    height: 80px;
    border-radius: 8px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-description.limited-width {
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link.facebook {
    background: #3b5998;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.instagram {
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
}

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

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

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #ffea00;
    padding-left: 5px;
}

.footer-link.underlined {
    text-decoration: underline;
}

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

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

.contact-icon {
    width: 42px;
    height: 42px;
    background: #001f33;
    color: #87ceeb;
    font-size: 0.9rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2c5f7f;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3px;
}

.contact-value {
    font-size: 0.95rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.contact-value:hover {
    color: #ffea00;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .navbar-nav .nav-link {
        margin: 0.2rem 0;
    }

    .navbar-nav {
        text-align: center;
    }

    .right-menu-container {
        align-items: center;
        justify-content: center;
        margin-left: 0;
        margin-top: 20px;
    }

    .menu-section {
        width: 100%;
        max-width: 300px;
    }

    .dropdown-menu {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 100vh;
        height: 100vh;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .transparent-header {
        background: rgba(0, 0, 0, 0.95) !important;
        padding: 0.5rem 0;
    }

    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }

    .right-menu-container {
        align-items: center;
        justify-content: center;
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }

    .menu-section {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
    }

    .button-row .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    /* Mobile dropdown styling */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.8);
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .navbar-nav .dropdown-menu.show {
        display: block !important;
    }

    .navbar-nav .dropdown-item {
        padding: 0.75rem 2rem;
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.9rem;
    }

    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        background-color: rgba(0, 123, 255, 0.3) !important;
        color: #007bff !important;
    }

    /* Ensure dropdowns work in collapsed navbar */
    .navbar-collapse .dropdown {
        position: static;
    }

    /* Footer Mobile */
    .footer-section {
        padding: 40px 0 20px;
    }

    .footer-logo {
        justify-content: center;
        text-align: center;
    }

    .footer-logo-img {
        width: 150px;
        height: 65px;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 40px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .contact-icon {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .navbar-brand img {
        height: 40px;
    }

    .menu-section {
        padding: 12px 15px;
    }

    .button-row .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .dropdown-menu {
        min-width: 250px;
    }

    /* Footer Extra Small */
    .footer-section {
        padding: 30px 0 15px;
    }

    .footer-logo-img {
        width: 120px;
        height: 50px;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }
}
