
.faculty-header {
    padding: 160px 0; 
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
    min-height: 500px; 
    display: flex;
    align-items: center;
}

.banner-title {
    font-size: 4.5rem; 
    font-weight: 800; 
    line-height: 1.1;
    letter-spacing: 2px; 
}

@media (max-width: 768px) {
    .faculty-header {
        padding: 100px 0;
        min-height: 350px;
    }
    .banner-title {
        font-size: 2.5rem;
    }
}
.faculty-card {
    position: relative;
    width: 100%;
    height: 450px; /* Sesuaikan tinggi yang diinginkan */
    border-radius: 30px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease-in-out;
}

.faculty-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 101, 75, 0.4); 
    z-index: 1;
    transition: background 0.3s ease;
}

.faculty-card:hover::before {
    background: rgba(14, 101, 75, 0.2); 
}

.person-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #0e654b;
    padding: 20px;
    text-align: left;
    transition: all 0.4s ease;
}

.card-overlay h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    font-weight: bold;
}

.card-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #44c38d, #1a7455);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    opacity: 0; /* Sembunyi secara default */
    transition: all 0.4s ease-in-out;
    z-index: 2;
}

.card-hover-content h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.card-hover-content ul {
    list-style: none;
    padding: 0;
}

.card-hover-content ul li {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.faculty-card:hover .card-hover-content {
    opacity: 1;
}

/* Saat card di hover, sembunyikan overlay judul bawah dan gambar orang (opsional) */
.faculty-card:hover .card-overlay,
.faculty-card:hover .person-img {
    opacity: 0;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .faculty-card {
        height: 380px !important;
        margin-bottom: 10px; 
    }

    .person-img {
        bottom: 100px !important;
        width: 80% !important;
    }

    .card-overlay {
        height: 110px !important;
        padding: 15px 20px !important;
    }

    .card-overlay h3 {
        font-size: 1.1rem !important;
    }

    .faculty-card:hover {
        transform: none !important;
    }
    
    .faculty-card:hover .person-img {
        transform: translateX(-50%) scale(1) !important;
        bottom: 100px !important;
    }
}

/* Section FIK */
.hero-section .univ-name {
    color: #FFFFFF !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.hero-section .hero-main-title {
    color: #FFFFFF !important;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-section .red-bar {
    width: 80px !important; 
    height: 4px; 
    background-color: #E11D48 !important;
    flex-shrink: 0; 
}

.hero-section .hero-desc-group p {
    color: #FFFFFF !important;
    text-align: justify;
    text-justify: inter-word;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.hero-section .slogan-text {
    color: #FFFFFF !important;
    font-weight: 700;
}
.hero-section {
    position: relative;
    width: 100%;
    min-height: 90vh; 
    display: flex;
    align-items: center;
    background-color: rgba(23, 114, 91, 0.75);
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(23, 114, 91, 0.88); 
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    color: #FFFFFF !important; 
    padding: 140px 40px 60px 40px; 
}

.hero-inner {
    max-width: 850px;
}

.hero-top-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.univ-name {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none; 
}

.red-bar {
    width: 250px;
    height: 5px;
    background-color: #E11D48;
}

.hero-main-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero-desc-group {
    font-size: 1.15rem;
    font-weight: 500; 
    line-height: 1.7;
    text-align: justify; 
    color: #FFFFFF;
}

.hero-desc-group p {
    margin-bottom: 20px;
    text-justify: inter-word; 
}

.slogan-text {
    margin-top: 15px;
    font-style: italic; 
    text-align: left;   
}

.btn-cyan {
    display: inline-block;
    padding: 14px 35px;
    background-color: #4FE6F1; 
    color: #004D43; 
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 230, 241, 0.3);
}

.btn-cyan:hover {
    background-color: #38d5e0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: 100px; 
        padding-left: 25px;
        padding-right: 25px;
    }

    .hero-top-row {
        gap: 10px;
        margin-bottom: 15px;
    }

    .hero-section .red-bar {
        width: 50px !important;
    }

    .hero-main-title {
        font-size: 2rem !important;
        margin-top: 10px;
    }
    
    .hero-desc-group p {
        font-size: 1rem !important;
        text-align: left;
    }
}

/* Section Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 60px 40px;
    padding: 80px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px; 
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.feature-item:hover {
    transform: translateY(-10px);
    background-color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon-wrapper {
    transition: transform 0.3s ease;
}

.feature-icon-wrapper {
    width: 64px; 
    height: 64px;
    flex-shrink: 0; 
}

.feature-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 800; 
    margin: 0 0 8px 0;
    color: #000;
    line-height: 1.2;
}

.feature-content p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}


.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

    /* Section Program Studi Card */
    .prodi-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }


    .prodi-card {
        position: relative; 
        flex: 1;
        min-width: 300px;
        max-width: 500px;
        height: 300px; 
        border: 1.5px solid #d1d5db;
        border-radius: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px;
        background-color: #fff;
        transition: all 0.3s ease;
        background-color: #fff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    }

    .prodi-card:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        transform: translateY(-5px);
        border-color: #005a43;
    }

    .prodi-title {
        color: #005a43;
        font-weight: 800;
        font-size: 22px;
        margin-bottom: 20px;
        text-align: center;
    }

    .prodi-icon img {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

    .akreditasi-label {
        position: absolute;
        bottom: 25px;
        right: 25px;
        background-color: #ffdc50;
        color: #000;
        font-weight: 800;
        padding: 8px 20px;
        border-radius: 12px;
        font-size: 14px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }

    .prodi-section {
        position: relative;
        z-index: 10;         
        background-color: #fff; 
        padding-bottom: 80px; 
        margin-bottom: 0;
    }

    @media (max-width: 768px) {
        .prodi-card {
            flex: 1 1 100%;
            height: auto;
            min-height: 250px;
        }
    }

    /* Section card dalam */
    .header-title .red-line {
        width: 400px;
        height: 6px;
        background: linear-gradient(to right, #cc2b2b, rgba(204, 43, 43, 0));
        margin-top: 5px;
    }

    /* Styling Card Struktural */
    .structural-card {
        background: linear-gradient(to bottom, #44c38d, #1a7455); /* Gradient Hijau di gambar */
        border-radius: 30px; /* Sudut melengkung besar */
        overflow: hidden;
        height: 100%;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease;
    }

    .structural-card:hover {
        transform: translateY(-10px);
    }

    .structural-card .img-container {
        padding: 20px 20px 0 20px;
        flex-grow: 1;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .structural-card .img-container img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Footer Hijau Tua */
    .structural-footer {
        background-color: #0e654b;
        color: white;
        padding: 20px;
        text-align: left;
        border-radius: 0 0 30px 30px;
    }

    .structural-footer h4 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .structural-footer p {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    /* Styling Deskripsi */
    .structural-description p {
        color: #333;
        line-height: 1.6;
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    @media (max-width: 767.98px) {
        .structural-card {
            background: linear-gradient(to bottom, #44c38d, #1a7455);
            border-radius: 25px; /* Sesuaikan lengkungan di mobile */
            margin-bottom: 25px !important;
            border: none;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            
        }

        .structural-card .img-container {
            padding: 15px 15px 0 15px;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            background: transparent;
        }

        .structural-card .img-container img {
            width: 140px; 
            height: auto;
            object-fit: contain;
        }

        .structural-footer {
            background-color: #0e654b;
            padding: 15px;
            border-radius: 0 0 25px 25px;
            text-align: center; 
        }

        .structural-footer h4 {
            font-size: 1.1rem;
            color: #fff;
        }

        .structural-footer p {
            font-size: 0.8rem;
            color: #e0e0e0;
        }
        .col-md-4:last-child .structural-card {
            margin-bottom: 0 !important;
        }
    }

/* Section Stats */
.stats-section {
    position: relative;
    padding: 120px 0 80px; 
    background-size: cover !important;   
    background-position: center !important;
    background-repeat: no-repeat !important; 
    background-attachment: fixed;
    overflow: hidden;
    z-index: 1; 
    margin-top: -40px; 
}


.stats-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('{{ asset("Assets/img/FacultyLogo/fakultasbersama.png") }}');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.stats-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.stats-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    color: #ffffff !important; 
}

.stat-circle {
    width: 80px; 
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    backdrop-filter: blur(4px);
}

.stat-number {
    color: #ffffff !important;
    font-size: 42px !important; 
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.stat-label {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-top: 8px !important;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .stats-wrapper {
        flex-direction: column;
        align-items: center; 
        gap: 40px;
        padding: 0 20px; 
    }

    .stats-item {
        width: 100%;
        max-width: 300px;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* Section Event */
.uhtp-event-container { padding: 60px 0; background: #fff; }
.uhtp-inner-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.uhtp-main-title { text-align: center; color: #002d55; font-size: 2.5rem; font-weight: 800; margin-bottom: 40px; }

@media (min-width: 1024px) {
    .uhtp-grid { display: flex; gap: 40px; }
    .uhtp-featured { flex: 7; } 
    .uhtp-sidebar { flex: 5; }   
}

.uhtp-img-frame { width: 100%; height: 380px; overflow: hidden; border-radius: 15px; margin-bottom: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.uhtp-img-frame img { width: 100%; height: 100%; object-fit: cover; }

.uhtp-featured h3 { font-size: 1.8rem; font-weight: 800; color: #1a202c; margin-bottom: 5px; }
.uhtp-meta { color: #666; font-size: 0.9rem; margin-bottom: 15px; }
.uhtp-desc { color: #4a5568; line-height: 1.6; text-align: justify; }

.uhtp-side-item { display: flex; gap: 15px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.uhtp-side-img { width: 120px; height: 85px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.uhtp-side-img img { width: 100%; height: 100%; object-fit: cover; }
.uhtp-side-info h4 { font-weight: 700; font-size: 1rem; color: #1a202c; line-height: 1.3; }
.uhtp-side-info span { font-size: 0.8rem; color: #999; font-weight: 600; }

.uhtp-btn { display: block; width: 100%; padding: 15px; background: #004d3d; color: #fff !important; text-align: center; border-radius: 50px; font-weight: 700; text-decoration: none; margin-top: 20px; transition: 0.3s; }
.uhtp-btn:hover { background: #002d1d; transform: translateY(-3px); }
.uhtp-title-link {
    text-decoration: none; 
    color: #1a202c;        
    transition: all 0.3s ease;
    display: inline-block;
}

.uhtp-featured h3, 
.uhtp-side-info h4 {
    margin-bottom: 5px;
}

.uhtp-link-wrapper, .uhtp-side-img {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.uhtp-img-frame img, .uhtp-side-img img {
    transition: transform 0.5s ease;
}

.uhtp-featured:hover .uhtp-img-frame img,
.uhtp-side-item:hover .uhtp-side-img img {
    transform: scale(1.05);
}

.uhtp-title-link {
    text-decoration: none;
    color: #1a202c;
    transition: all 0.3s ease;
    display: inline-block;
}

.uhtp-title-link:hover {
    color: #E11D48 !important;
    transform: translateX(5px);
}

.uhtp-side-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
