/* FTIK Homepage — modern institutional theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body.ftik-home {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #2d3a38;
}

body.ftik-home .top-navbar .navbar {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(26, 77, 71, 0.08);
    padding: 0.4rem 0;
}

body.ftik-home .top-navbar .navbar-brand img {
    max-height: 52px;
}

body.ftik-home .top-navbar .nav-link {
    color: #1a4d47 !important;
    font-weight: 600;
    font-size: 0.92rem;
}

body.ftik-home .top-navbar .nav-item.active .nav-link,
body.ftik-home .top-navbar .nav-link:hover {
    color: #2c7873 !important;
}

/* Hero slider */
body.ftik-home .ftik-hero .first-section {
    position: relative;
    min-height: 72vh;
    background-size: cover !important;
    background-position: center !important;
}

body.ftik-home .ftik-hero .first-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(26, 77, 71, 0.82) 0%, rgba(44, 120, 115, 0.55) 45%, rgba(0, 0, 0, 0.25) 100%);
}

body.ftik-home .ftik-hero .dtab {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 72vh;
}

body.ftik-home .ftik-hero-caption {
    max-width: 640px;
    color: #fff;
    padding: 2rem 0;
}

body.ftik-home .ftik-hero-caption .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

body.ftik-home .ftik-hero-caption h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

body.ftik-home .ftik-hero-caption p {
    font-size: 1.05rem;
    opacity: 0.92;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

body.ftik-home .ftik-hero-btns .btn-hero {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

body.ftik-home .ftik-hero-btns .btn-hero-primary {
    background: linear-gradient(135deg, #e67e22 0%, #c45a00 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(196, 90, 0, 0.35);
}

body.ftik-home .ftik-hero-btns .btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

body.ftik-home .ftik-hero-btns .btn-hero:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

body.ftik-home .carousel-control-prev,
body.ftik-home .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 1;
}

/* Quick access strip */
.ftik-quick-strip {
    background: linear-gradient(135deg, #1a4d47 0%, #2c7873 100%);
    padding: 1.25rem 0;
    margin-top: -1px;
}

.ftik-quick-strip .quick-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: background 0.2s;
    font-weight: 500;
    font-size: 0.88rem;
}

.ftik-quick-strip .quick-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

.ftik-quick-strip .quick-item i {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Section common */
.ftik-section {
    padding: 4rem 0;
}

.ftik-section-alt {
    background: linear-gradient(180deg, #f4faf8 0%, #eef6f4 100%);
}

.ftik-section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ftik-section-head .section-label {
    display: inline-block;
    color: #6e912d;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.ftik-section-head h2 {
    color: #1a4d47;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

.ftik-section-head p {
    color: #5a6e6b;
    max-width: 560px;
    margin: 0 auto;
}

/* About intro */
.ftik-about-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(44, 120, 115, 0.1);
    border: 1px solid rgba(44, 120, 115, 0.1);
}

.ftik-about-card h2 {
    color: #1a4d47;
    font-weight: 800;
    margin-bottom: 1rem;
}

.ftik-about-card p {
    line-height: 1.75;
    color: #444;
}

.ftik-about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.ftik-about-features span {
    background: #eef8f5;
    color: #1a4d47;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* News cards */
.ftik-news-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(44, 120, 115, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

.ftik-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(44, 120, 115, 0.14);
}

.ftik-news-card .news-img {
    height: 200px;
    overflow: hidden;
    background: #e8f4f2;
}

.ftik-news-card .news-img-link {
    display: block;
    text-decoration: none;
}

.ftik-news-card .news-img img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
}

.ftik-news-card .news-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ftik-news-card .news-meta {
    font-size: 0.78rem;
    color: #7a918d;
    margin-bottom: 0.5rem;
}

.ftik-news-card .news-meta span {
    margin-right: 0.75rem;
}

.ftik-news-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.ftik-news-card h3 a {
    color: #1a4d47;
    text-decoration: none;
}

.ftik-news-card h3 a:hover {
    color: #2c7873;
}

.ftik-news-card .news-excerpt {
    font-size: 0.88rem;
    color: #5a6e6b;
    flex: 1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.ftik-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #c45a00;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

.ftik-btn-link:hover {
    color: #e67e22;
    text-decoration: none;
}

/* Sidebar widgets */
.ftik-sidebar-widget {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 24px rgba(44, 120, 115, 0.08);
    border: 1px solid rgba(44, 120, 115, 0.1);
}

.ftik-sidebar-widget h4 {
    color: #1a4d47;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #eef8f5;
}

.ftik-sidebar-widget h4 i {
    color: #2c7873;
    margin-right: 0.5rem;
}

.ftik-announce-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ftik-announce-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid #eef4f2;
}

.ftik-announce-list li:last-child {
    border-bottom: none;
}

.ftik-announce-list a {
    color: #2d3a38;
    font-size: 0.88rem;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.45;
}

.ftik-announce-list a:hover {
    color: #2c7873;
}

.ftik-announce-list a i {
    color: #6e912d;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.ftik-search-box input {
    border-radius: 8px 0 0 8px;
    border: 1px solid #d0e4e0;
}

.ftik-search-box button,
.ftik-search-box #searchsubmit {
    background: linear-gradient(135deg, #1a8a7d 0%, #2c7873 100%);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Stats */
.ftik-stats {
    background: linear-gradient(135deg, #1a4d47 0%, #2c7873 100%);
    padding: 3.5rem 0;
}

.ftik-stat-item {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.ftik-stat-item .stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.ftik-stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.ftik-stat-item .stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Program studi grid */
.ftik-prodi-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(44, 120, 115, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.25s;
    height: 100%;
    text-decoration: none;
    display: block;
    color: inherit;
}

.ftik-prodi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(44, 120, 115, 0.15);
    border-color: #2c7873;
    text-decoration: none;
    color: inherit;
}

.ftik-prodi-card .prodi-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, #eef8f5 0%, #d8efe8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c7873;
    font-size: 1.25rem;
}

.ftik-prodi-card h5 {
    color: #1a4d47;
    font-weight: 700;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.35;
}

/* Activity cards */
.ftik-activity-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(44, 120, 115, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s;
}

.ftik-activity-card:hover {
    transform: translateY(-4px);
}

.ftik-activity-card .act-img {
    height: 180px;
    overflow: hidden;
}

.ftik-activity-card .act-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ftik-activity-card .act-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ftik-activity-card .act-tag {
    display: inline-block;
    background: linear-gradient(135deg, #6e912d 0%, #5a7a24 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ftik-activity-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a4d47;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.ftik-activity-card p {
    font-size: 0.85rem;
    color: #5a6e6b;
    flex: 1;
    margin-bottom: 1rem;
}

.ftik-btn-sm {
    display: inline-block;
    padding: 0.45rem 1rem;
    background: linear-gradient(135deg, #e67e22 0%, #c45a00 100%);
    color: #fff !important;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
}

.ftik-btn-sm:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

/* Prestasi Mahasiswa — light section, high contrast cards */
.ftik-prestasi {
    background: linear-gradient(180deg, #eef6f4 0%, #f8fffe 40%, #f4faf8 100%);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.ftik-prestasi::before {
    content: none !important;
    display: none !important;
}

.ftik-prestasi .ftik-section-head .section-label {
    color: #6e912d;
}

.ftik-prestasi .ftik-section-head h2 {
    color: #1a4d47;
}

.ftik-prestasi .ftik-section-head p {
    color: #4a5f5c;
}

.ftik-prestasi-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin: 0.5rem 0;
    box-shadow: 0 10px 36px rgba(26, 77, 71, 0.1);
    border: 1px solid rgba(44, 120, 115, 0.14);
    border-left: 4px solid #2c7873;
    text-align: left;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.ftik-prestasi-card .prestasi-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #d8efe8;
    background: #eef8f5;
}

.ftik-prestasi-card .prestasi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ftik-prestasi-card .prestasi-content {
    flex: 1;
    min-width: 0;
}

.ftik-prestasi-card .prestasi-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e8a020 0%, #c45a00 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.65rem;
    letter-spacing: 0.3px;
}

.ftik-prestasi-card .prestasi-badge i {
    margin-right: 0.25rem;
}

.ftik-prestasi-card h3 {
    color: #1a4d47 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.65rem !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

.ftik-prestasi-card p {
    color: #3d4f4c !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin: 0 0 0.75rem !important;
    font-style: normal !important;
    background: transparent !important;
}

.ftik-prestasi-card .prestasi-author {
    display: block;
    color: #2c7873;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Owl carousel — prestasi */
body.ftik-home .ftik-prestasi-carousel.owl-carousel .owl-item {
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

body.ftik-home .ftik-prestasi-carousel.owl-carousel .owl-item.active {
    opacity: 1;
}

body.ftik-home .ftik-prestasi-carousel.owl-carousel .owl-item.active.center .ftik-prestasi-card,
body.ftik-home .ftik-prestasi-carousel.owl-carousel .owl-item.active .ftik-prestasi-card {
    transform: none !important;
}

body.ftik-home .ftik-prestasi-carousel .owl-nav button.owl-prev,
body.ftik-home .ftik-prestasi-carousel .owl-nav button.owl-next {
    background: #2c7873 !important;
    color: #fff !important;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    font-size: 1.5rem !important;
    line-height: 44px !important;
    margin: 0 8px;
    opacity: 1 !important;
}

body.ftik-home .ftik-prestasi-carousel .owl-nav button.owl-prev:hover,
body.ftik-home .ftik-prestasi-carousel .owl-nav button.owl-next:hover {
    background: #1a4d47 !important;
}

body.ftik-home .ftik-prestasi-carousel .owl-dots .owl-dot span {
    background: #b5d4ce !important;
}

body.ftik-home .ftik-prestasi-carousel .owl-dots .owl-dot.active span {
    background: #2c7873 !important;
}

@media (max-width: 575px) {
    .ftik-prestasi-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .ftik-prestasi-card .prestasi-content {
        text-align: center;
    }
}

/* Halaman detail berita */
.ftik-berita-detail {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2.25rem;
    box-shadow: 0 10px 36px rgba(26, 77, 71, 0.1);
    border: 1px solid rgba(44, 120, 115, 0.12);
}

.ftik-berita-detail .berita-detail-meta {
    font-size: 0.85rem;
    color: #7a918d;
    margin-bottom: 1rem;
}

.ftik-berita-detail .berita-detail-meta span {
    margin-right: 1rem;
}

.ftik-berita-detail .berita-detail-title {
    color: #1a4d47;
    font-weight: 800;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    line-height: 1.35;
    margin-bottom: 1.25rem;
}

.ftik-berita-detail .berita-detail-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #eef8f5;
}

.ftik-berita-detail .berita-detail-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.ftik-berita-detail .berita-detail-body {
    color: #2d3a38;
    line-height: 1.75;
    font-size: 1rem;
}

.ftik-berita-detail .berita-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.ftik-berita-detail .berita-detail-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8f4f2;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Layanan Digital / Akses Cepat */
.ftik-layanan {
    background: linear-gradient(180deg, #1a4d47 0%, #2c7873 100%);
    padding: 4rem 0;
    position: relative;
}

.ftik-layanan .ftik-section-head .section-label {
    color: #c8e6d8;
}

.ftik-layanan .ftik-section-head h2 {
    color: #fff;
}

.ftik-layanan .ftik-section-head p {
    color: rgba(255, 255, 255, 0.88);
}

.ftik-layanan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    padding: 1.35rem 1rem 1.15rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.ftik-layanan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6e912d 0%, #2c7873 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ftik-layanan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    color: inherit;
    border-color: #2c7873;
}

.ftik-layanan-card:hover::before {
    opacity: 1;
}

.ftik-layanan-card .layanan-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #eef8f5 0%, #d8efe8 100%);
    border-radius: 14px;
    margin-bottom: 0.85rem;
    padding: 0.5rem;
}

.ftik-layanan-card .layanan-icon img {
    max-height: 44px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.ftik-layanan-card .layanan-nama {
    display: block;
    color: #1a4d47;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.ftik-layanan-card .layanan-desc {
    display: block;
    color: #5a6e6b;
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.ftik-layanan-card .layanan-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #eef8f5;
    color: #2c7873;
    border-radius: 50%;
    font-size: 0.75rem;
    margin-top: auto;
    transition: background 0.2s, color 0.2s;
}

.ftik-layanan-card:hover .layanan-arrow {
    background: linear-gradient(135deg, #1a8a7d 0%, #2c7873 100%);
    color: #fff;
}

@media (max-width: 767px) {
    .ftik-layanan {
        padding: 3rem 0;
    }

    .ftik-layanan-card {
        padding: 1.15rem 0.75rem;
    }
}

/* Footer */
body.ftik-home .footer {
    background: linear-gradient(180deg, #143d39 0%, #1a4d47 100%);
    padding: 3rem 0 1.5rem;
}

body.ftik-home .footer .widget-title h3 {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

body.ftik-home .footer p,
body.ftik-home .footer .footer-links li a {
    color: rgba(255, 255, 255, 0.8);
}

body.ftik-home .footer .footer-links li a:hover {
    color: #b8e0d4;
}

body.ftik-home .copyrights {
    background: #0f2f2c;
    color: rgba(255, 255, 255, 0.6);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    body.ftik-home .ftik-hero .first-section,
    body.ftik-home .ftik-hero .dtab {
        min-height: 55vh;
    }

    .ftik-quick-strip .row > div {
        margin-bottom: 0.25rem;
    }
}
