/* ----------------------------------------------------
   PROFILE PAGE BASE
---------------------------------------------------- */

body.profile-page {
    background: #f8f9fa;
    padding-top: 110px;
    font-family: "Inter", sans-serif;
}

/* Reduce top padding on mobile */
@media (max-width: 768px) {
    body.profile-page {
        padding-top: 80px;
    }
}

/* ----------------------------------------------------
   HEADER CARD / HERO
---------------------------------------------------- */

.profile-header img {
    border: 3px solid #eee;
}

.profile-hero {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #eee;
    margin-bottom: 0px;
}

.profile-header h3 {
    font-weight: 600;
}

/* Hide hero Contact button on mobile */
@media (max-width: 768px) {
    .profile-hero .btn {
        display: none !important;
    }
}

/* ----------------------------------------------------
   SECTION TITLES
---------------------------------------------------- */

.card-body h4,
.card-body h5 {
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 1rem;
}

/* ----------------------------------------------------
   LIST GROUPS
---------------------------------------------------- */

.list-group-item {
    font-size: 1rem;
    padding: 14px 18px;
}

/* ----------------------------------------------------
   VIDEO PLAYER
---------------------------------------------------- */

.ratio video {
    border-radius: 8px;
    background: #000;
}

/* ----------------------------------------------------
   STICKY SIDEBAR (DESKTOP)
---------------------------------------------------- */

@media (min-width: 992px) {
    .profile-sticky {
        position: sticky;
        top: 120px;
    }
}

/* ----------------------------------------------------
   CARD & BADGE IMPROVEMENTS
---------------------------------------------------- */

.card {
    border-radius: 14px;
}

.card-body p {
    line-height: 1.65;
    font-size: 1.05rem;
}

.badge {
    padding: 0.55em 0.9em;
    font-size: 0.85rem;
    border-radius: 8px;
}

.badge-featured {
    background: #ffe08a;
    color: #7a5a00;
    font-weight: 600;
}

/* ----------------------------------------------------
   MOBILE HERO LAYOUT
---------------------------------------------------- */

@media (max-width: 768px) {
    .profile-hero {
        text-align: center;
        flex-direction: column;
        padding: 30px 20px;
    }

    .profile-hero img {
        margin-bottom: 15px;
    }
}

/* ----------------------------------------------------
   CARD HOVER EFFECT
---------------------------------------------------- */

.card:hover {
    transform: translateY(-2px);
    transition: 0.2s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* ----------------------------------------------------
   Sticky CTA bar (MOBILE ONLY)
---------------------------------------------------- */
/* Sticky CTA bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 10px 15px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.12);
    z-index: 9999;
    display: none;
}

/* Show sticky bar ONLY on mobile */
@media (max-width: 768px) {
    .sticky-cta {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
}

/* Buttons inside sticky bar */
.sticky-cta .btn {
    padding: 12px 10px;
    font-size: 16px;
    border-radius: 8px;
}

/* Buttons inside sticky bar */
.sticky-cta .btn {
    padding: 12px 10px;
    font-size: 16px;
    border-radius: 8px;
}

/* ----------------------------------------------------
   MOBILE READABILITY FIXES
---------------------------------------------------- */

@media (max-width: 768px) {

    /* Larger base font size */
    body.profile-page {
        font-size: 17px;
    }

    /* Larger paragraph & list text */
    .profile-page .card-body p,
    .profile-page .card-body li {
        font-size: 17px;
        line-height: 1.7;
    }

    /* Headings */
    .profile-page h2 {
        font-size: 24px;
        font-weight: 700;
    }

    .profile-page h4 {
        font-size: 20px;
        font-weight: 600;
    }

    /* Restore comfortable padding */
    .profile-page .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Increase card padding */
    .profile-page .card-body {
        padding: 22px !important;
    }

    /* Force all multi-column sections into one column */
    .profile-page .row .col-md-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Keep cards readable */
    .profile-page .card {
        border-radius: 12px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}