/* Social Share Buttons Styling */
.social-share-container {
    margin-top: 2rem;
    text-align: center;
}

.share-label {
    display: inline-block;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

/* Platform-specific colors */
.share-twitter {
    background-color: #000000;
    color: #ffffff;
}

.share-twitter:hover {
    background-color: #1a1a1a;
}

.share-facebook {
    background-color: #1877f2;
    color: #ffffff;
}

.share-facebook:hover {
    background-color: #166fe5;
}

.share-whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.share-whatsapp:hover {
    background-color: #20bd5a;
}

.share-linkedin {
    background-color: #0a66c2;
    color: #ffffff;
}

.share-linkedin:hover {
    background-color: #004182;
}

.share-email {
    background-color: #6b7280;
    color: #ffffff;
}

.share-email:hover {
    background-color: #4b5563;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-share-container {
        margin-top: 1.5rem;
    }

    .share-label {
        font-size: 0.9rem;
    }

    .share-btn {
        width: 40px;
        height: 40px;
    }

    .share-btn svg {
        width: 18px;
        height: 18px;
    }

    .social-share-buttons {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .share-btn {
        width: 36px;
        height: 36px;
    }

    .share-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Accessibility improvements */
.share-btn:focus {
    outline: 3px solid #4299e1;
    outline-offset: 2px;
}

.share-btn:active {
    transform: translateY(-1px);
}

/* Global Share Section (Before Footer) */
.global-share-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0 5rem 0;
    margin-top: 4rem;
    margin-bottom: 0;
    text-align: center;
}

.global-share-content h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.global-share-content p {
    color: #e2e8f0;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.global-share-section .social-share-buttons {
    gap: 1rem;
}

@media (max-width: 768px) {
    .global-share-section {
        padding: 2rem 0;
        margin-top: 3rem;
    }

    .global-share-content h3 {
        font-size: 1.5rem;
    }

    .global-share-content p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
}

/* Hero Share Card */
.hero-share-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-top: 3.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-share-label {
    display: block;
    font-size: 1rem;
    color: #2d3748;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-share-card .social-share-buttons {
    justify-content: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .hero-share-card {
        padding: 1.25rem 1.5rem;
        margin-top: 2rem;
    }

    .hero-share-label {
        font-size: 0.9rem;
    }
}

/* End of Page Share Section */
.end-page-share-section {
    background-color: #f7fafc;
    padding: 3rem 0;
    margin-top: 3rem;
    text-align: center;
    border-top: 3px solid #667eea;
}

.end-page-share-content h3 {
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.end-page-share-content p {
    color: #4a5568;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.end-page-share-content .share-label {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    text-shadow: none;
}

.end-page-share-section .social-share-buttons {
    gap: 1rem;
}

@media (max-width: 768px) {
    .end-page-share-section {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    .end-page-share-content h3 {
        font-size: 1.5rem;
    }

    .end-page-share-content p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
}
