/* Policy Pages Styles (Privacy, Terms, Cookies) */

/* Page Banner */
.page-banner {
    position: relative;
    height: 250px;
    background: linear-gradient(to right, #004A99, #0066CC, #FF8C00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 80px;
}

.page-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-banner p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Policy Content */
.policy-content {
    padding: 80px 0;
    background-color: white;
}

.policy-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.last-updated {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
    font-style: italic;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-color);
}

.policy-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.policy-section ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.contact-details {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 6px;
    margin-top: 15px;
}

.contact-details p {
    margin-bottom: 0;
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    .policy-container {
        padding: 30px;
    }
    
    .page-banner h1 {
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 768px) {
    .page-banner {
        height: 200px;
        margin-top: 70px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .page-banner p {
        font-size: 1.1rem;
    }
    
    .policy-content {
        padding: 60px 0;
    }
    
    .policy-container {
        padding: 25px;
    }
    
    .policy-section h2 {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    .page-banner {
        height: 180px;
        margin-top: 60px;
    }
    
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    .page-banner p {
        font-size: 1rem;
    }
    
    .policy-content {
        padding: 40px 0;
    }
    
    .policy-container {
        padding: 20px;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .policy-section {
        margin-bottom: 30px;
    }
}

/* Additional styles for cookie table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.cookie-table tr:nth-child(even) {
    background-color: var(--light-color);
}

.cookie-table tr:hover {
    background-color: rgba(0, 102, 204, 0.05);
}

.cookie-table a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-table a:hover {
    color: var(--secondary-color);
}

.policy-section h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin: 25px 0 15px;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 10px;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
}