.navbar {
    background-color: #ffffff;
}

.navbar-brand {
    font-weight: bold;
    color: #2e8555;
}

.btn-call {
    background-color: #2e8555;
    color: white;
    border-radius: 20px;
    padding: 5px 15px;
}

.hero-section {
    background-color: #f5f5f5;
    padding: 50px 0;
    text-align: left;
}

.hero-title {
    font-size: 24px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 18px;
    color: #ff8800;
    font-weight: bold;
}

.hero-text {
    font-size: 16px;
}

.btn-primary {
    background-color: #ff8800;
    border: none;
    border-radius: 20px;
}

.news-section {
    padding: 50px 0;
}

.news-card {
    border-radius: 10px;
    overflow: hidden;
}

.news-card img {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: gray;
}

.card-text {
    font-size: 14px;
}

.shadow-bottom {
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

body {
    font-family: Arial, sans-serif;
}

.navbar {
    background-color: #ffffff;
    border-bottom: 2px solid #008d62;
}

.navbar-brand {
    font-weight: bold;
    color: #008d62;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 600;
    margin-right: 15px;
}

.navbar-nav .nav-link.selaluactive {
    color: #008d62;
}

.navbar .btn-contact {
    background-color: #008d62;
    color: white;
    border-radius: 20px;
    padding: 5px 15px;
}

.hero {
    background-color: #f3f9f6;
    text-align: center;
}

.hero h1 {
    color: #e49e24;
    font-weight: bold;
}

.hero p {
    color: #6c757d;
}

.info-bar {
    border: 2px solid #008d62;
    color: black;
    padding: 10px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    background-color: white;
    display: flex;
    align-items: center;
}

.info-bar .info-label {
    background-color: #008d62;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 5px;
    margin-right: 10px;
}

.info-bar .info-text {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 20px;
}

.info-bar .info-text span {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    animation: moveText 10s linear infinite;
}

.prayer-times-card {
    background: #1e7044;
    color: white;
    border-radius: 0px;
    padding: 15px;
    text-align: left;
    max-width: 100%;
}

.prayer-header {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.prayer-header i {
    margin-right: 8px;
}

.prayer-times {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    background: white;
    border-radius: 10px;
    padding: 10px;
    color: black;
}

.prayer-item {
    text-align: center;
}

.prayer-name {
    font-size: 14px;
    color: #1e7044;
    font-weight: bold;
}

.prayer-time {
    font-size: 16px;
    font-weight: bold;
}

@keyframes moveText {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.small-banner-img {
    height: 150px;
    /* Sesuaikan tinggi agar lebih kecil */
    object-fit: cover;
    /* Menjaga proporsi gambar */
}

.hero .carousel-item {
    position: relative;
}

.carousel-background {
    width: 100%;
    height: 600px;
    /* Fixed height of 600px */
    background-size: cover;
    /* Ensure the image covers the entire area */
    background-position: center;
    /* Center the image */
}

.carousel-background {
    position: relative;
    background-size: cover;
    background-position: center;
}

.carousel-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Warna hitam dengan transparansi */
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    /* Ensure text is on top of the images */
}

.text-overlay h1 {
    font-size: 3rem;
    font-weight: bold;
}

.text-overlay h2 {
    font-size: 2rem;
    color: #f39c12;
    /* Using text-warning color */
}

.text-overlay p {
    font-size: 1rem;
}

.text-overlay a {
    background-color: #f39c12;
    /* btn-warning color */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.text-overlay a:hover {
    background-color: #e67e22;
}
.stat-card {
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.stat-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: #f8f9fa;
    padding: 10px;
}

.stat-number {
    font-size: 22px;
    font-weight: bold;
    margin-top: 10px;
}

.stat-label {
    font-size: 16px;
    color: #555;
}

.footer {
    background-color: #1b4332;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #F4A261;
}

.footer-text {
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 18px;
    margin-bottom: 10px;
    color: #F4A261;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin: 5px 0;
}

.footer-list a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    text-decoration: underline;
    color: #F4A261;
}

.news-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.news-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

footer.footer-bottom {
    background-color: #1a252f;
    padding: 10px;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .news-item img {
        width: 50px;
        height: 50px;
    }
}

/* Style Berita */
.news-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.news-item {
    display: block;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.news-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
}

.news-item:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Style Kontak */
.footer-contact {
    text-align: center;
    margin-top: 40px;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.contact-item img {
    width: 20px;
    height: 20px;
}

.contact-item:hover {
    color: #f4a261;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid #bbb;
    color: #ddd;
    font-size: 12px;
}

.footer-column1 {
    margin-left: 150px;
    margin-right: 80px;
}

/* Container utama floating icon */
.floating-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Tombol utama (akan membuka menu saat diklik) */
.floating-button {
    background-color: #2c3e50;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.floating-button:hover {
    background-color: #34495e;
    transform: scale(1.1);
}

/* Menu Floating yang Muncul */
.floating-menu {
    position: absolute;
    bottom: 60px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 10px;
}

/* Setiap item dalam menu */
.floating-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: white;
    padding: 8px 12px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: black;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(10px);
}

.floating-item img {
    width: 24px;
    height: 24px;
}

.floating-item:hover {
    background-color: #f1f1f1;
    transform: scale(1.05);
}

/* Warna masing-masing platform */
.whatsapp {
    color: #25d366;
}
.facebook {
    color: #1877f2;
}
.instagram {
    color: #e1306c;
}

/* Animasi muncul */
.floating-container.open .floating-menu {
    display: flex;
}

.floating-container.open .floating-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.card-text {
    text-align: left;
    white-space: pre-line;
}

.card {
    position: relative;
    overflow: hidden;
}
