/**
 * Styles for privacy policy page
 */

/* Container */
.dr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Common Text Styles */
.text-center {
    text-align: center;
}

/* Privacy Policy Hero Section */
.privacy-hero {
    background-color: #3A5199;
    text-align: center;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.privacy-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Untitled-design.png.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    filter: blur(5px);
}

.privacy-hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 44, 79, 0.9) 0%, rgba(58, 81, 153, 0.8) 100%);
}

.privacy-hero .dr-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-hero .page-title {
    font-family: 'Raleway', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    letter-spacing: 1px;
    display: inline-block;
    color: white;
    text-transform: uppercase;
}

.privacy-hero .page-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4D7CFE;
    border-radius: 3px;
}

.privacy-last-updated {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 15px 0 0;
    font-weight: 400;
    font-style: italic;
}

/* Privacy Policy Content Section */
.privacy-content-section {
    padding: 50px 0;
}

.privacy-content-section .dr-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.privacy-content {
    flex: 1;
    min-width: 300px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #1E2C4F;
}

.privacy-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* Privacy Intro */
.privacy-intro {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #3A5199;
}

/* Privacy Sections */
.privacy-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E9EEF6;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 30px 0 20px;
    color: #3A5199;
    position: relative;
    padding-bottom: 10px;
}

.privacy-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #4D7CFE;
}

.privacy-section h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #3A5199;
}

.privacy-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #1E2C4F;
}

.privacy-section p {
    margin: 0 0 15px;
    font-size: 1rem;
    line-height: 1.7;
    color: #1E2C4F;
}

.privacy-section ul {
    margin: 0 0 20px 20px;
    padding: 0;
}

.privacy-section li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
}

.privacy-section a {
    color: #4D7CFE;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: #3A5199;
    text-decoration: underline;
}

/* Sidebar Styles */
.sidebar-about-box,
.sidebar-featured-box,
.sidebar-cta-box {
    background-color: #F5F7FA;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 5px 20px rgba(77, 124, 254, 0.08);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid #4D7CFE;
}

.sidebar-about-box:hover,
.sidebar-featured-box:hover,
.sidebar-cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 44, 79, 0.12);
}

/* Sidebar About Box */
.sidebar-profile {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4D7CFE;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.1);
}

.sidebar-profile h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 5px;
    color: #3A5199;
}

.sidebar-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0 0 15px;
}

.sidebar-about-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #1E2C4F;
}

.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #4D7CFE;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(77, 124, 254, 0.3);
}

/* Sidebar Featured Box */
.sidebar-featured-box h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4D7CFE;
    color: #3A5199;
    text-align: center;
}

.sidebar-featured-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    border-radius: 10px;
    background-color: #fafafa;
    text-align: center;
}

.sidebar-featured-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-featured-item:hover {
    transform: translateX(5px);
    background-color: #E9EEF6;
    box-shadow: 0 3px 10px rgba(77, 124, 254, 0.1);
}

.sidebar-featured-item img,
.sidebar-featured-item .sidebar-thumbnail {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    margin: 0 auto 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.default-thumbnail {
    background-color: #F5F7FA;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4D7CFE;
    font-size: 1.8rem;
    border: 1px solid #E9EEF6;
}

.sidebar-featured-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: #333;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.6em;
    width: 100%;
    text-align: center;
}

.sidebar-featured-content h4 a {
    color: #3A5199;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-featured-content h4 a:hover {
    color: #4D7CFE;
}

.sidebar-featured-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.8em;
}



/* Responsive Styles */
@media (max-width: 992px) {
    .privacy-content-section .dr-container {
        flex-direction: column-reverse;
    }
    
    .privacy-sidebar {
        width: 100%;
    }
    
    .privacy-toc {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .privacy-content-section {
        padding: 30px 0;
    }
    
    .privacy-section h2 {
        font-size: 1.6rem;
    }
    
    .privacy-section h3 {
        font-size: 1.3rem;
    }
    
    .privacy-section h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .privacy-hero {
        padding: 25px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .privacy-last-updated {
        font-size: 0.9rem;
    }
    
    .privacy-intro {
        font-size: 1rem;
    }
    
    .privacy-section h2 {
        font-size: 1.4rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .privacy-section h4 {
        font-size: 1rem;
    }
    
    .privacy-section p, 
    .privacy-section li {
        font-size: 0.95rem;
    }
}
