/**
 * DownAcademia - Pages Stylesheet
 * Styles for About, Contact, Privacy, Terms pages
 */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(102,126,234,0.1)"/></svg>');
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* About Page Styles */
.about-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.about-image svg {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.feature-box-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.value-card {
    padding: 2rem 1.5rem;
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Contact Page Styles */
.contact-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.contact-form .input-group-text {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #667eea;
    width: 45px;
    justify-content: center;
}

/* .contact-form .form-control,
.contact-form .form-select {
    border-left: none;
} */

.contact-form .input-group:focus-within .input-group-text {
    border-color: #667eea;
    background: #f0f4ff;
}

.contact-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-item h6 {
    color: white;
    margin-bottom: 0.25rem;
}

.contact-info-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: white;
}

.contact-faq-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.contact-faq-box ul li {
    margin-bottom: 0.75rem;
}

.contact-faq-box a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-faq-box a:hover {
    color: white;
}

/* Policy Pages Styles (Privacy, Terms) */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.policy-section h2 {
    color: #212529;
    margin-bottom: 1rem;
}

.policy-section h2 i {
    font-size: 1.25rem;
}

.policy-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.policy-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.policy-item:hover {
    background: #f0f4ff;
    transform: translateX(5px);
}

.policy-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.policy-ul {
    list-style: none;
    padding: 0;
}

.policy-ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #495057;
    line-height: 1.7;
}

.policy-ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.25rem;
}

.policy-highlight-box {
    background: #fff4e6;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.policy-highlight-box ul {
    margin-bottom: 0;
}

.policy-contact-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #dee2e6;
}

.policy-contact-box h2 {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0 !important;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-card,
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .feature-box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .policy-section {
        margin-bottom: 2rem;
    }
    
    .policy-item {
        padding: 1rem;
    }
    
    .policy-contact-box {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-icon-box {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .policy-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

