.social-feed-container {
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.social-feed-header {
    max-width: 1140px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

.social-feed-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
}

.social-feed-links { 
    display: flex;
    gap: 1.5rem;
}

.social-feed-link {
    color: #a8a8a8;
    font-size: 1.5rem;
    transition: opacity 0.2s ease;
}

.social-feed-link:hover {
    opacity: 0.7;
}

.social-feed-grid {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}

.social-feed-grid::-webkit-scrollbar {
    display: none;
}

.social-feed-card {
    flex: 0 0 360px;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.social-feed-card-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e1e8ed;
}

.social-feed-profile-img {
    width: 48px;

    margin-right: 0.75rem;
}

.social-feed-profile-info {
    flex: 1;
}

.social-feed-name {
    font-weight: 600;
    color: #ececec;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.social-feed-username {
    color: #657786;
    font-size: 0.85rem;
}

.social-feed-card-content {
    display: flex;
    flex-direction: column;
}

.social-feed-card-content p {
    padding: 1rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #14171a;
}

.social-feed-media {
    width: 100%;
    border-top: 1px solid #e1e8ed;
    border-bottom: 1px solid #e1e8ed;
}

.social-feed-media img {
    width: 100%;
    height: auto;
    display: block;
}

.social-feed-see-more {
    padding: 1rem;
    color: #0a66c2;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s ease;
}

.social-feed-see-more:hover {
    opacity: 0.8;
}

.instagram-feed-card .social-feed-see-more {
    color: #e1306c;
}

.instagram-feed-card .social-feed-media {
    aspect-ratio: 1/1;
}

.linkedin-feed-card .social-feed-media {
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .social-feed-header {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .social-feed-title {
        font-size: 1.5rem;
    }

    .social-feed-grid {
        gap: 1rem;
        padding: 0 1rem;
        justify-content: flex-start;
    }

    .social-feed-card {
        flex: 0 0 300px;
    }

    .social-feed-card:first-child {
        margin-left: auto;
    }

    .social-feed-card:last-child {
        margin-right: auto;
    }
}

.social-container {
    padding: 2rem 0;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.social-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
}

.social-header {
    max-width: 1140px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.social-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: #ffffff;
    font-size: 1.5rem;
    transition: opacity 0.2s ease;
}

.social-link:hover {
    opacity: 0.7;
}

.social-grid {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1140px;
    margin: 0 auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.social-grid::-webkit-scrollbar {
    display: none;
}

.social-card {
    flex: 0 0 360px;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
}

.social-card:hover {
    
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.social-card iframe {
    width: 100% !important;
    height: 500px !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

.social-card blockquote {
    width: 100% !important;
    margin: 0 !important;
}

.linkedin-embed-container {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e1e8ed;
}

.profile-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.profile-info {
    flex: 1;
}

.profile-info .name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.profile-info .username {
    color: #657786;
    font-size: 0.85rem;
}

.platform-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.linkedin-card .platform-icon {
    background: #0a66c2;
}

.instagram-card .platform-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-content p {
    padding: 1rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #14171a;
}

.media-content {
    width: 100%;
    border-top: 1px solid #e1e8ed;
    border-bottom: 1px solid #e1e8ed;
}

.media-content img {
    width: 100%;
    height: auto;
    display: block;
}

.media-content:hover img {
    transform: scale(1.05);
}

.engagement {
    display: flex;
    padding: 0.75rem 1rem;
    gap: 1.5rem;
}

.action-btn {
    background: none;
    border: none;
    padding: 0;
    color: #657786;
    cursor: pointer;
    transition: color 0.2s ease;
}

.action-btn:hover {
    color: #1da1f2;
}

/* Platform specific styles */
.linkedin-card .action-btn:hover {
    color: #0a66c2;
}

.instagram-card .action-btn:hover {
    color: #e1306c;
}

.action-btn i {
    font-size: 1.2rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .social-header {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .social-title {
        font-size: 1.5rem;
    }

    .social-grid {
        gap: 1rem;
        padding: 0 1rem;
    }

    .social-card {
        flex: 0 0 300px;
    }
}

/* Animation Classes */
.slide-in-left {
    animation: slideInLeft 0.5s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Platform-specific styles */
.twitter .follow-btn {
    background-color: #1DA1F2;
    color: white;
}

.instagram .follow-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.linkedin .follow-btn {
    background-color: #0077B5;
    color: white;
}

@media (max-width: 768px) {
    .social-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1rem;
        padding: 0;
        margin: 0;
        position: relative;
        transform: none;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .social-grid::-webkit-scrollbar {
        display: none;
    }

    .social-card {
        flex: 0 0 90%;
        scroll-snap-align: center;
        margin: 1rem 0.5rem;
        transform: none;
        max-width: none;
    }

    .social-card:first-child {
        margin-left: 1rem;
    }

    .social-card:last-child {
        margin-right: 1rem;
    }
    
    /* Smooth scrolling behavior */
    .social-grid {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Adjust spacing for mobile */
    .social-header {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .social-title {
        font-size: 1.75rem;
    }

    /* Optimize touch targets */
    .card-actions button,
    .follow-btn {
        min-height: 44px;
        padding: 0.75rem;
    }

    /* Adjust card padding */
    .card-content {
        padding: 1rem;
    }

    .card-header {
        padding: 0.75rem 1rem;
    }

    .card-actions {
        padding: 0.75rem 1rem;
    }

    /* Remove scroll indicators since we have snap points */
    .social-grid::before,
    .social-grid::after {
        display: none;
    }
    .social-header{
        max-width: 90%;
    }

    /* Enhance touch interaction */
    .social-card {
        touch-action: pan-x pinch-zoom;
        -webkit-tap-highlight-color: transparent;
        transition: transform 0.2s ease;
    }

    .social-card:active {
        transform: scale(0.98);
    }
    .social-container::before {
        width: 100%
    }
} .social-container * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.social-container *::-webkit-scrollbar {
    display: none !important;
}
@media (max-width:1200px){
    .social-container::before {
        width: 100%
    }
}

/* Platform specific styles */
.instagram-card .media-content {
    aspect-ratio: 1/1;
}

.linkedin-card .media-content {
    aspect-ratio: 16/9;
}

.instagram-card .card-content p {
    white-space: pre-wrap;
    word-break: break-word;
}

/* Enhance card animations */
.social-card {
    transform-origin: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Improve text readability */
.card-content p {
    color: #262626;
    letter-spacing: 0.2px;
}

/* Hashtag styling */
.card-content p a,
.card-content p span {
    color: #1da1f2;
    text-decoration: none;
}

.card-content p a:hover,
.card-content p span:hover {
    text-decoration: underline;
}