/* Shared styles for content pages (terms, privacy, about) */

/* Main content styling */
.main-content {
    padding: 60px 0;
    background-color: var(--white);
    min-height: calc(100vh - 200px);
}

/* Page header styling with black background */
.page-header {
    background-color: var(--primary-black);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    margin: -60px -24px 60px -24px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: var(--white);
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Content section */
.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.terms-content,
.privacy-content,
.about-content {
    display: grid;
    gap: 48px;
}

/* Content sections */
.terms-section,
.privacy-section,
.about-section {
    background-color: var(--white);
    padding: 32px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-gray);
}

.terms-section h2,
.privacy-section h2,
.about-section h2 {
    color: var(--primary-black);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-black);
}

.terms-section h3,
.privacy-section h3,
.about-section h3 {
    color: var(--primary-black);
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.terms-section p,
.privacy-section p,
.about-section p {
    color: var(--primary-black);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.terms-section ul,
.privacy-section ul,
.about-section ul {
    color: var(--primary-black);
    line-height: 1.6;
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.terms-section ol,
.privacy-section ol,
.about-section ol {
    color: var(--primary-black);
    line-height: 1.6;
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.terms-section li,
.privacy-section li,
.about-section li {
    margin-bottom: 8px;
    color: var(--primary-black);
}

/* Important notices */
.important-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--radius-small);
    padding: 16px;
    margin: 16px 0;
}

.important-notice p {
    margin: 0;
    color: #856404;
    font-size: 14px;
    font-weight: 500;
}

/* Links styling */
.terms-section a,
.privacy-section a,
.about-section a {
    color: var(--primary-black);
    text-decoration: underline;
    font-weight: 500;
}

.terms-section a:hover,
.privacy-section a:hover,
.about-section a:hover {
    color: var(--secondary-black);
}

/* About page specific styles */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.mission, .vision {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-black);
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.university-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    transition: transform 0.2s ease;
}

.university-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.university-card h4 {
    color: var(--primary-black);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.how-it-works {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.step-number {
    background: var(--primary-black);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.features-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-detail {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.feature-detail h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.values-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-black);
}

.value-item h3 {
    color: var(--primary-black);
    margin-bottom: 0.8rem;
}

.impact-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit {
    background: linear-gradient(135deg, #e3f2fd, #f8f9fa);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #bbdefb;
}

.benefit h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit ul {
    margin-left: 1rem;
}

.benefit li {
    margin-bottom: 0.8rem;
    position: relative;
}

.benefit li::before {
    content: "✓";
    color: #4caf50;
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
}

.guidelines {
    margin-top: 2rem;
}

.guidelines h3 {
    color: var(--primary-black);
    margin: 1.5rem 0 1rem 0;
}

.guidelines ul {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-black);
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-item {
    background: linear-gradient(135deg, #f3e5f5, #f8f9fa);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e1bee7;
}

.tech-item h4 {
    color: var(--primary-black);
    margin-bottom: 0.8rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    background: linear-gradient(135deg, #e8f5e8, #f8f9fa);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #c8e6c9;
}

.contact-item h4 {
    color: var(--primary-black);
    margin-bottom: 0.8rem;
}

.future-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.plan-item {
    background: linear-gradient(135deg, #fff3e0, #f8f9fa);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #ffcc02;
}

.plan-item h4 {
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.plan-item ul {
    margin-left: 1rem;
}

.plan-item li {
    margin-bottom: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
        margin: -60px -16px 40px -16px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .terms-content,
    .privacy-content,
    .about-content {
        gap: 32px;
    }
    
    .terms-section,
    .privacy-section,
    .about-section {
        padding: 24px;
    }
    
    .terms-section h2,
    .privacy-section h2,
    .about-section h2 {
        font-size: 20px;
    }
    
    .content-section {
        padding: 0 16px;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .universities-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .features-detailed {
        grid-template-columns: 1fr;
    }
    
    .values-detailed {
        grid-template-columns: 1fr;
    }
    
    .impact-section {
        grid-template-columns: 1fr;
    }
    
    .tech-features {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .future-plans {
        grid-template-columns: 1fr;
    }
}
/* Dark Mode Styles */
[data-theme="dark"] .main-content {
    background-color: #1a1a1a;
}

[data-theme="dark"] .terms-section,
[data-theme="dark"] .privacy-section,
[data-theme="dark"] .about-section {
    background-color: #2a2a2a;
    border-color: #404040;
}

[data-theme="dark"] .terms-section h2,
[data-theme="dark"] .privacy-section h2,
[data-theme="dark"] .about-section h2 {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

[data-theme="dark"] .terms-section h3,
[data-theme="dark"] .privacy-section h3,
[data-theme="dark"] .about-section h3 {
    color: #ffffff;
}

[data-theme="dark"] .terms-section p,
[data-theme="dark"] .privacy-section p,
[data-theme="dark"] .about-section p,
[data-theme="dark"] .terms-section li,
[data-theme="dark"] .privacy-section li,
[data-theme="dark"] .about-section li,
[data-theme="dark"] .terms-section ul,
[data-theme="dark"] .privacy-section ul,
[data-theme="dark"] .about-section ul {
    color: #e0e0e0;
}

[data-theme="dark"] .terms-section a,
[data-theme="dark"] .privacy-section a,
[data-theme="dark"] .about-section a {
    color: #64b5f6;
}

[data-theme="dark"] .terms-section a:hover,
[data-theme="dark"] .privacy-section a:hover,
[data-theme="dark"] .about-section a:hover {
    color: #90caf9;
}

[data-theme="dark"] .mission,
[data-theme="dark"] .vision {
    background: #333333;
    border-left-color: #64b5f6;
}

[data-theme="dark"] .university-card {
    background: linear-gradient(135deg, #2a2a2a, #333333);
    border-color: #404040;
}

[data-theme="dark"] .university-card h4 {
    color: #ffffff;
}

[data-theme="dark"] .university-card p {
    color: #e0e0e0;
}

[data-theme="dark"] .step {
    background: #333333;
}

[data-theme="dark"] .step-number {
    background: #64b5f6;
    color: #1a1a1a;
}

[data-theme="dark"] .step-content h3 {
    color: #ffffff;
}

[data-theme="dark"] .step-content p {
    color: #e0e0e0;
}

[data-theme="dark"] .feature-detail {
    background: linear-gradient(135deg, #2a2a2a, #333333);
    border-color: #404040;
}

[data-theme="dark"] .feature-detail h3 {
    color: #ffffff;
}

[data-theme="dark"] .feature-detail p {
    color: #e0e0e0;
}

[data-theme="dark"] .value-item {
    background: #333333;
    border-left-color: #64b5f6;
}

[data-theme="dark"] .value-item h3 {
    color: #ffffff;
}

[data-theme="dark"] .value-item p {
    color: #e0e0e0;
}

[data-theme="dark"] .benefit {
    background: linear-gradient(135deg, #1e3a5f, #2a2a2a);
    border-color: #3a5f8f;
}

[data-theme="dark"] .benefit h3 {
    color: #ffffff;
}

[data-theme="dark"] .benefit li {
    color: #e0e0e0;
}

[data-theme="dark"] .benefit li::before {
    color: #4caf50;
}

[data-theme="dark"] .guidelines ul {
    background: #333333;
    border-left-color: #64b5f6;
}

[data-theme="dark"] .guidelines h3 {
    color: #ffffff;
}

[data-theme="dark"] .tech-item {
    background: linear-gradient(135deg, #3a2a4a, #2a2a2a);
    border-color: #5a4a6a;
}

[data-theme="dark"] .tech-item h4 {
    color: #ffffff;
}

[data-theme="dark"] .tech-item p {
    color: #e0e0e0;
}

[data-theme="dark"] .contact-item {
    background: linear-gradient(135deg, #2a4a2a, #2a2a2a);
    border-color: #4a6a4a;
}

[data-theme="dark"] .contact-item h4 {
    color: #ffffff;
}

[data-theme="dark"] .contact-item p {
    color: #e0e0e0;
}

[data-theme="dark"] .plan-item {
    background: linear-gradient(135deg, #4a3a1a, #2a2a2a);
    border-color: #6a5a3a;
}

[data-theme="dark"] .plan-item h4 {
    color: #ffffff;
}

[data-theme="dark"] .plan-item li {
    color: #e0e0e0;
}

[data-theme="dark"] .important-notice {
    background-color: #3a3520;
    border-color: #5a5530;
}

[data-theme="dark"] .important-notice p {
    color: #ffd54f;
}
