/* =========================================================
   SOCIALS PAGE STYLES — SWASTIKA DESIGN & CONSTRUCTIONS
========================================================= */

/* Active nav indicator */
.nav-links a.active-nav {
    color: var(--accent) !important;
}

.nav-links a.active-nav::after {
    width: 100% !important;
}

/* .navbar {
    background: #0b0b0b !important;
} */

/* =========================================================
   1. 100vh SOCIALS HERO (DARK LUXURY CANVAS)
========================================================= */
.socials-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 740px;
    padding-top: 73px;
    background:
        radial-gradient(circle at 80% 20%, rgba(166, 124, 50, 0.14), transparent 50%),
        #0b0b0b;
    color: #f5f5f5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.socials-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.socials-hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.socials-hero-content {
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
}

.socials-hero h1 {
    font-size: clamp(2.5rem, 5.2vw, 4.4rem);
    line-height: 1.12;
    color: #ffffff;
    margin: 12px 0 16px;
    font-weight: 600;
}

.socials-hero-lead {
    font-size: clamp(14px, 1.25vw, 16.5px);
    line-height: 1.75;
    color: #b8b8b8;
    max-width: 740px;
    margin: 0 auto 34px;
}

/* =========================================================
   HERO PLATFORM SPOTLIGHT CARDS
========================================================= */
.hero-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.hero-channel-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(166, 124, 50, 0.3);
    border-radius: 18px;
    padding: 24px 22px;
    backdrop-filter: blur(12px);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.hero-channel-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.channel-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    flex-shrink: 0;
}

.instagram-icon {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.facebook-icon {
    background: #1877f2;
}

.youtube-icon {
    background: #ff0000;
}

.channel-card-top h3 {
    margin: 0 0 2px;
    font-size: 18px;
    color: #ffffff;
}

.channel-card-top span {
    font-size: 11px;
    color: var(--accent-light);
    letter-spacing: 0.5px;
}

.hero-channel-card p {
    font-size: 12.5px;
    color: #a8a8a8;
    line-height: 1.55;
    margin-bottom: 18px;
}

.channel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.channel-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.btn-insta {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: #ffffff;
}

.btn-fb {
    background: #1877f2;
    color: #ffffff;
}

.btn-yt {
    background: #ff0000;
    color: #ffffff;
}

/* Jump-to Navigation Pills */
.socials-jump-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.socials-jump-pills a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    color: #d1d1d1;
    font-size: 11.5px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.socials-jump-pills a:hover {
    background: var(--accent);
    color: #111111;
    border-color: var(--accent);
}

.hero-scroll-down {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 14px;
    z-index: 2;
    animation: bounceDown 2.2s infinite ease-in-out;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -6px); }
    60% { transform: translate(-50%, -3px); }
}

/* =========================================================
   2. SECTION STYLING & PLATFORM HEADERS
========================================================= */
.social-feed-section {
    padding: 100px 0;
    background: #f8f7f4;
    color: #171717;
    border-bottom: 1px solid rgba(23, 23, 23, 0.06);
}

.fb-section {
    background: #ffffff;
}

.yt-section {
    background: #f8f7f4;
}

.platform-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.platform-header-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.platform-header-badge {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    flex-shrink: 0;
}

.insta-badge {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.fb-badge {
    background: #1877f2;
}

.yt-badge {
    background: #ff0000;
}

.platform-eyebrow {
    font-size: 10.5px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
}

.platform-header-info h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    margin: 0 0 4px;
    color: #171717;
}

.platform-header-info p {
    margin: 0;
    color: #666666;
    font-size: 14px;
}

/* =========================================================
   3. VIDEO MATRICES & DIRECT NATIVE PLAYERS
========================================================= */
.video-matrix {
    display: grid;
    gap: 24px;
}

/* 2x4 Matrix: Instagram & Facebook Reels (4 columns on Desktop) */
.reels-matrix {
    grid-template-columns: repeat(4, 1fr);
}

/* 2x3 Matrix: YouTube Showcase (2 BIG columns on Desktop) */
.yt-large-matrix {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Card Container */
.video-embed-card {
    background: #ffffff;
    border-radius: 0px;
    overflow: hidden;
    border: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.video-embed-card:hover {
    transform: translateY(-5px);
    border-color: rgba(166, 124, 50, 0.45);
    box-shadow: 0 16px 40px rgba(23, 23, 23, 0.1);
}

/* Direct Player Box (Native Platform Embeds) */
.video-player-box {
    position: relative;
    width: 100%;
    background: #000000;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(23, 23, 23, 0.06);
}

/* 9:16 Vertical Ratio for Reels (Instagram & Facebook) */
.reel-card .video-player-box {
    aspect-ratio: 9 / 15;
}

/* 16:9 Cinematic Widescreen Ratio for YouTube */
.landscape-card .video-player-box {
    aspect-ratio: 16 / 9;
}

/* Native Iframe styling */
.video-player-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Video Card Meta (Titles & Captions) */
.video-card-meta {
    padding: 18px 20px 22px;
    background: #ffffff;
    flex-grow: 1;
}

.video-card-meta h4 {
    margin: 0 0 6px;
    font-size: 15.5px;
    color: #171717;
    line-height: 1.35;
}

/* YouTube meta looks slightly bolder due to bigger card size */
.landscape-card .video-card-meta h4 {
    font-size: 17.5px;
    margin-bottom: 8px;
}

.video-card-meta p {
    margin: 0;
    font-size: 13px;
    color: #666666;
    line-height: 1.55;
}

/* =========================================================
   4. THREE-ITEM CONNECT GRID (Google, WhatsApp, Email)
========================================================= */
.direct-connect-section {
    padding: 110px 0;
    background: #ffffff;
    border-top: 1px solid rgba(23, 23, 23, 0.06);
}

.connect-three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.connect-card {
    background: #f8f7f4;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 20px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.connect-card:hover {
    transform: translateY(-6px);
    border-color: rgba(166, 124, 50, 0.45);
    box-shadow: 0 16px 40px rgba(23, 23, 23, 0.08);
    background: #ffffff;
}

.connect-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.connect-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.google-ico {
    background: #ffffff;
    color: #4285F4;
}

.whatsapp-ico {
    background: #e6f9ed;
    color: #25D366;
}

.email-ico {
    background: #f4ecdf;
    color: var(--accent);
}

.connect-badge {
    background: rgba(166, 124, 50, 0.12);
    border: 1px solid rgba(166, 124, 50, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
}

.connect-badge span {
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.wa-badge {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.35);
}

.wa-badge span {
    color: #1eb956;
}

.connect-card h3 {
    font-size: 22px;
    color: #171717;
    margin: 0 0 10px;
}

.connect-card p {
    color: #666666;
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0 0 24px;
}

.connect-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 13px;
}

.wa-btn {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
}

.wa-btn:hover {
    background: #1eb956 !important;
}

/* =========================================================
   5. RESPONSIVE BREAKPOINTS
========================================================= */
@media (max-width: 1200px) {
    .reels-matrix {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .yt-large-matrix {
        gap: 22px;
    }
}

@media (max-width: 992px) {
    .socials-hero {
        height: auto;
        min-height: 100vh;
        padding: 130px 0 70px;
    }

    .hero-channels-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-scroll-down {
        display: none;
    }

    /* Tablet: 2 in a row */
    .reels-matrix {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .yt-large-matrix {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .connect-three-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================================
   MOBILE DEVICES: STRICTLY 1 VIDEO PER ROW
========================================================= */
@media (max-width: 768px) {
    .socials-hero {
        padding: 120px 0 60px;
    }
     /* Hides the lead text on mobile screens */
    .socials-hero-lead {
        display: none;
    }

    /* Optional: adjusts hero heading margin for a cleaner fit */
    .socials-hero h1 {
        margin-bottom: 24px;
    }

    .socials-jump-pills {
        display: none;
    }

    .social-feed-section,
    .direct-connect-section {
        padding: 60px 0;
    }

    .platform-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .platform-header a {
        width: 100%;
        justify-content: center;
    }

    /* STRICTLY 1 PER ROW ON ALL MOBILE SCREENS */
    .reels-matrix,
    .yt-large-matrix {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .reel-card .video-player-box {
        aspect-ratio: 9 / 14;
    }
}

/* Direct Player Box Container */
.video-player-box {
    position: relative;
    width: 100%;
    background: #000000;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(23, 23, 23, 0.06);
}

/* 9:16 Ratio for Vertical Reels (267 / 476 ≈ 9 / 16) */
.reel-card .video-player-box {
    aspect-ratio: 9 / 16;
    min-height: 480px;
}

/* Forces the pasted iframe to adapt to the card */
.video-player-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    border: none !important;
    display: block;
}
/* Ensure Facebook SDK renders cleanly within the card */
.fb-video,
.fb-video span,
.fb-video iframe {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* Set vertical height on the card player box */
.reel-card .video-player-box {
    position: relative;
    width: 100%;
    min-height: 468px;
    background: #000000;
    overflow: hidden;
    border:0px;
}

.section-heading h2{
    color:#0b0b0b;
    padding-bottom: 7px;
}