/* Policy Page Styles - Brand Colors */

/* Hero Section */
.policy-hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.policy-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1200&h=800&fit=crop') center/cover;
    z-index: 1;
}

.policy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.policy-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="policy-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23policy-grain)"/></svg>');
    z-index: 3;
}

.policy-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.policy-badge {
    margin-bottom: 1.5rem;
}

.badge-text {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.policy-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.policy-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary-gold);
    font-size: 1rem;
}

/* Policy Content Section */
.policy-content-section {
    background: var(--gray-50);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.policy-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,0,0,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.policy-content-section .container {
    position: relative;
    z-index: 2;
}

.policy-wrapper {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 2rem;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Info Categories */
.info-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid var(--gray-200);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-category h3 i {
    color: var(--primary-gold);
}

.info-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--dark-color);
}

.info-category li:last-child {
    border-bottom: none;
}

/* Misconduct Table */
.misconduct-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.table-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem 2rem;
}

.table-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-header i {
    color: var(--primary-gold);
}

.table-content {
    padding: 0;
}

.violation-item {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.violation-item:last-child {
    border-bottom: none;
}

.violation-item:hover {
    background: var(--gray-50);
}

.violation-item h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.violation-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Consequences Table */
.consequences-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.consequence-item {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.consequence-item:last-child {
    border-bottom: none;
}

.consequence-item.minor {
    border-left: 4px solid #28a745;
}

.consequence-item.moderate {
    border-left: 4px solid #ffc107;
}

.consequence-item.serious {
    border-left: 4px solid #dc3545;
}

.consequence-item:hover {
    background: var(--gray-50);
}

.consequence-item h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.consequence-item p {
    color: #666;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.consequence-item strong {
    color: var(--dark-color);
}

/* Procedure Section */
.procedure-section {
    background: var(--gray-50);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--secondary-blue);
}

.procedure-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.procedure-section ul {
    margin: 0;
    padding-left: 1.5rem;
}

.procedure-section li {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    line-height: 1.6;
}

/* Responsibilities Grid */
.responsibilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.responsibility-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.responsibility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.responsibility-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.responsibility-card h3 i {
    color: var(--primary-gold);
}

.responsibility-card ul {
    margin: 0;
    padding-left: 1.5rem;
}

.responsibility-card li {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    line-height: 1.6;
}

/* Contact Card */
.contact-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.contact-card p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-card strong {
    color: white;
}

/* Download Form Section */
.download-form-section {
    background: var(--gray-50);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
    border: 2px dashed var(--gray-300);
}

.download-form-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.download-form-section h3 i {
    color: var(--primary-gold);
}

.download-form-section p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.download-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.download-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.download-btn i {
    font-size: 1.2rem;
}

.download-info {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    max-width: 400px;
}

.download-info p {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.download-info ul {
    margin: 0;
    padding-left: 1.5rem;
}

.download-info li {
    margin-bottom: 0.5rem;
    color: #666;
    line-height: 1.6;
}

/* Legacy styles for backward compatibility */
.hero-section-policy {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-background-policy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay-policy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-pattern-policy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="policy-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23policy-grain)"/></svg>');
    z-index: 3;
}

.hero-content-policy {
    position: relative;
    z-index: 4;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge-policy {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 8px 20px;
    margin-bottom: 20px;
}

.badge-text-policy {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title-policy {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-line-policy {
    display: block;
    color: white;
}

.title-highlight-policy {
    display: block;
    color: var(--primary-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description-policy {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.policy-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.meta-item i {
    color: #ffd700;
    font-size: 1rem;
}

/* Download Section Styles */
.download-section {
    text-align: center;
    margin-top: 2rem;
}

.download-btn {
    background: linear-gradient(135deg, #ffc107, #ffca2c);
    border: none;
    color: #333;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
    color: #333;
    text-decoration: none;
}

.download-btn i {
    font-size: 1.1rem;
}

.download-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.download-note i {
    color: #ffd700;
}

/* Policy Content Styles */
.policy-content-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.policy-content-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    padding: 40px;
    border-bottom: 1px solid #e9ecef;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.policy-section-title i {
    color: #667eea;
    font-size: 1.5rem;
}

.policy-section-content {
    color: #555;
    line-height: 1.7;
}

.policy-section-content p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.policy-list {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-list li {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.6;
}

.policy-list.numbered {
    list-style-type: decimal;
}

.definition-item {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.definition-item h4 {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.responsibility-item {
    background: #f8f9fa;
    border-left: 4px solid #28a745;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.responsibility-item h4 {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.code-conduct-section {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.code-conduct-section h4 {
    color: #856404;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-box i {
    color: #ffc107;
    font-size: 1.2rem;
}

.warning-box strong {
    color: #856404;
}

.dso-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 25px;
    margin: 20px 0;
    border-radius: 8px;
}

.dso-info p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.declaration-form {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    padding: 30px;
    margin: 20px 0;
    border-radius: 12px;
}

.declaration-form h3 {
    color: #495057;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.declaration-form h4 {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 25px;
}

.declaration-form h5 {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.form-section {
    margin-bottom: 25px;
}

.form-section p {
    margin-bottom: 10px;
    font-size: 1rem;
}
/* Contact CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.cta-card {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-grain)"/></svg>');
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

.cta-btn {
    background: var(--gradient-secondary);
    color: var(--dark-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    color: var(--dark-color);
    text-decoration: none;
}

/* Responsive Design for Policy Page */
@media (max-width: 768px) {
    .policy-title {
        font-size: 2.5rem;
    }
    
    .policy-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .policy-wrapper {
        padding: 2rem;
    }
    
    .policy-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .info-category {
        padding: 1.5rem;
    }
    
    .misconduct-table .table-header,
    .consequences-table .table-header {
        padding: 1rem 1.5rem;
    }
    
    .violation-item,
    .consequence-item {
        padding: 1rem 1.5rem;
    }
    
    .responsibilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .responsibility-card {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .download-form-section {
        padding: 1.5rem;
    }
    
    .download-actions {
        gap: 1.5rem;
    }
    
    .download-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .download-info {
        padding: 1rem;
    }
    
    /* Legacy styles */
    .hero-title-policy {
        font-size: 2.5rem;
    }
    
    .policy-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .policy-title {
        font-size: 2rem;
    }
    
    .policy-wrapper {
        padding: 1.5rem;
    }
    
    .policy-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .info-category {
        padding: 1rem;
    }
    
    .info-category h3 {
        font-size: 1.1rem;
    }
    
    .misconduct-table .table-header,
    .consequences-table .table-header {
        padding: 1rem;
    }
    
    .table-header h3 {
        font-size: 1.1rem;
    }
    
    .violation-item,
    .consequence-item {
        padding: 1rem;
    }
    
    .violation-item h4,
    .consequence-item h4 {
        font-size: 1.1rem;
    }
    
    .responsibility-card {
        padding: 1rem;
    }
    
    .responsibility-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-card {
        padding: 1rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .download-form-section {
        padding: 1rem;
    }
    
    .download-form-section h3 {
        font-size: 1.3rem;
    }
    
    .download-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .download-info {
        padding: 1rem;
    }
    
    /* Legacy styles */
    .hero-title-policy {
        font-size: 2rem;
    }
    
    .hero-description-policy {
        font-size: 1rem;
    }
    
    .policy-section-title {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .declaration-form {
        padding: 20px 15px;
    }
} 