/*
=====================================================
PPI KASTAMONU
Modern UI v2.0
PART 1
Global • Typography • Navbar • Hero
=====================================================
*/


/*====================================================
ROOT VARIABLE
====================================================*/

:root {

    --primary: #D32F2F;
    --primary-dark: #B71C1C;

    --secondary: #F5E8C7;
    --cream: #FFF8E1;

    --white: #FFFFFF;
    --black: #111827;

    --gray-100: #F9FAFB;
    --gray-200: #F3F4F6;
    --gray-300: #E5E7EB;
    --gray-400: #D1D5DB;
    --gray-500: #9CA3AF;
    --gray-600: #6B7280;
    --gray-700: #4B5563;
    --gray-800: #374151;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 26px;

    --shadow-sm: 0 4px 15px rgba(0, 0, 0, .06);
    --shadow: 0 12px 35px rgba(0, 0, 0, .08);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, .12);

    --transition: .35s ease;

}



/*====================================================
RESET
====================================================*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Poppins', sans-serif;
    color: var(--black);
    background: #fff;

    overflow-x: hidden;

    line-height: 1.7;

}

img {

    display: block;
    max-width: 100%;
    height: auto;

}

a {

    text-decoration: none;
    transition: var(--transition);

}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

button {

    border: none;
    outline: none;

}



/*====================================================
CONTAINER
====================================================*/

.container {

    width: 100%;
    max-width: 1280px;

    padding-left: 20px !important;
    padding-right: 20px !important;

}

.container-fluid {

    padding-left: 20px;
    padding-right: 20px;

}



/*====================================================
SECTION
====================================================*/

section {

    position: relative;
    overflow-x: hidden;
    width: 100%;

}

.section-padding {

    padding: 90px 0;

}



/*====================================================
TYPOGRAPHY
====================================================*/

h1,
h2,
h3,
h4,
h5,
h6 {

    font-weight: 700;
    color: var(--black);

    margin-bottom: 15px;

}

.display-1 {
    font-size: 4.8rem;
    font-weight: 800;
}

.display-2 {
    font-size: 4rem;
    font-weight: 800;
}

.display-3 {
    font-size: 3.4rem;
    font-weight: 800;
}

.display-4 {
    font-size: 2.8rem;
    font-weight: 800;
}

.display-5 {
    font-size: 2.4rem;
    font-weight: 700;
}

p {

    color: var(--gray-600);

}

.section-title {

    display: inline-block;

    position: relative;

    margin-bottom: 60px;

}

.section-title::after {

    content: "";

    position: absolute;

    width: 70px;
    height: 4px;

    left: 0;
    bottom: -12px;

    border-radius: 50px;

    background: var(--primary);

}



/*====================================================
COLOR UTILITY
====================================================*/

.bg-red {
    background: var(--primary);
}

.bg-cream {
    background: var(--cream);
}

.bg-beige {
    background: var(--secondary);
}

.text-red {
    color: var(--primary);
}

.text-beige {
    color: var(--secondary);
}

.text-cream {
    color: var(--cream);
}



/*====================================================
HELPER
====================================================*/

.rounded-xl {
    border-radius: var(--radius-lg);
}

.shadow-soft {
    box-shadow: var(--shadow);
}

.shadow-hover {

    transition: var(--transition);

}

.shadow-hover:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);

}



/*====================================================
BUTTON
====================================================*/

.btn {

    border-radius: 999px;

    padding: 13px 28px;

    font-weight: 600;

    transition: var(--transition);

}

.btn:hover {

    transform: translateY(-3px);

}

.btn-primary {

    background: var(--primary);
    color: #fff;

}

.btn-primary:hover {

    background: var(--primary-dark);

}

.btn-outline {

    border: 2px solid var(--primary);

    color: var(--primary);

}

.btn-outline:hover {

    background: var(--primary);

    color: #fff;

}



/*====================================================
ROUND BUTTON
====================================================*/

.round-btn,
.round-btn-top {

    width: 56px;
    height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);

    color: #fff;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

}

.round-btn:hover,
.round-btn-top:hover {

    background: var(--primary-dark);

    transform: translateY(-5px);

}



/*====================================================
BACK TO TOP
====================================================*/

.back-to-top {

    position: fixed;

    right: 25px;
    bottom: 25px;

    display: none;

    z-index: 999;


}



/*====================================================
SPINNER
====================================================*/

#spinner {

    opacity: 0;

    visibility: hidden;

    transition: .5s;

    z-index: 99999;

}

#spinner.show {

    opacity: 1;

    visibility: visible;

}



/* ===========================
   NAVBAR MODERN
=========================== */

.custom-navbar {
    position: fixed;
    /* WAJIB: Membuat navbar melayang */
    top: 18px;
    /* Posisi awal berjarak 18px dari atas layar */
    left: 0;
    right: 0;
    margin: 0 auto;
    /* Trik otomatis aman untuk membuat elemen fixed berada di TENGAH */
    width: 95%;
    z-index: 1050;
    /* Berada di atas elemen konten */

    background: var(--cream);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    /* Animasi transisi khusus untuk pergeseran naik-turun posisi 'top' */
    transition: top 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-navbar.nav-hidden {
    top: -120px;
    /* Menarik navbar ke atas luar batas layar agar tidak terlihat */
}

.logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-text {
    font-weight: 700;
    color: #D32F2F;
    margin-left: 12px;
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    color: #374151;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: .3s;
}

.navbar-nav .nav-link:hover {
    color: #D32F2F;
}

.navbar-nav .nav-link.active {
    color: #D32F2F;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #D32F2F;
    border-radius: 50px;
    transition: .3s;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.btn-primary-custom {
    background: #D32F2F;
    color: #fff;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    transition: .3s;
}

.btn-primary-custom:hover {
    background: #B71C1C;
    color: #fff;
    transform: translateY(-2px);
}

.custom-dropdown .nav-link:hover::after{
    width: 70%;
}

.custom-dropdown .nav-link.show::after{
    width: 70%;
}
/* Menyesuaikan kotak dropdown dengan warna latar belakang halaman (krem lembut) */
.custom-dropdown-menu {
    background-color: #faf6ee;
    /* Ganti dengan kode warna krem persis web Anda jika berbeda */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

/* Mengatur teks di dalam sub-menu dropdown */
.custom-dropdown-item {
    color: #4a4a4a !important;
    /* Warna teks abu-abu tua bawaan navbar */
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

/* Efek saat kursor diarahkan ke sub-menu (berubah jadi merah khas PPI) */
.custom-dropdown-item:hover,
.custom-dropdown-item.active {
    background-color: #cc292b !important;
    /* Warna merah sesuai tombol Hubungi Kami */
    color: #ffffff !important;
    /* Teks berubah menjadi putih */
}


@media(max-width:991px) {

    .custom-navbar {
        width: calc(100% - 30px);
        margin: auto;
        border-radius: 18px;
        padding: 10px 15px;
        background: #FFF8E1;
        transition: all .3s ease;
        margin-bottom: 75px;
    }

    .navbar-collapse {
        margin-top: 20px;
        padding: 20px;
        border-radius: 18px;
        background: #FFF8E1;
        animation: slideDown .3s ease;
    }

    .navbar-nav {
        text-align: center;
        gap: 8px;
    }

    .navbar-nav .nav-link {
        padding: 12px 15px;
        border-radius: 12px;
        font-weight: 500;
        color: #333;
        transition: .3s ease;
    }

    .btn-primary-custom {
        width: 100%;
        margin-top: 18px;
        padding: 12px;
        border-radius: 50px;
        font-weight: 600;
        transition: .3s ease;
    }

    .btn-primary-custom:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(13, 110, 253, .35);
    }

}


/* Animasi menu mobile */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*====================================================
HEADER
====================================================*/

/* --- Tambahan untuk Kontrol Scroll Reveal --- */

.site-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    /* Di atas standard elemen Bootstrap */
    background: transparent;
    /* Supaya background krem konten mengintip rapi */

    /* Animasi transisi halus saat menyembunyikan navbar */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Kelas yang akan dipicu otomatis oleh JavaScript */
.site-header-wrapper.nav-hidden {
    /* Menggeser keluar layar secara vertikal ke atas */
    transform: translateY(-120%);
}


.header-carousel,
.page-header {

    position: relative;

    background: url("../img/bg.jpg") center center;

    background-size: cover;

    overflow: hidden;

}

.header-carousel::before,
.page-header::before {

    content: "";

    position: absolute;

    inset: 0;

}

.header-carousel>*,
.page-header>* {

    position: relative;

    z-index: 2;

}

.hero-content {

    padding: 120px 0;

}

.hero-title {

    font-size: 4rem;

    font-weight: 800;

    color: #fff;

    line-height: 1.1;

}

.hero-subtitle {

    color: rgba(255, 255, 255, .85);

    font-size: 1.1rem;

    margin: 30px 0;

    max-width: 650px;

}



/*====================================================
RESPONSIVE
====================================================*/

@media(max-width:991px) {

    .navbar-collapse {

        background: #FFF8E1;

        padding: 20px;

        border-radius: 18px;

        margin-top: 15px;

    }

    .navbar .navbar-nav {

        gap: 0;

    }

    .navbar .navbar-nav .nav-link {

        border-radius: 12px;

    }

    .hero-title {

        font-size: 2.8rem;

    }

}

@media(max-width:768px) {

    .section-padding {

        padding: 70px 0;

    }

    .display-1 {
        font-size: 2.6rem;
    }

    .display-2 {
        font-size: 2.6rem;

    }

    .display-3 {
        font-size: 2.4rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.8rem;
    }

    .hero-content {

        padding: 90px 0;

    }

    .hero-title {

        font-size: 2.2rem;

    }

}

/*====================================================
PART 2
ABOUT
CARD
BLOG
ACTIVITY
GALLERY
====================================================*/


/*====================================================
ABOUT
====================================================*/

.about-section {
    padding: 100px 0;
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.about-img:hover img {
    transform: scale(1.08);
}

.about-content {
    padding-left: 30px;
}

.about-content h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
}

.about-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-content .btn {
    margin-top: 10px;
}

@media(max-width:991px) {

    .img-about {

        display: block;
        margin-left: auto;
        margin-right: auto;

    }

}



/*====================================================
UNIVERSAL CARD
====================================================*/

.card-modern {

    background: #fff;

    border: none;

    border-radius: 24px;

    overflow: hidden;

    transition: var(--transition);

    box-shadow: var(--shadow);

}

.card-modern:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

}



/*====================================================
BLOG
====================================================*/

.blog-card {

    background: #fff;

    border-radius: 24px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: var(--transition);

}

.blog-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

}

.blog-card img {

    width: 100%;

    height: 260px;

    object-fit: cover;

    transition: .6s;

}

.blog-card:hover img {

    transform: scale(1.08);

}

.blog-card .card-body {

    padding: 28px;

}

.blog-card .category {

    display: inline-block;

    padding: 6px 14px;

    border-radius: 50px;

    background: rgba(211, 47, 47, .08);

    color: var(--primary);

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 18px;

}

.blog-card h4 {

    font-size: 24px;

    font-weight: 700;

    margin-bottom: 15px;

}

.blog-card p {

    color: var(--gray-600);

    margin-bottom: 22px;

    line-height: 1.8;

}

.blog-card a {

    font-weight: 600;

    color: var(--primary);

}

.blog-card a:hover {

    letter-spacing: .8px;

}



/*====================================================
ACTIVITY
====================================================*/

.activity-card {

    background: #fff;

    border-radius: 24px;

    overflow: hidden;

    transition: var(--transition);

    box-shadow: var(--shadow);

}

.activity-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

}

.activity-card img {

    width: 100%;

    height: 260px;

    object-fit: cover;

    transition: .6s;

}

.activity-card:hover img {

    transform: scale(1.08);

}

.activity-card .card-body {

    padding: 28px;

}

.activity-card h4 {

    color: var(--primary);

    font-weight: 700;

    margin-bottom: 15px;

}

.activity-card p {

    color: var(--gray-600);

    line-height: 1.8;

}

.activity-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
}

.activity-thumbnail img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.activity-thumbnail:hover img {
    transform: scale(1.04);
}

@media(max-width:992px) {

    .activity-thumbnail {
        margin-bottom: 30px;
    }

    .activity-thumbnail img {
        height: 320px;
    }

}

@media(max-width:576px) {

    .activity-thumbnail img {
        height: 250px;
    }

}

/*====================================================
NEWS CARD
====================================================*/

.news-card {

    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    display: flex;

    transition: var(--transition);

    box-shadow: var(--shadow-sm);

}

.news-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);

}

.news-card img {

    width: 180px;

    object-fit: cover;

}

.news-card .content {

    padding: 22px;

}

.news-card h5 {

    font-size: 20px;

    margin-bottom: 10px;

}

.news-card p {

    color: var(--gray-600);

}



/*====================================================
IMAGE CARD
====================================================*/

.image-card {

    overflow: hidden;

    border-radius: 22px;

}

.image-card img {

    transition: .6s;

}

.image-card:hover img {

    transform: scale(1.08);

}



/*====================================================
GALLERY
====================================================*/

.gallery-item {

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    cursor: pointer;

}

.gallery-item img {

    width: 100%;

    height: 260px;

    object-fit: cover;

    transition: .6s;

}

.gallery-item:hover img {

    transform: scale(1.12);

}

.gallery-item::before {

    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, .25);

    opacity: 0;

    transition: .35s;

}

.gallery-item:hover::before {

    opacity: 1;

}

.gallery-item:hover::after {

    opacity: 1;

}



/*====================================================
FEATURE CARD
====================================================*/

.feature-card {

    text-align: center;

    padding: 45px 35px;

    border-radius: 24px;

    background: #fff;

    transition: var(--transition);

    box-shadow: var(--shadow-sm);

}

.feature-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

}

.feature-card i {

    width: 80px;

    height: 80px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: auto;

    margin-bottom: 25px;

    background: rgba(211, 47, 47, .08);

    color: var(--primary);

    font-size: 30px;

}

.feature-card h4 {

    margin-bottom: 15px;

    color: var(--primary);

}



/*====================================================
HOVER UTILITIES
====================================================*/

.hover-lift {

    transition: var(--transition);

}

.hover-lift:hover {

    transform: translateY(-10px);

}

.hover-scale {

    overflow: hidden;

}

.hover-scale img {

    transition: .5s;

}

.hover-scale:hover img {

    transform: scale(1.08);

}



/*====================================================
ANIMATION
====================================================*/

.fade-up {

    animation: fadeUp .8s ease both;

}

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(35px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/*====================================================
RESPONSIVE
====================================================*/

@media(max-width:991px) {

    .about-content {

        padding-left: 0;

        margin-top: 40px;

    }

    .blog-card img,
    .activity-card img {

        height: 220px;

    }

}

@media(max-width:768px) {

    .about-content h2 {

        font-size: 2rem;

    }

    .blog-card h4 {

        font-size: 21px;

    }

    .activity-card h4 {

        font-size: 21px;

    }

    .gallery-item img {

        height: 220px;

    }

}




/*====================================================
CABINET
====================================================*/

.cabinet-card {

    background: #fff;

    border-radius: 26px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: var(--transition);

}

.cabinet-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

}

.cabinet-card img {

    width: 100%;

    height: 340px;

    object-fit: cover;

    transition: .5s;

}

.cabinet-card:hover img {

    transform: scale(1.05);

}

.cabinet-body {

    padding: 32px;

}

.cabinet-title {

    font-size: 28px;

    font-weight: 700;

    color: var(--primary);

}

.cabinet-year {

    color: var(--gray-500);

    font-size: 15px;

}



/*====================================================
TEAM
====================================================*/

.team-item {

    background: #fff;

    border: none;

    border-radius: 24px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: var(--transition);

    text-align: center;

}

.team-item:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

}

.team-item img {

    width: 100%;

    height: 320px;

    object-fit: cover;

    transition: .5s;

}

.team-item:hover img {

    transform: scale(1.06);

}

.team-detail {

    padding: 28px;

}

.team-detail h5 {

    color: var(--primary);

    font-weight: 700;

    margin-bottom: 8px;

}

.team-detail span {

    color: var(--gray-500);

    display: block;

    margin-bottom: 20px;

}



/*====================================================
MEMBER CARD
====================================================*/

.member-card {

    background: #fff;

    border: none;

    border-radius: 22px;

    overflow: hidden;

    text-align: center;

    transition: var(--transition);

    box-shadow: var(--shadow-sm);

}

.member-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);

}

.member-card img {

    width: 170px;

    height: 170px;

    border-radius: 50%;

    object-fit: cover;

    margin: 35px auto 20px;

    border: 6px solid var(--cream);

}

.member-card .card-body {

    padding-bottom: 35px;

}

.member-card h5 {

    color: var(--primary);

    font-weight: 700;

}

.member-card span {

    color: var(--gray-500);

}



/*====================================================
SOCIAL ICON
====================================================*/

.social-circle {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary);

    color: #fff;

    transition: var(--transition);

}

.social-circle:hover {

    background: var(--primary-dark);

    transform: translateY(-4px);

}



/*====================================================
FOOTER
====================================================*/

.footer {

    position: relative;

    background: linear-gradient(135deg,
            var(--primary),
            var(--primary-dark));

    color: #fff;

    overflow: hidden;

}

.footer::before {

    content: "";

    position: absolute;

    inset: 0;

    background: url("../img/bg.jpg");

    opacity: .03;

}

.footer .container {

    position: relative;

    z-index: 2;

}

.footer h4 {

    color: var(--cream);

    font-weight: 700;

    margin-bottom: 24px;

}

.footer p {

    color: rgba(255, 255, 255, .8);

}

.footer .btn.btn-link {

    display: block;

    color: var(--secondary);

    padding: 6px 0;

    font-weight: 500;

    transition: var(--transition);

}

.footer .btn.btn-link::before {

    content: "›";

    margin-right: 10px;

}

.footer .btn.btn-link:hover {

    color: #fff;

    padding-left: 8px;

}

.footer a {

    color: var(--secondary);

}

.footer a:hover {

    color: #fff;

}

.footer img {

    border-radius: 14px;

    transition: .35s;

}

.footer img:hover {

    transform: scale(1.08);

}

.footer .copyright {

    margin-top: 55px;

    padding-top: 28px;

    border-top: 1px solid rgba(255, 255, 255, .15);

}



/*====================================================
FOOTER GALLERY
====================================================*/

.footer-gallery img {

    width: 100%;

    height: 90px;

    object-fit: cover;

}



/*====================================================
BACK TO TOP
====================================================*/

.back-to-top {

    width: 58px;

    height: 58px;

    border-radius: 50%;

    background: var(--primary);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 12px 30px rgba(211, 47, 47, .35);

    transition: var(--transition);

}

.back-to-top:hover {

    background: var(--primary-dark);

    transform: translateY(-5px);

}



/*====================================================
BADGE
====================================================*/

.badge-modern {

    display: inline-block;

    background: rgba(211, 47, 47, .08);

    color: var(--primary);

    padding: 8px 18px;

    border-radius: 999px;

    font-weight: 600;

    width: fit-content;

}

.badge-modern.bg-green {

    background: rgba(0, 207, 7, 0.205);

    color: #008302;

}

.periode-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

@media(max-width:768px) {

    .link-center {

        justify-content: center;

    }

}



/*====================================================
GLASS
====================================================*/

.glass {

    background: rgba(255, 255, 255, .75);

    backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 24px;

}



/*====================================================
DIVIDER
====================================================*/

.divider {

    width: 80px;

    height: 4px;

    background: var(--primary);

    margin: 20px auto;

    border-radius: 999px;

}



/*====================================================
IMAGE SHADOW
====================================================*/

.img-shadow {

    border-radius: 22px;

    overflow: hidden;

    box-shadow: var(--shadow-lg);

}



/*====================================================
BUTTON MODERN
====================================================*/

.btn-modern {

    border-radius: 999px;

    padding: 14px 32px;

    font-weight: 600;

    transition: var(--transition);

}

.btn-modern:hover {

    transform: translateY(-3px);

}



/*====================================================
FADE
====================================================*/

.fade-in {

    animation: fadeIn .8s ease forwards;

}

@keyframes fadeIn {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}



/*====================================================
FLOAT
====================================================*/

.float {

    animation: floating 4s ease-in-out infinite;

}

@keyframes floating {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-8px);

    }

    100% {

        transform: translateY(0);

    }

}



/*====================================================
SCROLL ANIMATION
====================================================*/

.reveal {

    opacity: 0;

    transform: translateY(40px);

    transition: 1s;

}

.reveal.active {

    opacity: 1;

    transform: translateY(0);

}



/*====================================================
IMAGE OVERLAY
====================================================*/

.overlay-dark {

    position: relative;

}

.overlay-dark::before {

    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, .25);

}



/*====================================================
RESPONSIVE
====================================================*/

@media(max-width:992px) {

    .member-card img {

        width: 150px;

        height: 150px;

    }

    .cabinet-card img,
    .team-item img {

        height: 270px;

    }

}

@media(max-width:768px) {

    .cabinet-card img,
    .team-item img {

        height: 220px;

    }

    .footer {

        text-align: center;

    }

    .footer .btn.btn-link {

        text-align: center;

    }

    .footer .copyright {

        text-align: center;

    }

}