/* Color Palatte
         putih        #F8F5E9
         hijau muda   #9DC08B
         hijau tua    #3A7D44
         hijau hover  #275d30
         orange       #DF6D14
         orange hover #ff6b00*/

:root {
  scroll-behavior: smooth;
}
body {
    padding-top: 100px;
    background-color: #F8F5E9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.section {
    padding: 35px 0;
    color: #3A7D44;
}
.section-light {
    background-color: #F8F5E9;
}
.section-green {
    background-color: #9DC08B;
}

/* footer */
.footer {
    background-color: #3A7D44;
    color: #F8F5E9;
    padding-top: 35px;
}
.footer-copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
}
.footer a {
    color: #F8F5E9;
    text-decoration: none;
}
.footer a:hover {
    color: #275d30;
}
.designer-credit {
    font-size: 0.9rem;
    opacity: 0.8;
}
.footer-logo {
    max-height: 50px;
    margin-bottom: 1rem;
}
.footer-icon {
    max-height: 10px;
}
/* footer end */

/* Navbar */
.navbar-custom {
    background-color: #3A7D44;
    padding: 15px 0;
    transition: all 0.3s ease;
}
.mobile-header {
    background-color: #3A7D44;
    height: 70px;
    position: relative;
}

.nav-link, .dropdown-item {
    color: #F8F5E9 !important;
    font-size: 20px;
    font-weight: bold;
}
.dropdown-menu {
    background-color: #3A7D44;
    font-size: 20px;
    right: 10px;
    border: none;
    text-align: center;
}
.dropdown-item:hover {
    background-color: #275d30;
}
.logo-container-mobile {
    height: 70px;
    display: flex;
    align-items: center;
}
.logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
    transition: all 0.3s ease;
}
.navbar-toggler {
    border-color: #F8F5E9;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
} 
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#navbarContent {
    background-color: #3A7D44 !important;
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background-color: #3A7D44;
        z-index: 1000;
        padding: 20px;
        text-align: center;
    }
    .navbar-nav {
        flex-direction: column !important;
        background-color: #3A7D44;
        width: 100%;
    }
    .logo-container-mobile {
        position: absolute;
        top: 5px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
        background-color: #3A7D44;
        padding-bottom: 20px;
    }
    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 35px;
        background-color: #3A7D44;
    }
    .nav-item{
        padding: 10px o;
    }
    .logo-img{
        height: 70px;
    }
}
@media (min-width: 992px) {
    .navbar-custom {
        padding: 20px 0;
    }
      
    .logo-img {
        height: 80px;
    }
      
    .nav-link {
        padding: 0.5rem 1rem;
        position: relative;
    }
      
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 5px;
        background: #F8F5E9;
        transition: width 0.3s ease;
    }
      
    .nav-link:hover::after {
        width: 70%;
    }

    .dropdown-menu {
        margin-left: 90px;
        right: 10px;
        text-align: center;
        transform: translateX(-50%);
    }
    .navbar-nav{
        align-items: center;
        padding-right: 50px;
    }
}
/* Navbar end */

/* Penghargaan */
.bg-primary {
    background-color: #F8F5E9 !important; /* Adjust primary color if needed */
}
.text-primary {
    color: #3A7D44 !important;
}
.text-ke2{
    color: black;
}
.section-awards {
    padding: 5rem 0;
}
.penghargaan-img {
    max-height: 320px;
    width: auto;
    object-fit: contain;
    background-color: rgba(0,0,0,0.1);
}
.phg-orange {
    background-color: #DF6D14;
    color: #F8F5E9;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.phg-orange:hover {
    background-color: #ff6b00;
    color: #F8F5E9;
}
@media (max-width: 767.98px) {
    .section-awards {
        padding: 3rem 0;
    }
    .penghargaan-img {
        max-height: 250px;
        margin-top: 1.5rem;
        margin-bottom: 20px;
    }
    .phg-orange {
        background-color: #DF6D14;
        color: #F8F5E9;
        padding: 8px 20px;
        border-radius: 20px;
        text-decoration: none;
        display: inline-block;
        transition: background-color 0.3s ease;
        align-items: center;
    }
    .phg-orange:hover {
        background-color: #ff6b00;
        color: #F8F5E9;
    }
}
@media (max-width: 576px) {
    .section-awards {
        padding: 3rem 0;
    }
    .penghargaan-img {
        max-height: 250px;
        margin-top: 1.5rem;
        margin-bottom: 15px;
    }
    .phg-orange {
        background-color: #DF6D14;
        color: #F8F5E9;
        padding: 8px 20px;
        border-radius: 20px;
        text-decoration: none;
        display: inline-block;
        transition: background-color 0.3s ease;
        padding-left: 50px;
    }
    .phg-orange:hover {
        background-color: #ff6b00;
        color: #F8F5E9;
    }
}
/* Penghargaan end */

/* Maps */
.map-container {
    padding: 4rem 0;
    background-color: #9DC08B;
} 
.section-heading {
    margin-bottom: 3rem;
}
.section-title {
    font-size: 2rem;
    color: #F8F5E9;
    margin-bottom: 1rem;
    font-weight: 700;
}
.divider {
    width: 80px;
    height: 3px;
    background: #DF6D14;
    margin: 0 auto;
}
.map-content {
    margin-top: 2rem;
}
.map-wrapper {
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.map-embed {
    flex: 1 1 60%;
    min-height: 400px;
}
.clinic-info {
    flex: 1 1 40%;
    background: #F8F5E9;
    padding: 2rem;
}
.info-title {
    color: #3A7D44;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}
.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.info-item i {
    color: #ff6b00;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}
.info-item h4 {
    color: #3A7D44;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.info-item p {
    color: #3A7D44;
    margin-bottom: 0;
    line-height: 1.5;
}
@media (max-width: 992px) {
    .map-embed,
    .clinic-info {
        flex: 1 1 100%;
    }
    .map-embed {
        min-height: 300px;
    }
}
/* Maps end */

/* Gambar */
.carousel-image {
    width: 100%;
    height: 550px; 
    object-fit: cover; 
    object-position: center; 
}
#heroCarousel {
      height: 550px; 
      overflow: hidden;
}
.carousel-inner {
      height: 100%;
}
.hero-overC{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0,0.4),rgba(0, 0, 0,0.1),rgba(248, 245, 233,0.1),rgba(248, 245, 233,0.4),#F8F5E9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}
/* Gambar end */

/* card */
.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.image-overlay {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    color: #F8F5E9;
    padding: 20px;
    text-align: center;
}
.image-card:hover .image-overlay {
    transform: translateY(0);
}
.image-card:hover img {
    transform: scale(1.05);
}   
.image-overlay h5 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}   
.btn-orange {
    background-color: #DF6D14;
    color: #F8F5E9;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.btn-orange:hover {
    background-color: #ff6b00;
    color: #F8F5E9;
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background-color: #3A7D44;
        z-index: 1000;
        padding: 20px;
    }
    .navbar-nav {
        flex-direction: column !important;
        background-color: #3A7D44;
    }
    .logo-container-mobile {
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
        background-color: #3A7D44;
    }
    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 35px;
        background-color: #3A7D44;
    }
}
/* card end */

/* Berita */
.news-section {
    padding: 4rem 0;
    background-color: #9DC08B;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.section-header {
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.25rem;
    color: #F8F5E9;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.section-header .subtitle {
    font-size: 1.125rem;
    color: #F8F5E9;
}
.news-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.news-card {
    display: flex;
    background: #F8F5E9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.news-content {
    flex: 1;
    padding: 2rem;
}
.news-image {
    flex: 0 0 40%;
    position: relative;
}
.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #3A7D44;
}
.news-meta .icon {
    margin-right: 0.5rem;
    color: #3A7D44;
}
.news-title {
    font-size: 1.5rem;
    color: #3A7D44;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.news-excerpt {
    color: #3A7D44;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.read-more-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #DF6D14;
    color: #F8F5E9;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.read-more-btn:hover {
    background-color: #ff6b00;
}
.reverse {
    flex-direction: row-reverse;
}
@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
    }
    .reverse {
        flex-direction: column;
    }
    .news-image {
        flex: 0 0 250px;
    }
    .news-title {
        font-size: 1.25rem;
    }
}
.icon {
    height: 25px;
    width: 25px;
    display: inline-block;
}
/* Berita end */

/* about.php */
.about-page{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #F8F5E9;
}
.about-hero{
    position: relative;
    height: 1000px;
    max-height: 700px;
    overflow: hidden;
}
.hero-gambar-container{
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-gambar{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-over{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0,0.4),rgba(248, 245, 233,0),rgba(248, 245, 233,0.4),#F8F5E9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 500px;
}
.hero-konten{
    text-align: center;
    padding: 20px;
    max-width: 800px;
}
.hero-tittle{
    font-size: 2.5rem;
    color: #3A7D44;
    margin-bottom: 1rem;
    background: linear-gradient(135deg,rgba(255,255,255,0.1),rgba(0, 0, 0,0.1),rgba(255,255,255,0.1));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.doctor-img-container {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px; 
}
.doctor-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    object-fit: cover;
}
.vision-mission-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}  
.vision-mission-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}  
.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}  
.icon-box-lg {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}  
.mission-list {
    list-style: none;
    padding-left: 0;
}  
.value-item {
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}  
.value-item:hover {
    background-color: rgba(25, 135, 84, 0.05);
}  
  /* Responsive adjustments */
@media (max-width: 767.98px) {
    .vision-mission-box {
      margin-bottom: 20px;
    }
}
/* about.php end */

/* hub.php */
.contact-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #F8F5E9;
}
/* Hero */
.contact-hero {
    position: relative;
    height: 1000px;
    max-height: 800px;
    overflow: hidden;
}
.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-image {
    width: 100%;
    height: 120%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0,0.4),rgba(248, 245, 233,0),#F8F5E9);
    display: flex;
    align-items: center;
    justify-content: end;
    padding-right: 200px;
    padding-bottom: 450px;
}
.hero-content {
    text-align: center;
    padding: 20px;
    max-width: 800px;
}
.hero-title {
    font-size: 2.5rem;
    color: #F8F5E9;
    margin-bottom: 1rem;
    background: #9DC08B;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-align: left;
}
.hero-title span {
    font-size: 1.8rem;
    display: block;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: #F8F5E9;
    text-align: left;
    margin-top: 1rem;
}
/* hero end */

/* Contact Cards */
.contact-cards-section {
    padding-top: 150px;
    padding-bottom: 15px;
    background: #F8F5E9;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.contact-card {
    background: #9DC08B;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 2rem;
}
.contact-card:hover {
    transform: translateY(-5px);
}
.card-title {
    color: #F8F5E9;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}
.card-content {
    margin-bottom: 1.5rem;
    color: #000000;
    line-height: 1.6;
    text-align: left;
    padding-left: 30px;
    padding-right: 30px;
}
.operation-hours {
    text-align: left;
    padding-left: 3rem;
}
.operation-hours li {
    margin-bottom: 0.5rem;
}
.card-contact-number {
    margin-top: 1.5rem;
}
.card-contact-number a {
    display: inline-block;
    background: #9DC08B;
    color: #F8F5E9;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}
.card-contact-number a:hover {
    background: #3A7D44;
}
/* Contact Cards end */

/* Visit */
.visit-section {
    background: #F8F5E9;
    padding-bottom: 100px;
}
.bpjs-section {
    padding-top: 25px;
    background: #F8F5E9;
    padding-bottom: 35px;
}
.visit-card {
    background: #9DC08B;
    color: #F8F5E9;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.visit-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.visit-text {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #000000;
}
.visit-address {
    font-style: normal;
    font-weight: bold;
    font-size: 1.8rem;
}
/* Map Section */

.m-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 5rem;
}
@media (max-width: 768px) {
    .contact-hero {
      height: 50vh;
    }
    
    .hero-title {
      font-size: 2rem;
    }
    
    .hero-title span {
      font-size: 1.5rem;
    }
    
    .contact-cards-grid {
      grid-template-columns: 1fr;
    }
    .hero-content {
        text-align: center;
        padding: 70px;
        max-width: 175px;
        padding-top: 75px;
    }
    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(0, 0, 0,0.4),rgba(248, 245, 233,0),#F8F5E9);
        display: flex;
        align-items: center;
        justify-content: end;
        padding-right: 200px;
        padding-bottom: 50px;
    }
}

@media (max-width: 576px) {
    .hero-title {
      font-size: 1.5rem;
      padding: 0.5rem 1rem;
    }
    
    .hero-title span {
      font-size: 1.2rem;
    }
    
    .hero-subtitle {
      font-size: 1rem;
    }
    .hero-content {
        text-align: center;
        padding: 70px;
        padding-left: 75px;
        max-width: 175px;
        padding-top: 75px;
    }
    
}
/* hub.php end */

.pagination {
    justify-content: center;
    margin-top: 2rem;
}
    
.page-item.active .page-link {
    background-color: #3A7D44;
    border-color: #3A7D44;
}
    
.page-link {
    color: #3A7D44;
    background-color: #F8F5E9;
}
    
.page-link:hover {
    color: #DF6D14;
    background-color: #F8F5E9;
}

.news-category-link {
    color: #3A7D44 !important;
    text-decoration: none;
    transition: color 0.3s;
}

.news-category-link:hover {
    color: #275d30 !important;
    text-decoration: underline;
}