/* General Reset */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.8;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #0072CE;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  width: 150px;
}

.search-btn {
  background: linear-gradient(to right, #002F6C, black);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
}

.search-btn:hover {
  background: linear-gradient(to left, #002F6C, black);
}

.sticky {
  position: sticky;
  top: 0px;
  z-index: 1000;
}


/* Media query for mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide on mobile by default */
  }

  .hamburger-menu {
    display: flex; /* Show hamburger icon on mobile */
  }
}

header{
  background: url("assets/mata.png");
  background-size: cover;
}

.judulheader{
width: 40%;
padding-top: 20vh;
padding-left: 7vw;
padding-bottom: 20vh;
}

.judulheader h2{
font-weight: 900;
}

.headerbluebg {
    background: linear-gradient(to right, #002F6C, black);
    width: 50%;
    text-align: center;
    padding: 10px;
    color: white;
    border-radius: 25px;
  }

.subjudul-icon {
  width: 3% !important;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  align-content: center;
  object-position: center;
}


/* Section Header */
.section-header {
  text-align: center;
  background-color: skyblue !important;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
}

.small-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.small-logo {
  width: 20px; /* Ukuran logo */
  height: 20px;
  margin-right: 8px;
}

.section-header h6 {
  font-size: 14px;
  color: #002F6C;
  margin: 0;
  font-weight: 600;
}

.section-header h1 {
  font-size: 36px;
  font-weight: bold;
  color: black;
  text-align: center;
}

.section-header h5 {
  font-size: 16px;
  color: #555;
}

/* Content Section */
.content-section {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: auto;
}

.rounded-box {
  border: 1px solid #cce7ff;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  text-align: center;
  width: 100px;
}

.rounded-box p{
  text-align: center !important;
}

.content-section {
  height: auto;

}

.content-section h4{
  padding-left: 5px;
  text-align: justify;
}

.content-section p{
  text-align: justify;
}

.content-img {
  width: 100%;
  max-width: 50vw !important;
  height: fit-content;
  display: block;
  margin: 0 auto 10px;
}

.content-list {
  padding-left: 20px;
}

.content-list li {
  margin-bottom: 8px;
}


/* Gambar Samping Gejala */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded-box{
  width: 100%;
  height: auto;
}

.rounded {
  border-radius: 8px; /* Sudut gambar melengkung */
  height: auto;
}

.content-list li {
  margin-bottom: 8px;
  font-size: 14px; /* Jarak antar list item */
}

/* Gambar di Layanan Katarak */
.img-fluid.rounded {
  border-radius: 10px;  /* Membuat sudut gambar melengkung */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Efek bayangan */
  margin-top: 10px;     /* Jarak atas */
}

/* Header Rata Kiri */
.section-header.text-start {
  text-align: left;
  background-color: #e9f5ff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
}

/* Gambar di Kiri dan Rounded */
.img-fluid.rounded {
  border-radius: 8px;
  max-width: 250px;
  height: auto;
}

/* List Konten */
.content-list {
  padding-left: 20px;
}

.content-list li {
  margin-bottom: 8px;
}

/* Atur Semua Paragraf */
p {
  font-size: 16px;
  color: black;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Paragraf di Section Tertentu */
.content-section p {
  font-size: 14px;
  color: black;
  padding-left: 6px;
}

/* Class Khusus */
.highlight-paragraph {
  font-size: 20px;
  color: #0078D4;
  font-weight: bold;
  text-align: center;
}

.lensa-tanam-section {
  font-size: 16px; /* Ukuran font default */
  line-height: 1.8; /* Jarak antar baris */
  padding-left: 20px; /* Padding kiri untuk teks */
  color: #333; /* Warna teks */
}

.lensa-tanam-section h4 {
  font-size: 24px; /* Ukuran font untuk judul */
  font-weight: bold; /* Membuat judul lebih tebal */
  margin-bottom: 15px; /* Jarak bawah untuk judul */
  color: #0077b6; /* Warna biru untuk judul */
}

/* FOOTER */
.bg-dark {
  background-color: #9966A7 !important;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.py-5 {
  padding-bottom: 1rem !important;
}

.col-md-3 img {
  height: 7vh;
  background-color: black;
  border-radius: 10px;
  padding: 5px;
  transform: background 0.3 ease;
}

.col-md-3 img:hover {
  background: linear-gradient(135deg, #002F6C, black);
}

.list-unstyled.d-flex a {
  margin-right: 10px;
  margin-left: 0px;
}

.list-unstyled.d-flex a:last-child {
  margin-right: 0;
}

.list-unstyled a {
  text-decoration: none !important;
  color: white;
  margin-left: 10px;
}

.list-unstyled a:hover {
  color: skyblue;
}

.ratakiri{
  margin-left: 0 !important;
}

.col-md-3 h5 {
  font-weight: 600;
}

.me-3 i {
  font-size: 1.5rem;
}

.me-3 i:hover {
  color: skyblue;
}

.footercopy {
  text-align: center;
  color: white;
  padding-top: 0;
}

.footercopy hr {
  padding-bottom: 0px;
  margin-block-end: 0px;
}

.footercopy h6 {
  font-size: 14px;
  padding: 10px;
  margin-block-start: 0px;
  margin-block-end: 0px;
  letter-spacing: 1px;
}