
/* =========================================================
   HOME PAGE
   PSM USAHID VOICE
========================================================= */


/* =========================================================
   HERO
========================================================= */

#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item {
    height: 100%;
}

#hero .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(18, 16, 14, .72);
}

.hero-content {
    position: absolute;
    top: 65%;
    left: 50%;
    z-index: 10;

    width: 90%;
    max-width: 850px;

    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
}

.hero-subtitle,
.hero-subtitle-white {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: .9rem;
}

.hero-subtitle {
    color: var(--gold-light);
}

.hero-subtitle-white {
    color: #ddd;
}

.hero-content h1 {
    margin: 10px 0 15px;

    color: var(--white);

    font-family: 'Cinzel', serif;
    font-size: 5rem;
    line-height: 1.1;
}

.hero-content p {
    margin-bottom: 20px;

    color: #ddd;

    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    line-height: 1.6;
}


/* HERO BUTTON */

.hero-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    padding-top: 20px;
}

.btn-primary-custom,
.btn-outline-custom {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 14px 32px;

    border-radius: 50px;
    text-decoration: none;

    transition: .3s;
}

.btn-primary-custom {
    background: var(--maroon-light);
    color: var(--white);
}

.btn-primary-custom:hover {
    background: #9d3143;
    color: var(--white);
}

.btn-outline-custom {
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
}

.btn-outline-custom:hover {
    background: var(--gold);
    color: var(--bg-dark);
}


/* HERO INDICATORS */

#hero .carousel-indicators {
    bottom: 35px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

#hero .carousel-indicators button {
    width: 12px !important;
    height: 12px !important;

    margin: 0 !important;
    padding: 0;

    border: 0 !important;
    border-radius: 50%;

    background-color: var(--white);
    background-clip: content-box;

    opacity: 1;
}

#hero .carousel-indicators button.active {
    background-color: var(--gold) !important;
}


/* SCROLL DOWN */

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 20;

    color: var(--white);
    font-size: 2rem;

    transform: translateX(-50%);
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 10px);
    }
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.vision,
.about,
.team,
.blog,
.gallery {
    padding: 120px 0;
}


/* =========================================================
   VISION & MISSION
========================================================= */

.vision {
    background: var(--bg-dark);
}

.vision-card {
    height: 100%;
    padding: 45px;

    background: var(--bg-surface);

    border: 1px solid rgba(199, 161, 60, .15);
    border-radius: 20px;

    transition: .35s ease;
}

.vision-card:hover {
    transform: translateY(-8px);

    border-color: var(--gold);

    box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
}

.vision-icon {
    width: 70px;
    height: 70px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 25px;

    border-radius: 50%;

    background: var(--maroon-light);
    color: var(--white);

    font-size: 28px;
}

.vision-card h3 {
    margin-bottom: 20px;

    color: var(--white);

    font-family: 'Cormorant Garamond', serif;
}

.vision-card p,
.vision-card ul {
    color: var(--text);
}

.vision-card p {
    line-height: 1.9;
}

.vision-card ul {
    padding-left: 18px;
}

.vision-card li {
    margin-bottom: 12px;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: linear-gradient(
        135deg,
        var(--bg-surface),
        #2a151b
    );
}

.about-image {
    overflow: hidden;
    border-radius: 18px;
}

.about-image img {
    width: 425px;
    transition: transform .4s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-logo {
    width: 200px;
    margin-bottom: 40px;
}

.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--gold);

    text-decoration: none;
    font-weight: 600;

    transition: .3s;
}

.btn-about:hover {
    gap: 18px;
    color: var(--gold-light);
}


/* =========================================================
   TEAM
========================================================= */

.team {
    background: var(--bg-dark);
}

/* Desktop: 4 kolom */
.team .row > [class*="col-"] {
    width: 25%;
}

.team-card {
    height: 100%;
    overflow: hidden;

    background: var(--bg-surface);

    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;

    transition: .35s ease;
}

.team-card:hover {
    transform: translateY(-8px);

    border-color: var(--gold);

    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}

.team-image {
    height: 320px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-body {
    padding: 25px;
    text-align: center;
}

.team-body h5 {
    margin-bottom: 10px;

    color: var(--white);

    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
}

.team-body p {
    margin: 0 0 10px;

    color: var(--gold);
    font-size: .95rem;
}

.badge-jabatan {
    display: inline-block;

    margin-bottom: 15px;
    padding: 8px 18px;

    border-radius: 30px;

    background: var(--maroon-light);
    color: var(--white);

    font-size: .85rem;
}

.btn-team {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 14px 30px;

    border-radius: 50px;

    background: var(--maroon-light);
    color: var(--white);

    text-decoration: none;

    transition: .3s;
}

.btn-team:hover {
    gap: 18px;

    background: #92283b;
    color: var(--white);
}


/* =========================================================
   BLOG
========================================================= */

.blog {
    background: var(--bg-surface);
}

.blog-card {
    height: 100%;
    overflow: hidden;

    background: var(--bg-dark);

    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;

    transition: .35s ease;
}

.blog-card:hover {
    transform: translateY(-8px);

    border-color: var(--gold);

    box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
}

.blog-image {
    height: 230px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--gold);
    font-size: .85rem;
}

.blog-content h5 {
    margin: 15px 0;

    color: var(--white);

    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
}

.blog-content p {
    color: var(--text);

    font-size: .9rem;
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 15px;

    color: var(--gold-light);

    text-decoration: none;
    font-weight: 600;

    transition: .3s;
}

.read-more:hover {
    gap: 15px;
    color: var(--white);
}


/* =========================================================
   CTA
========================================================= */

.cta {
    position: relative;

    padding: 100px 0;

    overflow: hidden;

    background: var(--maroon);
}

.cta::before {
    content: "";

    position: absolute;
    top: -150px;
    right: -100px;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background: rgba(199, 161, 60, .15);
}

.cta-wrapper {
    position: relative;
    z-index: 2;

    text-align: center;
}

.cta-subtitle {
    color: var(--gold-light);

    text-transform: uppercase;
    letter-spacing: 4px;

    font-size: .9rem;
}

.cta h2 {
    margin: 20px 0;

    color: var(--white);

    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
}

.cta p {
    max-width: 700px;

    margin: 0 auto 35px;

    color: var(--white);

    line-height: 1.8;
}

.btn-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 15px 35px;

    border-radius: 50px;

    background: var(--gold);
    color: var(--bg-dark);

    text-decoration: none;
    font-weight: 600;

    transition: .3s;
}

.btn-cta:hover {
    gap: 18px;

    background: var(--gold-light);
    color: var(--bg-dark);
}


/* =========================================================
   GALLERY
========================================================= */

.gallery {
    background: var(--bg-surface);
}


.gallery-item {
    position: relative;

    overflow: hidden;

    border: 1px solid rgba(199, 161, 60, .12);
    border-radius: 20px;

    cursor: pointer;

    transition: .35s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);

    border-color: rgba(199, 161, 60, .4);

    box-shadow: 0 20px 45px rgba(117, 28, 42, .3);
}

.gallery-item img,
.gallery-image img {
    width: 100%;
    height: 260px;

    object-fit: cover;

    transition: transform .6s ease;
}

.gallery-item:hover img,
.gallery-card:hover img {
    transform: scale(1.08);
}



/* -------------------------
   GALLERY OVERLAY
------------------------- */

.gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;

    padding: 25px;

    text-align: center;

    opacity: 0;

    background:
        linear-gradient(
            to top,
            rgba(117, 28, 42, .92),
            rgba(117, 28, 42, .15)
        );

    transition: opacity .4s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    margin-bottom: 10px;

    color: var(--white);

    font-family: 'Cormorant Garamond', serif;

    font-size: 1.5rem;
}

.gallery-overlay p {
    margin: 0;

    color: var(--white);

    font-size: .95rem;

    line-height: 1.6;
}

.overlay-icon,
.gallery-overlay i {
    margin-bottom: 15px;

    color: var(--gold);

    font-size: 3rem;

    transform: translateY(15px);

    transition: transform .35s ease;
}

.gallery-item:hover .overlay-icon,
.gallery-card:hover .overlay-icon,
.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

.btn-gallery {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 14px 32px;

    background: var(--maroon-light);
    color: var(--white);

    border-radius: 50px;

    text-decoration: none;
    font-weight: 600;

    transition: .35s;
}

.btn-gallery:hover {
    gap: 18px;

    background: #92283B;
    color: var(--white);

    box-shadow:
        0 10px 25px rgba(117, 28, 42, .35);
}

/* =========================================================
   TABLET
   768px - 991.98px
========================================================= */

@media (min-width: 768px) and (max-width: 992px) {

    .vision,
    .about,
    .team,
    .blog,
    .gallery {
        padding: 90px 0;
    }

    /* HERO */

    #hero,
    #hero .carousel,
    #hero .carousel-inner,
    #hero .carousel-item {
        height: 85vh;
        min-height: 600px;
    }

    .hero-content {
        top: 58%;
        max-width: 700px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle,
    .hero-subtitle-white {
        font-size: .8rem;
        letter-spacing: 3px;
    }

    .hero-content p {
        font-size: .95rem;
    }

    .hero-button {
        gap: 10px;
        padding-top: 15px;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 11px 22px;
        font-size: .8rem;
    }


    /* VISION */

    .vision-card {
        padding: 35px;
    }


    /* ABOUT */

    .about-image {
        margin-bottom: 40px;
    }

    .about-image img {
        width: 100%;
        max-width: 425px;
        margin: 0 auto;
    }

    .about-logo {
        width: 170px;
        margin-bottom: 30px;
    }


    /* TEAM & GALLERY: 3 KOLOM */

    .team .row > [class*="col-"],
    .gallery .row > [class*="col-"] {
        width: 33.333333%;
    }

    .team-card,
    .gallery-item {
        border-radius: 16px;
    }

    .team-image {
        height: 200px;
    }

    .team-body {
        padding: 18px 14px;
    }

    .team-body h5 {
        font-size: 1.15rem;
    }

    .team-body p {
        font-size: .82rem;
    }

    .badge-jabatan {
        padding: 6px 13px;
        font-size: .7rem;
    }

    .btn-team {
        padding: 10px 18px;
        font-size: .78rem;
    }

    .gallery-item img,
    .gallery-image img {
        height: 210px;
    }

    .gallery-overlay {
        padding: 16px;
    }

    .gallery-overlay h4 {
        font-size: 1.2rem;
    }

    .gallery-overlay p {
        font-size: .75rem;
    }

    .overlay-icon,
    .gallery-overlay i {
        margin-bottom: 10px;
        font-size: 2.3rem;
    }


    /* CTA */

    .cta {
        padding: 85px 0;
    }

    .cta h2 {
        font-size: 3rem;
    }
}


/* =========================================================
   MOBILE
   <= 767.98px
========================================================= */

@media (max-width: 767.98px) {

    .vision,
    .about,
    .team,
    .blog,
    .gallery,
    .cta {
        padding: 70px 0;
    }


    /* HERO */

    #hero,
    #hero .carousel,
    #hero .carousel-inner,
    #hero .carousel-item {
        height: 80vh;
        min-height: 520px;
    }

    .hero-content {
        top: 58%;
        width: calc(100% - 35px);
    }

    .hero-content h1 {
        font-size: 2.3rem;
        line-height: 1.05;
    }

    .hero-subtitle,
    .hero-subtitle-white {
        font-size: .65rem;
        letter-spacing: 2px;
        line-height: 1.5;
    }

    .hero-content p {
        font-size: .82rem;
        line-height: 1.6;
    }

    .hero-button {
        width: 100%;
        gap: 8px;
        padding-top: 10px;
    }

    .hero-button .btn-primary-custom,
    .hero-button .btn-outline-custom {
        width: 135px;
        min-width: 135px;
        height: 38px;

        padding: 0;

        font-size: .65rem;
    }

    #hero .carousel-control-prev,
    #hero .carousel-control-next {
        width: 10%;
    }

    #hero .carousel-indicators {
        bottom: 28px;
    }

    #hero .carousel-indicators button {
        width: 8px !important;
        height: 8px !important;
    }

    .scroll-down {
        bottom: 12px;
        font-size: 1.4rem;
    }


    /* VISION */

    .vision-card {
        padding: 30px;
    }


    /* ABOUT */

    .about-image {
        margin-bottom: 30px;
    }

    .about-image img {
        width: 60%;
        max-width: 60%;
        height: auto;
    }

    .about-logo {
        width: 140px;
        margin-bottom: 25px;
    }

    .btn-about {
        font-size: .9rem;
    }


    /* TEAM & GALLERY: 2 KOLOM */

    .team .row > [class*="col-"],
    .gallery .row > [class*="col-"] {
        width: 50%;
    }

    .team-card,
    .gallery-item {
        border-radius: 15px;
    }

    .team-image {
        height: 260px;
    }

    .team-body {
        padding: 18px 12px;
    }

    .team-body h5 {
        font-size: 1.1rem;
    }

    .team-body p {
        font-size: .8rem;
    }

    .badge-jabatan {
        padding: 6px 12px;
        margin-bottom: 12px;
        font-size: .68rem;
    }

    .btn-team {
        padding: 9px 17px;
        font-size: .75rem;
    }

    .gallery-item img,
    .gallery-image img {
        height: 210px;
    }

    .gallery-overlay {
        padding: 15px;
    }

    .gallery-overlay h4 {
        font-size: 1.15rem;
    }

    .gallery-overlay p {
        font-size: .72rem;
    }

    .overlay-icon,
    .gallery-overlay i {
        margin-bottom: 8px;
        font-size: 2.2rem;
    }

    .btn-gallery {
        padding: 9px 18px;
        font-size: .75rem;
    }


    /* BLOG */

    .blog-card {
        border-radius: 15px;
    }

    .blog-image {
        height: 230px;
    }


    /* CTA */

    .cta::before {
        width: 280px;
        height: 280px;

        top: -100px;
        right: -100px;
    }

    .cta-subtitle {
        font-size: .7rem;
        letter-spacing: 3px;
    }

    .cta h2 {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .cta p {
        padding: 0 15px;

        font-size: .85rem;
        line-height: 1.7;
    }

    .btn-cta {
        padding: 12px 28px;
        font-size: .85rem;
    }
}


/* =========================================================
   SMALL MOBILE
   <= 575.98px
========================================================= */

@media (max-width: 575.98px) {

    .vision,
    .about,
    .team,
    .blog,
    .gallery,
    .cta {
        padding: 55px 0;
    }


    /* HERO */

    #hero,
    #hero .carousel,
    #hero .carousel-inner,
    #hero .carousel-item {
        height: 75vh;
        min-height: 500px;
    }

    .hero-content {
        top: 65%;
        width: calc(100% - 25px);
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-subtitle,
    .hero-subtitle-white {
        font-size: .7rem;
        letter-spacing: 1.5px;
    }

    .hero-content p {
        font-size: .75rem;
    }

    .hero-button {
        gap: 6px;
        padding-top: 8px;
    }

    .hero-button .btn-primary-custom,
    .hero-button .btn-outline-custom {
        width: 115px;
        min-width: 115px;
        height: 34px;

        font-size: .58rem;
    }

    #hero .carousel-indicators {
        bottom: 25px;
    }

    #hero .carousel-indicators button {
        width: 7px !important;
        height: 7px !important;
    }

    .scroll-down {
        display: none;
    }


    /* VISION */

    .vision-card {
        padding: 25px;
    }


    /* ABOUT */

    .about-logo {
        width: 120px;
    }


    /* TEAM */

    .team-image {
        height: 220px;
    }

    .team-body {
        padding: 14px 8px;
    }

    .team-body h5 {
        margin-bottom: 7px;
        font-size: .9rem;
        line-height: 1.3;
    }

    .team-body p {
        margin-bottom: 7px;
        font-size: .68rem;
    }

    .badge-jabatan {
        padding: 5px 9px;
        margin-bottom: 10px;
        font-size: .58rem;
    }

    .btn-team {
        padding: 8px 13px;
        gap: 6px;
        font-size: .62rem;
    }


    /* GALLERY */

    .gallery-item {
        border-radius: 12px;
    }

    .gallery-item img,
    .gallery-image img {
        height: 170px;
    }

    .gallery-overlay {
        padding: 12px;
    }

    .gallery-overlay h4 {
        margin-bottom: 6px;
        font-size: .95rem;
    }

    .gallery-overlay p {
        font-size: .62rem;
        line-height: 1.4;
    }

    .overlay-icon,
    .gallery-overlay i {
        margin-bottom: 6px;
        font-size: 1.8rem;
    }

    .btn-gallery {
        padding: 8px 14px;
        gap: 6px;
        font-size: .62rem;
    }


    /* CTA */

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: .8rem;
    }
}
