/* style/gdpr.css */
.page-gdpr {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-gdpr .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-gdpr .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #FFD700, #000080);
    color: #ffffff;
    overflow: hidden;
}

.page-gdpr .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-gdpr .hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 800px; /* Limit image width for better composition */
}

.page-gdpr .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-gdpr .hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-gdpr .hero-content p {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-gdpr .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700; /* Gold button */
    color: #000080; /* Dark blue text for contrast */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-gdpr .cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-gdpr section {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr section:nth-of-type(even) {
    background-color: #f0f4f8; /* Light blue-grey for alternating sections */
}

.page-gdpr h2 {
    font-size: 2.5em;
    color: #000080; /* Dark blue for main headings */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold accent under headings */
    border-radius: 2px;
}

.page-gdpr h3 {
    font-size: 1.6em;
    color: #000080; /* Dark blue for sub-headings */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr p {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 20px;
}

.page-gdpr ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #444;
}

.page-gdpr ul li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-gdpr a {
    color: #000080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr a:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Principles Grid */
.page-gdpr .principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr .principle-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #FFD700;
}

.page-gdpr .principle-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr .principle-item h3 {
    color: #000080;
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-gdpr .principle-item p {
    font-size: 1em;
    color: #555;
}

.page-gdpr .principle-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Rights List */
.page-gdpr .rights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-gdpr .right-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #000080;
}

.page-gdpr .right-item h3 {
    color: #000080;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-gdpr .right-item p {
    font-size: 1em;
    color: #555;
}

/* Collection Details */
.page-gdpr .collection-details, .page-gdpr .sharing-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr .detail-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid #FFD700;
}

.page-gdpr .detail-item h3 {
    color: #000080;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-gdpr .detail-item ul {
    list-style: circle;
    margin-left: 20px;
}

.page-gdpr .detail-item ul li {
    margin-bottom: 8px;
    font-size: 1em;
}

/* Security Grid */
.page-gdpr .security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr .security-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-gdpr .security-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr .security-item h3 {
    color: #000080;
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-gdpr .security-item p {
    font-size: 1em;
    color: #555;
}

.page-gdpr .security-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Contact Info */
.page-gdpr .contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr .contact-detail {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-right: 4px solid #FFD700;
}

.page-gdpr .contact-detail h3 {
    color: #000080;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-gdpr .contact-detail p, .page-gdpr .contact-detail ul {
    font-size: 1em;
    color: #555;
}

.page-gdpr .contact-detail a {
    color: #000080;
    font-weight: bold;
}

.page-gdpr .contact-detail a:hover {
    color: #FFD700;
}

/* FAQ Section */
.page-gdpr .faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr .faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #000080; /* Dark blue background for questions */
    color: #ffffff;
    border: 1px solid #000080;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-radius 0.3s ease;
}

.page-gdpr .faq-question:hover {
    background: #000066; /* Slightly darker blue on hover */
}

.page-gdpr .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.page-gdpr .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #FFD700; /* Gold for toggle icon */
}

.page-gdpr .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #FFD700;
}

.page-gdpr .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9; /* Light background for answer */
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 5px 5px;
    color: #444;
}

.page-gdpr .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 25px;
    border-radius: 0 0 5px 5px;
}

.page-gdpr .faq-item.active .faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr .hero-content h1 {
        font-size: 2.8em;
    }
    .page-gdpr h2 {
        font-size: 2.2em;
    }
    .page-gdpr .principles-grid, .page-gdpr .rights-list, .page-gdpr .collection-details, .page-gdpr .sharing-details, .page-gdpr .security-grid, .page-gdpr .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr .hero-section {
        padding: 40px 15px;
    }
    .page-gdpr .hero-content h1 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-gdpr .hero-content p {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-gdpr section {
        padding: 40px 0;
    }
    .page-gdpr h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr h3 {
        font-size: 1.4em;
    }
    .page-gdpr p {
        font-size: 0.95em;
    }
    .page-gdpr .principles-grid, .page-gdpr .rights-list, .page-gdpr .collection-details, .page-gdpr .sharing-details, .page-gdpr .security-grid, .page-gdpr .contact-info {
        grid-template-columns: 1fr;
    }
    .page-gdpr .principle-item, .page-gdpr .right-item, .page-gdpr .detail-item, .page-gdpr .security-item, .page-gdpr .contact-detail {
        padding: 20px;
    }
    .page-gdpr .faq-question {
        padding: 15px 20px;
    }
    .page-gdpr .faq-question h3 {
        font-size: 1.1em;
    }
    .page-gdpr .faq-toggle {
        font-size: 20px;
    }
    .page-gdpr .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-gdpr .hero-content h1 {
        font-size: 1.8em;
    }
    .page-gdpr h2 {
        font-size: 1.6em;
    }
    .page-gdpr h3 {
        font-size: 1.2em;
    }
    .page-gdpr .cta-button {
        width: 100%;
        max-width: 250px;
    }
}