/* Enhanced CSS for Help and Company pages */

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #065f46, #047857);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 70px; /* Height of fixed navbar */
    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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Content Sections */
.content-section {
    margin: 4rem 0;
    padding: 2rem 0;
}

.content-section h2 {
    color: #065f46;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #065f46, #10b981);
    border-radius: 2px;
}

/* Hero Sections */
.hero-section {
    background: linear-gradient(135deg, #065f46, #047857);
    color: white;
    padding: 4rem 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-section p {
    font-size: 1.3rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Grid Layouts */
.benefits-grid,
.values-grid,
.achievements-grid,
.partnership-grid,
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item,
.value-item,
.achievement-item,
.partnership-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(6, 95, 70, 0.1);
    position: relative;
    overflow: hidden;
}

.benefit-item::before,
.value-item::before,
.achievement-item::before,
.partnership-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #065f46, #10b981);
}

.benefit-item:hover,
.value-item:hover,
.achievement-item:hover,
.partnership-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(6, 95, 70, 0.15);
}

/* Icons */
.benefit-icon,
.value-icon,
.achievement-icon,
.partnership-icon {
    background: linear-gradient(135deg, #065f46, #10b981);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(6, 95, 70, 0.3);
}

/* Content */
.benefit-content h3,
.value-content h3,
.achievement-content h3,
.partnership-content h3 {
    color: #065f46;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 3rem;
    border-radius: 16px;
    margin-top: 2rem;
    border: 1px solid rgba(6, 95, 70, 0.1);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-item i {
    color: #065f46;
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Forms */
.contact-form,
.application-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(6, 95, 70, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #065f46;
    background: white;
    box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #065f46, #10b981);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 95, 70, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 95, 70, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* FAQ Styles */
.faq-content {
    margin-top: 2rem;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: #065f46;
    border-bottom: 3px solid #065f46;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(6, 95, 70, 0.1);
}

.faq-item h3 {
    background: linear-gradient(135deg, #065f46, #10b981);
    color: white;
    padding: 1.5rem 2rem;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-item h3:hover {
    background: linear-gradient(135deg, #047857, #059669);
}

.faq-answer {
    padding: 2rem;
    background: #fafafa;
    display: none;
    border-top: 1px solid rgba(6, 95, 70, 0.1);
}

.faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #065f46, #10b981);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: linear-gradient(135deg, #065f46, #10b981);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(6, 95, 70, 0.3);
}

.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin: 0 2rem;
    flex: 1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(6, 95, 70, 0.1);
}

.timeline-content h3 {
    color: #065f46;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Stats */
.stat-item {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(6, 95, 70, 0.1);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(6, 95, 70, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #065f46, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #6b7280;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Tables */
.shipping-costs table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(6, 95, 70, 0.1);
}

.shipping-costs th,
.shipping-costs td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.shipping-costs th {
    background: linear-gradient(135deg, #065f46, #10b981);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.shipping-costs tr:hover {
    background: #f8fafc;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.social-link.facebook {
    background: linear-gradient(135deg, #3b5998, #4c70ba);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #fd1d1d);
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-link.tiktok {
    background: linear-gradient(135deg, #000000, #333333);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        margin-top: 60px; /* Smaller navbar height on mobile */
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 3rem 2rem;
    }
    
    .hero-section h2 {
        font-size: 2.2rem;
    }
    
    .benefits-grid,
    .values-grid,
    .achievements-grid,
    .partnership-grid,
    .team-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 4rem;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        top: 0;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        margin: 1rem 0 0 0;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 2rem 1.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
}
