.butn-1 {
    padding: 10px 35px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    position: relative;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    background: var(--cr-dark1) !important;
    color: white;
}
.tc-about-st7 {
    position: relative;
    padding-bottom: 40px;
}

.hosni-span {
    color: #ae002f !important;
    ;
}

.blog-page-st1 .tc-blog-st15 .post-card {
    position: relative;
    margin-bottom: 40px;
  }
  @media screen and (min-width: 1008px) {
    .tc-navbar-st7 {
        position: relative;
        z-index: 99;
        padding: 20px 14vw;
    }
}

.tc-navbar-st7 {
    position: relative;
    z-index: 99;
   
}
.tc-clients-st7 .cards .logo {
    padding: 5px 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: 1px solid #9994;
    margin-top: 30px;
}

.tc-about-st7 .accordion .accordion-item .accordion-button {
    border-radius: 0 !important;
    background-color: #ae002f !important;
    font-size: 16px;
    padding: 20px;
    color: white;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-bottom: 1px solid #9993;
}


.swiper-button-next, .swiper-button-prev {
    position: absolute;
    top: 35%;
    /* width: calc(var(--swiper-navigation-size) / 44* 27); */
    height: var(--swiper-navigation-size);
    margin-top: calc(0px -(var(--swiper-navigation-size) / 2));
    z-index: 10;
    cursor: pointer;
    display: flex
;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
}



@media screen and (max-width: 991px) {

    .feature-card .icon{
        height: 120px !important;
    }
    .tc-features-st7 .feature-card {
        position: relative;
        padding: 0px 50px;
    }
    .tc-about-st7 {
        position: relative;
        padding-bottom: 0px;
    }
    .tc-testimonials-st7 {
        position: relative;
        padding: 50px 0;
        overflow: hidden;
    }
    .tc-clients-st7 {
        position: relative;
        padding-top: 10px;
    }
}


/* start creator section */



   /* Root Variables */
   .root {
    --grid-width: 100%;
    --grid-height: 624px;
    --grid-columns: 8;
    --column-width: calc(var(--grid-width) / var(--grid-columns));
    --expanded-width: calc(var(--column-width) * 3);
}

/* General Body Styles */


/* Accordion Grid */
.accordion-grid {
    width: var(--grid-width);
    height: var(--grid-height);
    column-gap: 1.5rem;
    display: flex;
    overflow: hidden;

}

.grid-item {
    background: linear-gradient(182deg, #2f0808 -2.38%, #a01b1b 97.92%), #d9d9d9;
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    transition: flex 0.5s ease;
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.5s ease;
}

.grid-item:hover {
    flex: 4 !important;
}

.grid-item:hover img {
    filter: grayscale(0%) brightness(1);
}

/* Info Top on the Top of Grid */
.info-top {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    z-index: 2;
}


/* Overlay Button */

.overlay,
.over-info-top {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #000);
    text-align: center;
    transition: all 0.5s ease;
    display: none;
}


.grid-item:hover .overlay {
    display: block;
}

.overlay .creator-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.overlay .social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 10px 0;
}

.overlay .social-icons i {
    color: #fff;
    font-size: 2.2rem;
    transition: color 0.3s ease;
}

.overlay .social-icons i:hover {
    color: #f00;
}

.overlay .followers {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

/* Mobile Swiper Overrides */
@media (max-width: 768px) {
    .accordion-grid {
        flex-direction: column;


    }

    .grid-item {
        height: 540px;

        text-align: center;
    }

    .info-top {
        font-size: 1rem;
    }

    .overlay {
        display: block;
        opacity: 1;
        background: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #000);
    }

    .overlay .creator-name {
        font-size: 1.5rem;
    }

    .overlay .followers {
        font-size: 2rem;
    }
}

/* Info Top - Hidden on Desktop by Default */
.info-top {
    position: absolute;
    top: 0;
    /* Align to the top */
    left: 0;
    /* Start from the left edge */
    right: 0;
    /* Stretch to the right edge */
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    background: linear-gradient(180deg, hsla(100%, 0%, 0, 0), #000);
    /* Full-width background for better visibility */
    padding: 15px 10px;
    /* Adjust padding for a neat look */
    opacity: 0;
    /* Hidden initially */
    visibility: hidden;
    /* Prevent interaction */
    transition: opacity 0.1s ease, visibility 0.1s ease;
    z-index: 2;
    /* Ensure it appears above the image */
}


/* Show Info Top on Hover */
.grid-item:hover .info-top {
    opacity: 1;
    visibility: visible;
}

/* Mobile - Always Show Info Top */
@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        color: white;
    }

    .grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: none;
        transition: all 0.5s ease;
    }

    .info-top {
        opacity: 1;
        visibility: visible;
    }
}

/* button style on mobile  */

/* Mobile Buttons Styling */
.mobile-buttons {
    margin-top: 1.5rem;
}

.mobile-buttons button {
    width: 100%;
    border-radius: 50px;
    /* Rounded corners */
    font-size: 1rem;
    /* Adjusted font size */
    font-weight: bold;
    /* Bold text */
    text-transform: capitalize;
    /* First letter uppercase */
    line-height: 1.5;
    padding: 12px 0;
    /* Vertical padding for consistency */
    transition: all 0.3s ease;
    /* Smooth transition */
}

/* Black Button (Top) */
.mobile-buttons .btn-dark {
    margin-bottom: 20px !important;
    background-color: #000;
    /* Black background */
    color: #fff;
    /* White text */
    border: 2px solid #fff;
    /* White border */
}

.mobile-buttons {
    width: 80%;
    margin: 0 auto;
}

.mobile-buttons .btn-dark:hover {
    background-color: #AE002F;
    /* Slightly lighter black on hover */
    border-color: #fff;
}

/* White Button (Bottom) */
.mobile-buttons .btn-outline-dark {
    background-color: #AE002F;
    /* White background */
    color: white;
    /* Black text */
    border: 2px solid #000;
    /* Black border */
}

.mobile-buttons .btn-outline-dark:hover {
    background-color: #f8f8f8;
    /* Light gray background on hover */
    border-color: #000;
    color: #000;
}

.btn-primary-custom {
    background-color: #B81943;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-decoration: none; /* Remove underline */
}

.btn-primary-custom:hover {
    background-color: #a3163a; /* Slightly darker for hover */
    transform: scale(1.05); /* Zoom effect */
}

.btn-primary-custom:focus, 
.btn-primary-custom:active {
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 25, 67, 0.5); /* Focus ring */
}

/* End Creator Section */
