/* DocuSort - Pages Stylesheet (Updated from original CSS) */

/* CSS Variables - Updated with Professional Color Scheme */
:root {
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --primary-light: #42A5F5;
    --secondary-color: #404040;
    --accent-color: #FF9800;
    --accent-warm: #FFB852;
    --accent-bright: #FF5926;
    --success-color: #10B981;
    --background-color: #fff;
    --surface-color: #f5f5f5;
    --text-primary: #282828;
    --text-secondary: #404040;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #2196F3, #1976D2);
    --gradient-secondary: linear-gradient(135deg, #FF9800, #FF5926);
    --gradient-warm: linear-gradient(135deg, #FFB852, #FF9800);
    --gradient-dark: linear-gradient(135deg, #404040, #282828);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0/0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0/0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0/0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0/0.1);
}

/* Page Section - Updated Background */
.page-section {
    padding: 8rem 0;
    min-height: calc(100vh - 80px);
}

/* Page Header - From original */
.page-header {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Content - From original */
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.contact-info h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 600;
}

.contact-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(33, 150, 243, 0.15);
    background: linear-gradient(135deg, #fff, #E3F2FD);
    border-color: var(--primary-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: #fff;
    background: var(--gradient-primary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.contact-item div {
    flex: 1;
}

.contact-item h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1976d2;
    text-decoration: underline;
}

/* Contact Hours - Updated Colors */
.contact-hours {
    background: linear-gradient(135deg, #FFF3E0, #FFECB3);
    border: 2px solid #FFB852;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.contact-hours:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.2);
    border-color: #FF9800;
}

.contact-hours h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    color: #E65100;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-hours h3 i {
    background: linear-gradient(135deg, #FF9800, #FF5926);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-hours p {
    color: #15803d;
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-hours .note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 184, 82, 0.1);
    border-radius: 8px;
    font-style: italic;
    color: #E65100;
    border-left: 4px solid #FF9800;
}

/* Quick Contact - From original with animation fix */
.quick-contact {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.quick-contact:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.2) 0%, transparent 50%);
    animation: none !important;
    transform: none !important;
}

.quick-contact h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.quick-contact p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.quick-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.quick-buttons .btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-buttons .btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

.quick-buttons .btn-secondary i {
    font-size: 1.1rem;
}

/* FAQ Preview - From original */
.faq-preview {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 2rem;
}

.faq-preview:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #a855f7 50%, #c084fc);
}

.faq-preview h3 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.faq-item {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, #fff, #f0f9ff);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.1);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item strong {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    display: block;
    color: var(--text-primary);
}

.faq-item p {
    line-height: 1.6;
    margin: 0;
    color: var(--text-secondary);
}

/* About Page - From original */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-details {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.detail-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.detail-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
}

.mission-statement {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e0f2fe;
    margin-top: 2rem;
}

.mission-statement h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-statement p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

/* Company Values - From original */
.company-values {
    margin-top: 3rem;
}

.company-values h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CTA Section - From original */
.cta-section {
    text-align: center;
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 16px;
    margin-top: 4rem;
}

.cta-section h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Legal Pages (Privacy, Terms, etc.) - From original */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Contact Additional - From original */
.contact-additional {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

/* Navigation Active State - From original */
.nav-menu a.active {
    color: var(--primary-color);
    background: var(--surface-color);
}

/* Footer Styles - From original */
.footer {
    background: #282828;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: hsla(0, 0%, 100%, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: hsla(0, 0%, 100%, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.6;
}

/* Responsive Styles - From original */
@media (max-width: 768px) {
    .page-section {
        padding: 6rem 0 4rem;
    }

    .page-header {
        margin-bottom: 3rem;
        padding-top: 1rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .contact-info {
        padding: 2rem;
        margin: 0 1rem;
    }

    .contact-items-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin-top: 0;
    }

    .contact-hours,
    .quick-contact,
    .faq-preview {
        margin: 0 1rem;
        padding: 2rem;
        margin-bottom: 1rem;
    }

    .quick-buttons {
        flex-direction: column;
        align-items: center;
    }

    .quick-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-section {
        padding: 2rem;
    }

    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .detail-item {
        flex-direction: column;
        text-align: center;
    }

    .detail-item i {
        margin-top: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .page-section {
        padding: 4rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-info,
    .contact-hours,
    .quick-contact,
    .faq-preview,
    .legal-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
        margin-bottom: 0.5rem;
    }

    .contact-item,
    .detail-item {
        padding: 1rem;
    }

    .mission-statement {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 1.5rem;
    }
}
