﻿/* ---- Gallery Page Specific Styles ---- */

/* Sidebar category filter items */
.gallery-filter-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-filter-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

    .gallery-filter-item:hover .gallery-filter-label {
        background: #ececec;
    }

    .gallery-filter-item.active .gallery-filter-btn {
        background: #b8895a;
    }

.gallery-filter-label {
    flex: 1;
    background: #f7f7f7;
    height: 57px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.8);
    text-transform: capitalize;
    transition: background 0.2s;
}

.gallery-filter-btn {
    background: #d1a87d;
    color: #fff;
    width: 51px;
    height: 57px;
    border: none;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
    line-height: 1;
    cursor: pointer;
}

    .gallery-filter-btn:focus {
        outline: none;
    }

/* Gallery grid images */
.gallery-grid .sigma_portfolio-item {
    margin-bottom: 24px;
    overflow: hidden;
}

    .gallery-grid .sigma_portfolio-item img {
        width: 100%;
        height: 269px;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    .gallery-grid .sigma_portfolio-item:hover img {
        transform: scale(1.05);
    }

.gallery-grid .sigma_portfolio-item-content {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-grid .sigma_portfolio-item:hover .sigma_portfolio-item-content {
    opacity: 1;
}

.gallery-grid .sigma_portfolio-item-content a {
    width: 52px;
    height: 52px;
    background: #d1a87d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 50%;
}

/* Section spacing */
.gallery-section {
    padding: 80px 0 60px;
}



/* ---- Founder Page Specific Styles ---- */
/* Section label with decorative lines */
.founder-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.founder-label-line {
    display: block;
    width: 60px;
    height: 2px;
    background: #d6a77b;
}

.founder-label-text {
    font-size: 16px;
    font-weight: 600;
    color: #d6a77b;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    line-height: 30px;
}

/* Bio section */
.founder-bio-section {
    padding: 80px 0;
}

.founder-photo-wrap {
    position: relative;
    height: 100%;
    min-height: 550px;
    overflow: hidden;
}

    .founder-photo-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
    }

.founder-bio-name {
    font-size: 38px;
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 24px;
    line-height: 1.2;
}

.founder-bio-credentials {
    font-size: 17px;
    font-weight: 600;
    color: #1c1c1c;
    line-height: 30px;
    margin-bottom: 0;
}

.founder-bio-text {
    font-size: 15px;
    color: #777;
    line-height: 30px;
}


/* Social buttons */
.founder-social-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.founder-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    min-width: 163px;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

    .founder-btn:hover {
        color: #fff;
        opacity: 0.88;
        text-decoration: none;
        transform: translateY(-2px);
    }

.founder-btn-youtube {
    background: #000;
}

.founder-btn-facebook {
    background: #d6a77b;
}

.founder-btn i {
    font-size: 20px;
}

/* Icon-only social links for founder bio */
.founder-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
    align-items: center;
}

.founder-social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    background: #d6a77b;
    transition: transform 0.1s ease, opacity 0.1s ease;
    flex-shrink: 0;
}

    .founder-social-icon:hover {
        transform: translateY(-3px);
        opacity: 0.92;
        color: rgba(255,255,255,.8);
    }

    .founder-social-icon i {
        font-size: 18px;
    }


/* Certifications section */
.founder-certifications {
    background: #074574;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

    .founder-certifications .section-title .subtitle span {
        background: rgba(255, 255, 255, 0.15);
    }

.founder-certifications-title {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 44px;
    text-transform: capitalize;
}

.founder-cert-img-wrap {
    overflow: hidden;
    border-radius: 4px;
}

    .founder-cert-img-wrap img {
        width: 100%;
        height: 380px;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    .founder-cert-img-wrap:hover img {
        transform: scale(1.03);
    }

/* Certifications label for dark bg */
.founder-cert-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.founder-cert-label-line {
    display: block;
    width: 60px;
    height: 2px;
    background: #d6a77b;
}

.founder-cert-label-text {
    font-size: 16px;
    font-weight: 600;
    color: #d6a77b;
    letter-spacing: 0.02em;
    line-height: 30px;
}

/* Videos section */
.founder-videos-section {
    padding: 80px 0;
}

.founder-videos-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

    .founder-videos-header h4 {
        font-size: 36px;
        font-weight: 700;
        color: #1c1c1c;
        margin-bottom: 0;
    }

.founder-video-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.founder-video-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

    .founder-video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    .founder-video-thumb:hover img {
        transform: scale(1.04);
    }

.founder-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.founder-video-thumb:hover .founder-video-play {
    opacity: 1;
}

.founder-video-play-btn {
    width: 60px;
    height: 60px;
    background: #d6a77b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.founder-video-title {
    font-size: 18px;
    font-weight: 600;
    color: #1c1c1c;
    line-height: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slider nav arrows */
.founder-videos-nav {
    display: flex;
    gap: 10px;
}

    .founder-videos-nav .nav-arrow {
        width: 51px;
        height: 40px;
        background: #f7f7f7;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1c1c1c;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }

        .founder-videos-nav .nav-arrow:hover {
            background: #d6a77b;
            color: #fff;
        }

@media (max-width: 991px) {
    .founder-photo-wrap {
        min-height: 400px;
        margin-bottom: 40px;
    }

    .founder-bio-name {
        font-size: 28px;
    }

    .founder-videos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .founder-cert-img-wrap img {
        height: 260px;
    }
}



@media (max-width: 991px) {
    .gallery-filter-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    .gallery-filter-item {
        min-width: 180px;
    }
}
