/* Modernized Base Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #222;
}

a {
    text-decoration: none;
    color: #3498db;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c8ecb;
}

button {
    font-family: 'Inter', sans-serif;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #3498db;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2c8ecb;
}

/* Box Shadow for Modern Look */
.tm-media-container, .tm-media-title-container {
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 15px;
}

/* Responsive Utilities */
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.tm-top-bar {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.tm-top-bar .navbar-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.tm-top-bar .navbar-nav .nav-link:hover {
    color: #fff;
    background-color: #3498db;
    border-radius: 4px;
}

/* Input Fields */
.contact-form .form-control {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #3498db;
    outline: none;
    background-color: #fff;
}
/* Responsive Grid Layout */
.tm-media-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tm-media-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tm-media-title-container {
    margin-bottom: 15px;
    color: #222;
    font-size: 1.2rem;
    font-weight: 500;
}

.tm-media-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile-First Breakpoints */
@media (max-width: 768px) {
    .tm-media-container {
        margin: 10px;
        padding: 15px;
    }

    .tm-media-title-container {
        font-size: 1rem;
    }

    .tm-media-description {
        font-size: 0.85rem;
    }
}

/* Navbar Redesign */
.tm-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tm-top-bar .navbar-brand {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tm-top-bar .navbar-brand:hover {
    color: #3498db;
}

.tm-top-bar .navbar-nav {
    display: flex;
    gap: 20px;
}

.tm-top-bar .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    padding: 8px 12px;
    border-radius: 4px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.tm-top-bar .nav-link:hover {
    color: #ffffff;
    background-color: #3498db;
}

/* Footer Styles */
.tm-footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.tm-footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tm-footer a:hover {
    color: #2c8ecb;
}
/* Formulir Pencarian */
.tm-search-form .tm-form-element {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 10px auto;
    display: flex;
    justify-content: space-between;
}

.tm-search-form .tm-form-element input {
    width: 80%;
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f8f8f8;
}

.tm-search-form .tm-form-element input:focus {
    border-color: #3498db;
    background-color: #ffffff;
}

.tm-search-form .tm-form-element button {
    width: 20%;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background-color: #3498db;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tm-search-form .tm-form-element button:hover {
    background-color: #2980b9;
}

/* Gambar dan Media Konten */
.tm-media-body img, .tm-media-body video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tm-media-body img:hover, .tm-media-body video:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Efek Hover untuk Kartu */
.tm-media-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tm-media-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Animasi Fade-In untuk Halaman */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

body {
    animation: fadeIn 1s ease-in-out;
}

/* Tampilan Navigasi Responsif */
@media (max-width: 768px) {
    .tm-top-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .tm-top-bar .navbar-nav {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .tm-search-form .tm-form-element input {
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
    }

    .tm-search-form .tm-form-element button {
        width: 100%;
        padding: 12px 15px;
    }
}

/* Footer Responsif */
@media (max-width: 600px) {
    .tm-footer {
        font-size: 0.85rem;
    }
}
/* Tombol Interaktif */
.tm-button {
    padding: 12px 20px;
    border-radius: 30px;
    border: none;
    background-color: #3498db;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tm-button:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

.tm-button:active {
    background-color: #1c6ca7;
    transform: scale(1);
}

/* Form Login */
.tm-login-form {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 40px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tm-login-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tm-login-form input[type="text"],
.tm-login-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 25px;
    border: 1px solid #ccc;
    font-size: 1rem;
    margin: 12px 0;
    outline: none;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.tm-login-form input[type="text"]:focus,
.tm-login-form input[type="password"]:focus {
    border-color: #3498db;
    background-color: #ffffff;
}

/* Navigasi Menu */
.tm-navbar {
    background-color: #ffffff;
    border-bottom: 2px solid #eaeaea;
    padding: 15px 0;
}

.tm-navbar .navbar-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tm-navbar .navbar-nav li {
    list-style: none;
}

.tm-navbar .navbar-nav a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tm-navbar .navbar-nav a:hover {
    background-color: #3498db;
    color: #fff;
}

.tm-navbar .navbar-nav a.active {
    background-color: #2980b9;
    color: #fff;
}

/* Efek Scrolling Halus */
html {
    scroll-behavior: smooth;
}

/* Footer */
.tm-footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 40px;
}

.tm-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tm-footer a:hover {
    color: #2980b9;
}

.tm-footer .social-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.tm-footer .social-icons i {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
}

.tm-footer .social-icons i:hover {
    color: #3498db;
}

/* Responsif untuk Form Login dan Tombol */
@media (max-width: 768px) {
    .tm-login-form {
        margin: 20px;
        padding: 20px;
    }

    .tm-button {
        width: 100%;
        padding: 14px 20px;
        font-size: 1.1rem;
    }

    .tm-navbar .navbar-nav {
        flex-direction: column;
        gap: 10px;
    }
}

/* Responsif untuk Footer */
@media (max-width: 600px) {
    .tm-footer {
        font-size: 0.8rem;
        padding: 20px;
    }

    .tm-footer .social-icons {
        gap: 10px;
    }
}
/* Layout Halaman Utama */
.tm-main-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.tm-main-content .tm-column {
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tm-main-content .tm-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Efek pada Gambar */
.tm-image-container {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    width: 100%;
    max-height: 300px;
}

.tm-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.tm-image-container img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Konten Paragraf */
.tm-paragraph {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tm-paragraph:hover {
    color: #3498db;
    font-weight: 600;
}

.tm-paragraph .highlight {
    background-color: #f1c40f;
    padding: 3px 5px;
    border-radius: 5px;
}

/* Konten Berita dan Artikel */
.tm-article-title {
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.tm-article-title:hover {
    color: #3498db;
}

.tm-article-content {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.tm-article-content:hover {
    color: #2980b9;
    font-weight: 500;
}

/* Tombol Baca Lebih Lanjut */
.tm-read-more {
    display: inline-block;
    font-size: 1rem;
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 25px;
    background-color: #eaf2f8;
    transition: all 0.3s ease;
}

.tm-read-more:hover {
    background-color: #3498db;
    color: white;
    transform: scale(1.05);
}

/* Penataan Grid untuk Artikel atau Berita */
.tm-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px 20px;
}

.tm-article-grid .tm-article-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tm-article-grid .tm-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tm-article-grid .tm-article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.tm-article-grid .tm-article-card .tm-article-title {
    font-size: 1.25rem;
    margin: 15px 0;
    color: #333;
}

.tm-article-grid .tm-article-card .tm-article-content {
    font-size: 1rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Responsif untuk Konten dan Artikel */
@media (max-width: 768px) {
    .tm-main-content {
        flex-direction: column;
        gap: 20px;
    }

    .tm-main-content .tm-column {
        max-width: 100%;
    }

    .tm-article-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .tm-article-grid .tm-article-card img {
        height: 150px;
    }
}

/* Responsif untuk Halaman Utama */
@media (max-width: 480px) {
    .tm-main-content {
        padding: 30px 10px;
    }

    .tm-article-title {
        font-size: 1.2rem;
    }

    .tm-paragraph {
        font-size: 0.95rem;
    }

    .tm-article-grid .tm-article-card .tm-article-title {
        font-size: 1.1rem;
    }

    .tm-article-grid .tm-article-card .tm-article-content {
        font-size: 0.9rem;
    }
}
/* Efek hover untuk blok pendaftaran, pengumuman, bukti, dan kartu pendaftaran */
.tm-register-block, 
.tm-announcement-block, 
.tm-proof-block, 
.tm-registration-card-block {
    position: relative;
    transition: all 0.3s ease-in-out; /* Menambahkan transisi halus */
}

.tm-register-block:hover, 
.tm-announcement-block:hover, 
.tm-proof-block:hover, 
.tm-registration-card-block:hover {
    transform: translateY(-10px); /* Membuat elemen bergerak sedikit ke atas */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1); /* Menambahkan bayangan yang halus */
    border-radius: 8px; /* Memberikan efek border-radius jika ingin bentuk yang lebih halus */
}

.tm-register-block:hover, 
.tm-announcement-block:hover, 
.tm-proof-block:hover, 
.tm-registration-card-block:hover {
    background-color: #f9f9f9; /* Mengubah warna latar belakang menjadi sedikit lebih terang */
    cursor: pointer; /* Mengubah kursor untuk menunjukkan interaksi */
}

.tm-register-block, 
.tm-announcement-block, 
.tm-proof-block, 
.tm-registration-card-block {
    padding: 20px;
    background-color: #fff; /* Latar belakang putih */
    border: 1px solid #ddd; /* Menambahkan border agar lebih terlihat */
    border-radius: 10px; /* Memberikan sudut yang lebih halus */
    margin-bottom: 20px;
    text-align: center;
}

.tm-register-block p, 
.tm-announcement-block p, 
.tm-proof-block p, 
.tm-registration-card-block p {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

