/* ==================
   Reset & Base Styles 
   ================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

a {
    text-decoration: none;
    color: #ff6b00;
    transition: color 0.3s;
}

a:hover {
    color: #e05a00;
}

ul {
    list-style: none;
}

/* ==================
   Typography 
   ================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #222;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

/* ==================
   Buttons 
   ================== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background-color: #ff6b00;
    color: white;
}

.btn-primary:hover {
    background-color: #e05a00;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #ff6b00;
    border: 2px solid #ff6b00;
}

.btn-secondary:hover {
    background-color: #ff6b00;
    color: white;
}

/* ==================
   Header Styles 
   ================== */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container img {
    height: 40px;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list li a {
    color: #333;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.nav-list li a:hover {
    color: #ff6b00;
}

.nav-list li a.btn-primary {
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin-bottom: 5px;
    border-radius: 3px;
}

/* ==================
   Hero Section 
   ================== */
.hero-section {
    background-color: #f2f7fa;
    padding: 60px 0;
    text-align: center;
}

.hero-content h1 {
    color: #222;
    margin-bottom: 20px;
}

.policy-metadata {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.metadata-item {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.metadata-label {
    font-weight: 600;
    margin-right: 8px;
}

.metadata-value {
    color: #666;
}

/* ==================
   Policy Navigation 
   ================== */
.policy-navigation {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 71px;
    z-index: 900;
}

.policy-nav-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.policy-nav-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    color: #555;
    transition: all 0.3s;
    background-color: #f8f9fa;
    flex: 1;
    min-width: 150px;
    max-width: calc(25% - 10px);
}

.policy-nav-item:hover {
    background-color: #ff6b00;
    color: white;
}

.policy-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #ff6b00;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    margin-right: 10px;
    font-family: 'Montserrat', sans-serif;
}

.policy-title {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

.policy-nav-item:hover .policy-number {
    background-color: white;
    color: #ff6b00;
}

/* ==================
   Policy Content Section 
   ================== */
.policy-content {
    padding: 60px 0;
}

.policy-section {
    margin-bottom: 60px;
    scroll-margin-top: 180px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ff6b00;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    margin-right: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}

.section-content {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Key Points */
.key-points {
    margin-top: 20px;
}

.key-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.key-point i {
    color: #ff6b00;
    margin-right: 10px;
    margin-top: 4px;
}

/* Definition Grid */
.definition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.definition-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    transition: transform 0.3s;
}

.definition-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.definition-item h3 {
    color: #ff6b00;
    margin-bottom: 10px;
}

/* Data Types */
.data-types {
    margin-top: 20px;
}

.data-type {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.data-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #ff6b00;
    color: white;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.data-icon i {
    font-size: 1.4rem;
}

.data-description h3 {
    margin-bottom: 10px;
}

/* Legal Basis Cards */
.legal-basis-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.legal-basis-card, .purpose-card, .sharing-card, .rights-card, 
.retention-card, .breach-card, .cookies-card, .updates-card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.legal-basis-card:hover, .purpose-card:hover, .sharing-card:hover, 
.rights-card:hover, .retention-card:hover, .breach-card:hover, 
.cookies-card:hover, .updates-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #ff6b00;
    color: white;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.card-icon i {
    font-size: 1.8rem;
}

/* Purpose Cards */
.purpose-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Storage and Security */
.storage-security-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.storage-info, .security-info {
    margin-bottom: 20px;
}

.security-measures {
    margin-top: 20px;
}

.security-measure {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.measure-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ff6b00;
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.measure-details h4 {
    margin-bottom: 5px;
}

/* Sharing Cards */
.sharing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Rights Cards */
.rights-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.rights-note {
    margin-top: 20px;
    font-style: italic;
}

/* Retention Cards */
.retention-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Breach Cards */
.breach-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Cookies Cards */
.cookies-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Updates Cards */
.updates-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Contact Details */
.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ff6b00;
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info h3 {
    margin-bottom: 5px;
}

.escalation-note {
    font-style: italic;
}

/* Acceptance Notice */
.acceptance-notice {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
    font-weight: 500;
    border-left: 4px solid #ff6b00;
}

/* Get Started CTA */
.get-started {
    background-color: #ff6b00;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.get-started .btn-primary {
    background-color: white;
    color: #ff6b00;
}

.get-started .btn-primary:hover {
    background-color: #f8f9fa;
}

/* Footer Styles */
.site-footer {
    background-color: #222;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #ff6b00;
}

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

.footer-links li a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links li a:hover, .footer-links li a.active {
    color: #ff6b00;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #ff6b00;
    color: white;
    transform: translateY(-3px);
}

.website-link {
    margin-top: 20px;
}

.website-link a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.website-link a:hover {
    color: #ff6b00;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
}

/* ==================
   Responsive Styles 
   ================== */
@media (max-width: 1024px) {
    .policy-nav-item {
        max-width: calc(33.33% - 10px);
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        position: relative;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .policy-nav-item {
        max-width: calc(50% - 10px);
    }
    
    .definition-grid, .legal-basis-cards, .purpose-cards, 
    .sharing-cards, .rights-cards, .contact-details {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .policy-metadata {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .policy-nav-item {
        max-width: 100%;
    }
    
    .data-type {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .data-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .security-measure {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .measure-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}