@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&family=Spline+Sans:wght@300;500;700&display=swap');

.header-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: top 0.3s;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
}

p, h1, h2, h3 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
h1, h2, h3 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    font-weight: bold;
}

.header-section {
    height: 80px;
    padding: 20px 25px;
    border-bottom: 1px solid #ddd;
}
.header-section .menu {
    margin-top: 10px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    display: none; 
}

@media (max-width: 768px) {
  .header-section .row {
    flex-direction: column;
    align-items: flex-start;
  }

  .col-lg-6.d-flex {
    width: 100%;
    justify-content: space-between;
  }

  .logo-container {
    flex-grow: 1;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    margin-right: 10px;
  }

  .menu {
    position: absolute;
    top: 60px;
    right: 15px;
    width: 220px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    padding: 10px 0;
    z-index: 999;
    backdrop-filter: blur(4px);
}

  .menu ul {
    flex-direction: column !important;
    padding: 0;
    margin: 0;
  }

  .menu ul li {
    padding: 10px 15px;
    width: 100%;
    font-size: 16px;
    border-bottom: 1px solid #eee;
}

.menu ul li:last-child {
    border-bottom: none;
}

  .menu.d-none.d-md-block {
    display: none !important;
  }

  .menu.show {
    display: block !important;
  }
}

.header-section .logo {
    font-style: normal;
    font-weight: bold;
    font-size: 29px;
    line-height: 43px;
    color: #000000;
}

.header-section .menu ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-section .menu ul li a {
    color: #000;
    font-weight: 500;
}

.header-section .menu ul li a.active  {
    color: #1090cb !important;
    font-weight: bold;
}

.header-section .logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-img {
    width: 150px;
    height: auto;
    margin-top: -25px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -25px;
}

.logo-text h4 {
    margin-top: 0px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
    margin-left: -80px;
  
}

.logo-text small {
    font-size: 14px;
    color: #555;
    margin-top: 2px;
    margin-left: -80px;
}


.hero-section {
    padding: 30px 0;
    background-color: #0057A6;
}

.left-section h1 {
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.left-section p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #fff;
}

.contact-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

#heroCarousel {
    max-width: 420px; /* ukuran sedang */
    margin: auto;
    padding-top: 80px;
}

.carousel-item img {
    width: 100%;
    height: 450px; /* lebih besar dari sebelumnya */
    object-fit: contain; /* tetap tidak kepotong */
    border-radius: 10px;
}

.carousel-controls-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    gap: 10px;
}

.carousel-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.carousel-nav-buttons button {
    background-color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.carousel-indicators-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-indicators-custom button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #bbb;
    opacity: 1;
}

.carousel-indicators-custom button.active {
    background-color: #f49c50;
}

@media (max-width: 768px) {
    .hero-section .row {
        flex-direction: column;
    }

    #heroCarousel {
        max-width: 100%;
        margin-top: 30px;
    }
}
.hero-section h1 {
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 60px;
    color: #ffffff;
    margin-bottom: 27px !important;
}

.hero-image {
    width: 50%; 
    height: auto; 
    max-width: 1200px; 
}
.hero-section h1 span {
    color: #1090CB;
}

.hero-section .left-section {
    padding-top: 200px;
}

.hero-section p {
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 204.3%;
    color: #ffffff;
    margin-bottom: 27px !important;
}

.contact-button {
    background-color: #007BFF;
    color: #fff;
    width: 193px;
    border: 1px solid #007BFF;
    padding: 9px 12px;
    text-align: center;
    border-radius: 10px;
    margin-right: 15px;
    transition: all 400ms;
}

.contact-button:hover {
    background-color: #9dc8f7;
    color: #fff;
    border:1px solid #9dc8f7;
}

.view-more-button {
    background-color: #fff;
    color: #1090CB;
    width: 193px;
    border: 1px solid #1090CB;
    padding: 9px 12px;
    text-align: center;
    border-radius: 10px;
    transition: all 400ms;
}

.view-more-button:hover {
    background-color: #1090CB;
    color: #fff;
}

.service-section {
    padding: 40px 20px;
    border-bottom: 0.7px solid #C7C7C7;
}

.service-section .inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-section .inner .service {
   padding-left: 10px;
}

.service-section .inner img {
    max-width: 61px;
}

.service-section .inner h1 {
    font-style: normal;
    font-weight: 500;
    font-size: 19px;
    line-height: 175%;
    color: #000000;
}

.service-section .inner p {
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 175%;
    color: #969696;
}

.dummy-section {
    padding: 40px 20px;
}

.dummy-section h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 33px;
    line-height: 160%;
    text-align: center;
    color: #252525;
    padding-bottom: 15px !important;
}

.dummy-section p {
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 175%;
    text-align: center;
    color: #868686;
}


.section-1 {
    padding: 40px 20px;
}

.section-1 .top-head {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.section-1 .top-head img {
    max-width: 60px;
}

.section-1 .top-head h5 {
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    color: #000000;
    margin-bottom: 0;
}

.section-1 .top-head .block {
   padding-left: 15px;
}

.section-1 .top-head h5 {
    font-style: normal;
    font-weight: bold;
    font-size: 17px;
    color: #000000;
    margin-bottom: 0;
}

.section-1 .top-head p {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 175%;
    color: #868686;
}

.section-1 h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 170%;
    color: #252525;
    margin-top: 28px;
    margin-bottom: 34px !important;
}

.section-1 h3 span {
    color: #1090CB;
}

.section-1 p {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 170%;
    color: #545454;
    text-align: justify;
}
@media (max-width: 768px) {
    .image-description1,
    .image-description2 {
        display: block;
        margin: 0 auto; /* Tengah secara horizontal */
    }

    /* Optional: Supaya parent div juga tidak membatasi posisi */
    .section-1 .col-lg-6 {
        text-align: center;
    }
}



.visi-misi-section {
    width: 100%;
    padding: 60px 40px;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
  }
  
  .visi-misi-section .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
  }
  
  .col {
    flex: 1 1 45%; 
    min-width: 300px;
  }
  
  .visi h2, .misi h2 {
    font-size: 28px;
    font-weight: bold ;
    margin-bottom: 16px;
    color: #2b2b2b;

  }
  
  .visi p, .misi p {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    color: #868686;
  }
  @media (max-width: 768px) {
    .visi-misi-section .row {
      flex-direction: column;
    }
  
    .col {
      flex: 1 1 100%;
    }
  }
  @media (max-width: 768px) {
    .visi-misi-section {
      flex-direction: column;
    }
  }
  
  .profile-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #2c3e50;
  }

  .profile-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
  }
  
  .profile-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
  }
  
  .profile-section p {
    font-style: italic;
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 50px;
    
  }
  
  .profile-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
  }
  
  .profile-section .card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 240px;
    padding: 20px;
    transition: transform 0.3s ease;
  }
  
  .profile-section .card:hover {
    transform: translateY(-8px);
  }
  
 .profile-section .card img {
    width: 100%;
    height: 300px; 
    object-fit: cover; 
    object-position: top; 
    border-radius: 10px;
    margin-bottom: 15px;
}
  
  .profile-section .card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #34495e;
    margin: 20px 0 5px;
  }
  
  .profile-section .card p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
  }
  
  @media (max-width: 768px) {
    .profile-section .container {
      flex-direction: column;
      align-items: center;
    }
  
    .profile-section .card {
      width: 80%;
    }
  }
  
.kepala-desa {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    margin-bottom: 60px; 
  margin-top: 20px;
  }
  
  .perangkat-desa {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
  
    /* =========================
   BERITA SLIDER
========================= */

.berita-section {
    background: #f8f9fa;
}

.berita-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
}

.berita-section p {
    color: #7f8c8d;
}

.berita-card {
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.berita-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.berita-img,
.card-img-top {
    width: 100%;
    height: 220px; /* semua gambar sama tinggi */
    object-fit: cover; /* gambar menyesuaikan */
    object-position: center;
    display: block;
}

.berita-card .card-body {
    padding: 20px;
     flex: 1;
    display: flex;
    flex-direction: column;
}

.berita-card .card-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px !important;
}

.berita-card .card-text {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    flex-grow: 1;
}

/* BUTTON CAROUSEL */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60% 60%;
    width: 45px;
    height: 45px;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .berita-img {
        height: 200px;
    }

}

@media (max-width: 768px) {

    .berita-section h2 {
        font-size: 26px;
    }

    .berita-card {
        margin-bottom: 20px;
    }

    .berita-img {
        height: 180px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

}

/* =========================
   RESPONSIVE BERITA MOBILE
========================= */
@media (max-width: 768px) {

    .berita-section {
        padding: 40px 15px;
    }

    .berita-section h2 {
        font-size: 26px;
    }

    .berita-section p {
        font-size: 14px;
    }

    /* SCROLL HORIZONTAL */
    .berita-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .berita-scroll::-webkit-scrollbar {
        height: 6px;
    }

    .berita-scroll::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }

    /* WRAPPER */
    .berita-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 15px;
    }

    /* CARD */
    .berita-card {
        min-width: 280px;
        max-width: 280px;
        flex: 0 0 auto;

        border-radius: 15px;
        overflow: hidden;
        background: #fff;

        box-shadow: 0 4px 12px rgba(0,0,0,0.1);

        scroll-snap-align: start;
        transition: transform 0.3s ease;
    }

    .berita-card:hover {
        transform: translateY(-5px);
    }

    /* GAMBAR */
    .berita-img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    /* BODY */
    .berita-card .card-body {
        padding: 15px;
    }

    .berita-card .card-title {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .berita-card .card-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .berita-card small {
        font-size: 12px;
    }
}

.footer-section {
    background-color: #0057A6;
    padding: 40px 20px;
    color: #fff;
    text-align: center;
}

.footer-section p {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 175%;
    color: #fff;
    margin: 0;
}

.footer-links {
    list-style: none;       
    padding: 0;             
    margin: 0;             
}

.footer-links li {
    margin-bottom: 8px;     
}

.footer-links a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: color 300ms;
}

.footer-links a:hover {
    color: #E7F4FA;
}

.footer-section a {
    color: #fff;
    font-weight: bold;
    transition: color 300ms;
}

.footer-section a:hover {
    color: #E7F4FA;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icon {
    background-color: #eee;
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: background-color 0.3s ease;
}

.social-icon img {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    background-color: #d6d6d6;
}