/* ==========================================
   INSTAGRAM SECTION
========================================== */

.instagram-section {
    position: relative;
    padding: 100px 40px 140px;
    background: #ffffff;
    overflow: hidden;
}

.instagram-container {
    max-width: 1350px;
    margin: 0 auto;
}

.instagram-title {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 70px;
}

.instagram-title .upper-text {
    background: linear-gradient(
        90deg,
        #1DB954 0%,
        #3AF372 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
    color: transparent;

    display: inline-block;

    margin-bottom: 12px;

    font-size: 34px;
    font-weight: 700;
}

.instagram-container .instagram-title h2 {
    font-size: 38px;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #000000;
}

.instagram-container .instagram-title h3 {
    font-size: 34px;
}

.instagram-container .instagram-title p {
    font-size: 20px;
}

.instagram-title h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #000000;
}

.instagram-title .ig-text {
    background: linear-gradient(90deg, #DA366C 0%, #f878a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.instagram-title p {
    font-size: 20px;
    line-height: 1.5;
    color: #111111;
}

/* Header Row */

.instagram-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 45px;
}

.instagram-profile {
    display: flex;
    align-items: center;
    gap: 14px;

    font-size: 20px;
    font-weight: 500;
    color: #000000;
}

.instagram-profile img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

/* Follow Button */

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: #DA366C;
    color: #ffffff;

    border: 2px solid #DA366C;
    border-radius: 60px;

    padding: 16px 36px;

    font-size: 18px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.35s ease;
}

.instagram-follow-btn:hover {
    background: #ffffff;
    color: #DA366C;
}

/* Carousel */

.instagram-carousel {
    position: relative;
    padding: 0 70px;
}

.instagram-item {
    position: relative;

    height: 330px;

    border-radius: 12px;

    overflow: hidden;

    background: #a8a8a8;

    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-item img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center 25%;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

/* Hover Overlay */

.instagram-overlay {
    position: absolute;
    inset: 0;

    background: rgba(218, 54, 108, 0.72);
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: scale(0.92);

    transition: all 0.4s ease;
}

.instagram-overlay i {
    color: #ffffff;
    font-size: 42px;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
    transform: scale(1);
}

/* Arrows */

.instagram-carousel .owl-nav {
    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;

    display: flex;
    justify-content: space-between;

    transform: translateY(-50%);

    pointer-events: none;
}

.instagram-carousel .owl-nav button {
    pointer-events: auto;

    background: transparent !important;

    color: #000000 !important;

    font-size: 70px !important;
    line-height: 1 !important;

    width: 55px;
    height: 55px;

    transition: all 0.3s ease;
}

.instagram-carousel .owl-nav button:hover {
    color: #DA366C !important;
}

.instagram-carousel .owl-dots {
    display: none;
}

/* Responsive */

@media only screen and (max-width: 767px) {

    .instagram-section {
        padding: 100px 24px 100px;
    }

    .instagram-container .instagram-title h2 {
        font-size: 32px;
    }

     .instagram-container .instagram-title h3 {
        font-size: 30px;
    }

    .instagram-container .instagram-title p {
        font-size: 17px;
    }

    .instagram-header-row {
        flex-direction: column;
        gap: 25px;
        margin-top: -30px;
    }

    .instagram-carousel {
        padding: 0 45px;
    }

    .instagram-item {
        height: 280px;
    }

    .instagram-item{
        height: 400px;
    }
}

@media only screen and (max-width: 599px) {
    .instagram-item{
        height: 300px;
    }
}