/* =========================================
   Premium Social Media & Branding Sections
   ========================================= */

/* Shared Layout for these sections */
.social-media-section .row,
.branding-section .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 992px) {

    .social-media-section .row,
    .branding-section .row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reverse-col-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 992px) {

    .platform-grid,
    .branding-grid {
        grid-template-columns: 1fr !important;
        /* Stack vertically on mobile and tablets */
        gap: 20px;
    }

    .brand-cta-wrapper {
        flex-direction: column;
        align-items: center;
        /* Center align for better mobile look */
        gap: 15px;
        text-align: center;
    }

    .social-media-section {
        padding: 60px 0;
    }

    .branding-section {
        padding: 80px 0;
    }
}

/* =========================================
   Social Media Section - Glass Tiles
   ========================================= */
.social-media-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Gradient Glow on Hover */
.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.platform-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-card i {
    font-size: 1.8rem;
    color: #fff;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    /* Dark Button Style matching user request */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    margin-bottom: 25px;
    /* Added spacing between icon and text */
}

/* Brand Specific Colors on Hover - Retaining the glow effect */
.platform-card:nth-child(1):hover i {
    background: #1877F2;
    box-shadow: 0 10px 20px -5px rgba(24, 119, 242, 0.5);
    border-color: #1877F2;
}

.platform-card:nth-child(2):hover i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 10px 20px -5px rgba(220, 39, 67, 0.5);
    border-color: transparent;
}

.platform-card:nth-child(3):hover i {
    background: #000000;
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.2);
    border-color: #333;
}

.platform-card:nth-child(4):hover i {
    background: #FF0000;
    box-shadow: 0 10px 20px -5px rgba(255, 0, 0, 0.5);
    border-color: #FF0000;
}

.platform-card div {
    z-index: 1;
}

.platform-card h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.platform-card p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.social-mockup {
    position: relative;
    padding: 20px;
}

.social-mockup::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transform: rotate(3deg);
    z-index: 0;
    pointer-events: none;
}

.social-mockup img {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.social-mockup:hover img {
    transform: rotate(0deg) scale(1.02);
}

/* =========================================
   Personal Branding Section - Executive Suite
   ========================================= */
.branding-section {
    background: linear-gradient(to bottom, #0b1121, #0f172a);
    padding: 120px 0;
    position: relative;
}

/* Subtle pattern for branding section */
.branding-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.branding-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.brand-feature-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.brand-feature-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.bf-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: rgba(249, 115, 22, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    transition: var(--transition);
}

.brand-feature-card:hover .bf-icon i {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.bf-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.bf-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.brand-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-tagline {
    font-family: 'Mrs Saint Delafield', cursive;
    /* Requires Font Import or Fallback */
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Image Styling */
.branding-section .col-img {
    position: relative;
    padding: 20px;
}

.branding-section .col-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    border-top: 3px solid var(--secondary-color);
    border-left: 3px solid var(--secondary-color);
    border-radius: 20px 0 0 0;
    z-index: 0;
}

.branding-section .col-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    border-bottom: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
    border-radius: 0 0 20px 0;
    z-index: 0;
}

.branding-section .col-img img {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    filter: brightness(0.9) contrast(1.1);
}