/**
 * Privacy Policy Page Styles - REALTA SOFT LTD
 */

body {
    background: #fff;
}

.privacy-page-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.privacy-hero {
    height: 0;
    padding-bottom: 65.5%;
    background: url('../images/privacy-policy-hero-img.png') center/cover no-repeat;
    border-radius: 0 0 20px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-page .privacy-hero {
    background: url('../images/terms-page-hero-img.png') center/cover no-repeat;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 100%);
    border-radius: inherit;
}

.privacy-hero-content {
    width: 90%;
    z-index: 1;
    position: relative;
}

.privacy-hero-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(36px, 5.2vw, 72px);
    line-height: 1;
    letter-spacing: 0;
}

.privacy-hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(16px, 1.6vw, 22px);
    line-height: 30.6px;
    letter-spacing: 0;
    color: #F6F5F5;
    width: 50%;
}

.privacy-hero-meta {
    font-family: Outfit;
    font-weight: 600;
    font-size: 27px;
    line-height: 30.6px;
    letter-spacing: 0%;
    text-align: center;
    margin-top: 50px;
}

.privacy-content-section {
    padding: 40px 0 75px 0;
    background: #fff;
}

.privacy-policy-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.privacy-policy-sidebar {
    flex: 0 0 305px;
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.privacy-policy-sidebar-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    padding-top: 90px;
}

.privacy-policy-sidebar-title {
    color: #0D0100;
    font-family: Outfit;
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.privacy-policy-sidebar-effective-date {
    font-family: Outfit;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #4A5565;
    margin-bottom: 42px;
}

.effective-date {
    font-family: Outfit;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #0D0100;
}

.privacy-policy-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-policy-nav li {
    margin-bottom: 1rem;
}

.privacy-policy-nav a {
    color: #524E4E;
    text-decoration: none;
    font-family: Outfit;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.privacy-policy-nav a:hover {
    color: #1989FB;
    text-decoration: none;
}

.privacy-policy-nav a.active {
    color: #1989FB;
    text-decoration: none;
}

.privacy-policy-main-content {
    flex: 1;
    min-width: 0;
}

.privacy-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
}

.privacy-policy-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 210px;
}

.terms-page .privacy-policy-content {
    padding-top: 250px;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-subheading {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.privacy-category {
    color: #34495e;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.privacy-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-list {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.privacy-list li {
    margin-bottom: 0.5rem;
}

.contact-info-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    margin-top: 1rem;
}

.contact-info-box a {
    color: #3498db;
    text-decoration: none;
}

.contact-info-box a:hover {
    text-decoration: underline;
}


/* Responsive adjustments */
@media (min-width: 1200px) {
    .privacy-page-wrap { padding: 0; }
}

@media (min-width: 1400px) {
    .privacy-page-wrap { padding: 0; }
    .privacy-hero {
        height: 955px;
        padding-bottom: 0;
        border-radius: 0 0 20px 20px;
    }
}

@media (max-width: 768px) {
    .privacy-hero { 
        border-radius: 0 0 20px 20px; 
        min-height: 480px;
        padding: 0 27px;
    }
    .privacy-hero-title {
        font-size: 27px;
        line-height: 32px;
    }
    .privacy-hero-subtitle {
        font-size: 16px;
        line-height: 18px;
        margin-bottom: 25px;
    }
    .privacy-content-section {
        padding: 60px 0;
    }
    .privacy-policy-container {
        flex-direction: column;
        gap: 2rem;
    }
    .privacy-policy-sidebar {
        flex: 1;
        position: static;
        order: 2;
    }
    .privacy-policy-main-content {
        flex: 1;
        order: 1;
    }
    .privacy-policy-content {
        padding: 0 1rem;
    }
    .privacy-subheading {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .privacy-page-wrap { padding: 0; }
    .privacy-category {
        font-size: 1.1rem;
    }
}

/* Font types */

.text-heading-1,
.text-heading-2,
.text-heading-3,
.text-heading-4 {
    color: #0D0100;
    font-family: Outfit;
}

.text-heading-1 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 16px;
}

.text-heading-2 {
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
}

.text-heading-3 {
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
}

.text-heading-4 {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
}

.block {
    margin-bottom: 48px;
}

.block-level-2 {
    margin-bottom: 24px;
}

.weight-700 {
    font-weight: 700;
}

.weight-600 {
    font-weight: 600;
}
/* Terms and Conditions specific styles */
.terms-page .privacy-content-section {
    padding: 10px 0;
}

.tc-company-info {
    font-family: Outfit;
    text-align: center;
    vertical-align: middle;
    text-decoration: underline;
    color: #0D0100;
    padding: 20px;
    max-width: 860px;
    margin: 0 auto;
    margin-top: 38px;
}

.tc-company-info h2 {
    font-size: 22px;
    line-height: 36px;
    text-align: center;
    font-weight: 500;
}

.tc-company-info p {
    font-family: Outfit;
    font-weight: 300;
    font-size: 22px;
    line-height: 36px;
    text-align: center;
    margin: 0;
}

/* Responsive styles for tablets and mobile */
@media (max-width: 768px) {
    .privacy-hero { 
        border-radius: 0 0 20px 20px; 
        min-height: 480px;
        padding: 0 27px;
    }
    .privacy-hero-title {
        font-size: 27px;
        line-height: 32px;
    }
    .privacy-hero-subtitle {
        font-size: 16px;
        line-height: 18px;
        margin-bottom: 25px;
        width: 100%;
        max-width: none;
    }
    .privacy-hero-meta {
        font-size: 16px;
        line-height: 20px;
        margin-top: 25px;
        font-size: 0;
        line-height: 0;
        color: transparent;
    }
    .privacy-hero-meta::after {
        content: "Effective Date: 15 April 2026\A Governing Law: Republic of Ireland & EU GDPR";
        white-space: pre;
        display: block;
        font-size: 16px;
        line-height: 20px;
        color: inherit;
    }
    .privacy-content-section {
        padding: 30px 0;
    }
    .privacy-policy-container {
        flex-direction: column-reverse;
        gap: 0
    }
    .privacy-policy-sidebar {
        flex: 1;
        position: static;
        order: 2;
    }
    .privacy-policy-main-content {
        flex: 1;
        order: 1;
    }
    .privacy-policy-content,
    .terms-page .privacy-policy-content {
        padding: 0;
    }
    .privacy-subheading {
        font-size: 1.3rem;
    }
    .privacy-policy-sidebar-content {
        padding: 0;
    }
    .privacy-policy-nav {
        display: none;
    }
    .block:last-child {
        margin-bottom: 0;
    }
    .tc-company-info p,
    .tc-company-info h2 {
        font-size: 16px;
        line-height: 22px;
    }

    .tc-company-info {
        margin-top: 10px;
        padding: 20px 32px 45px 32px;
    }
}
