/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  animation: fadeIn 1s ease-in-out forwards;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  system: fixed;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Section */
.navigasi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #1b436b, #123456);
  color: white;
  padding: 10px 5px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo span {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-link {
  margin: 0 15px;
  position: relative;
}

.nav-link a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  transition: 0.3s;
  border-radius: 5px;
}

.nav-link a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.drop-down {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1b436b;
  list-style: none;
  padding: 0;
  width: 160px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.services:hover .drop-down {
  display: block;
}

.drop-down li a {
  display: block;
  padding: 10px;
  color: white;
  transition: 0.3s;
}

.drop-down li a:hover {
  background-color: #1abc9c;
}

/* Modern Hamburger Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 1001;
  background: transparent;
  border: none;
  padding: 0;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2), .menu-toggle span:nth-child(3) {
  top: 10px;
}

.menu-toggle span:nth-child(4) {
  top: 20px;
}

.menu-toggle.active span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

.menu-toggle.active span:nth-child(2) {
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

.menu-toggle.active span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navigasi {
    padding: 15px 20px;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, #1b436b, #123456);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 80px 20px 20px;
    text-align: center;
    transition: all 0.5s ease;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
    animation: fadeIn 0.5s ease-in-out;
  }

  .nav-link {
    margin: 15px 0;
  }

  .nav-link a {
    font-size: 1.2rem;
    padding: 12px 20px;
  }

  .drop-down {
    position: static;
    width: 100%;
    margin-top: 10px;
    display: none;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .services.active .drop-down {
    display: block;
    animation: fadeInUp 0.3s ease-in-out;
  }

  .drop-down li a {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  /* Prevent scrolling when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}
/* Hero Section */
.hero {
  height: 100vh;
  background: url('hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero-content {
  opacity: 0;
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.5s;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero .btn {
  padding: 10px 20px;
  background-color: #1abc9c;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
}

.hero .btn:hover {
  background-color: #16a085;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Navbar untuk Mobile */
  .navigasi {
    padding: 10px;
  }

  .navbar .nav-links {
    display: none; /* Sembunyikan nav-links di mobile */
  }

  .navbar .nav-links.active {
    display: flex;
    flex-direction: column;
    background-color: #1b436b;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px 0;
  }

  .navbar .nav-link {
    margin: 10px 0;
    text-align: center;
  }

  .navbar .nav-link a {
    padding: 10px;
  }

  .drop-down {
    position: static;
    width: 100%;
    background-color: #34495e;
  }

  .services:hover .drop-down {
    display: none; /* Sembunyikan dropdown di mobile */
  }

  .logo img {
    height: 40px; /* Ukuran logo lebih kecil di mobile */
  }

  /* Tombol Menu Hamburger */
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 24px;
    color: white;
  }

  .menu-toggle:hover {
    color: #1abc9c;
  }

  /* Hero Section untuk Mobile */
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (min-width: 769px) {
  /* Navbar untuk Desktop */
  .menu-toggle {
    display: none; /* Sembunyikan tombol menu di desktop */
  }

  .navbar .nav-links {
    display: flex; /* Tampilkan nav-links di desktop */
  }
}
/* Hero Section */
/* Gaya dasar untuk semua perangkat */
.hero {
text-align: center;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
position: relative;
overflow: hidden;
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 1.5s ease-out forwards;
}

.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5); /* Overlay semi-transparan */
z-index: 0;
}

.h1-title-divisi {
font-size: 50px;
font-weight: 800;
font-family: Helvetica, Arial, sans-serif;
color: #ffffff;
text-transform: uppercase;
letter-spacing: 2px;
text-align: center;
margin-bottom: 10px;
position: relative;
z-index: 1;
opacity: 0;
transform: translateY(20px);
animation: fadeInUpText 1.5s ease-out 0.5s forwards;
}

.p-divisi {
font-size: 22px;
font-weight: 300;
font-family: Helvetica, Arial, sans-serif;
text-align: center;
color: #ffffff;
max-width: 700px;
margin: 10px auto;
line-height: 1.6;
position: relative;
z-index: 1;
opacity: 0;
transform: translateY(20px);
animation: fadeInUpText 1.5s ease-out 0.7s forwards;
}

.hero img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover; /* Memastikan gambar menutupi area tanpa distorsi */
z-index: -1;
opacity: 0;
animation: fadeInImage 1.5s ease-out forwards;
}

/* Animasi untuk fade-in dan slide-up */
@keyframes fadeInUp {
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* Animasi untuk teks */
@keyframes fadeInUpText {
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* Animasi untuk gambar */
@keyframes fadeInImage {
to {
    opacity: 1;
}
}

/* Tampilan Mobile (lebar layar <= 768px) */
@media (max-width: 768px) {
.h1-title-divisi {
    font-size: 32px; /* Ukuran font lebih kecil untuk mobile */
    letter-spacing: 1px; /* Jarak antar huruf lebih rapat */
    margin-bottom: 5px; /* Jarak bawah lebih kecil */
}

.p-divisi {
    font-size: 16px; /* Ukuran font lebih kecil untuk mobile */
    max-width: 90%; /* Lebar teks lebih kecil agar sesuai dengan layar mobile */
    line-height: 1.4; /* Spasi antar baris lebih rapat */
}
}

/* Tampilan Tablet (lebar layar 769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
.h1-title-divisi {
    font-size: 40px; /* Ukuran font sedang untuk tablet */
}

.p-divisi {
    font-size: 20px; /* Ukuran font sedang untuk tablet */
    max-width: 80%; /* Lebar teks disesuaikan untuk tablet */
}
}

/* Tampilan Desktop (lebar layar >= 1025px) */
@media (min-width: 1025px) {
.h1-title-divisi {
    font-size: 50px; /* Ukuran font besar untuk desktop */
}

.p-divisi {
    font-size: 22px; /* Ukuran font besar untuk desktop */
    max-width: 700px; /* Lebar teks maksimal untuk desktop */
}
}
/* about section */
.about {
  padding: 80px 0;
  background: linear-gradient(135deg, #e0eafc, #cfdef3);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: fadeInUp 1s ease;
}

.img-card {
  flex: 1;
  max-width: 40%;
  position: relative;
}

.img-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.border-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  animation: borderPulse 2s infinite;
}

@keyframes borderPulse {
  0% {
    border-color: rgba(255, 111, 97, 0.5);
  }
  50% {
    border-color: rgba(255, 111, 97, 0.9);
  }
  100% {
    border-color: rgba(255, 111, 97, 0.5);
  }
}

.img-wrapper:hover .profile-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.text-content {
  flex: 1;
  padding: 40px;
  animation: fadeInRight 1s ease;
}

.section-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.name {
  font-size: 40px;
  color: #222;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.motto-container {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

.motto-text {
  font-size: 20px;
  color: #555;
  margin: 0;
  font-style: italic;
}

.highlight {
  color: #ff6f61;
  font-weight: bold;
}

.org-title {
  font-size: 22px;
  color: #444;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .img-card {
    max-width: 100%;
  }

  .text-content {
    padding: 20px;
  }

  .name {
    font-size: 32px;
  }

  .motto-text {
    font-size: 18px;
  }

  .org-title {
    font-size: 20px;
  }
}

/*ABOUT ANGGOTA*/
#about1 {
  padding: 90px 0;
  background-color: #002569;
}

#about1 .p-content1 {
  color: white;
  background: none;
  font-weight: bold;
  text-align: center;
}

#about1 .h2-content1 {
  color: white;
  text-align: center;
  margin-top: 5px;
  font-size: 40px;
}

#about1 .p {
  background: none;
  color: white;
  text-align: center;
  font-size: 20px;
  margin-top: 1px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
  width: 100%;
  max-width: 1200px; /* You can adjust this width */
  margin: 0 auto;
  margin-top: 20px;
}

.card-article {
  text-align: center;
  background: linear-gradient(to bottom, #1b436b, #163659);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.card-article img {
  width: 100%;
  height: 350px; /* Sesuaikan tinggi agar tidak over */
  object-fit: cover; /* Memastikan gambar tetap rapi tanpa distorsi */
  border-radius: 10px; /* Opsional: untuk tampilan lebih estetis */
}
.card-article:hover {
  transform: translateY(-5px);
}

.card-img {
  border-radius: 10px;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-data {
  padding: 2px;
}

.card-title {
  font-size: 1.5rem;
  color: rgb(255, 255, 255);
  margin-bottom: 15px;
  font-weight: 600;
  margin-top: 5px;
  text-align: center;
}

.card-desc {
  text-align: center;
  font-size: 17px;
  border-radius: 30px;
  padding: 6px 12px;
  box-shadow: 0px 2px 5px rgba(103, 24, 24, 0.514);
  margin: 8px 0;
  display: inline;
  background-color: rgb(255, 255, 255); /* Tambahkan ini untuk membuat teks berwarna kuning */
} 

.info {
  background: linear-gradient(to right, #ffd700, #e6c200);
  padding: 15px;
  border-radius: 10px;
  margin: 12px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.label {
  text-align: center;
  font-weight: bold;
  border-radius: 10px;
}

.value {
  font-size: 14px;
  color: #222;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  border-radius: 10px;
  display: inline-block;
}


/* Responsive untuk tablet (lebar layar 768px - 1024px) */
@media (max-width: 1024px) {
.grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom untuk tablet */
}

.card-article img {
    height: 300px; /* Sesuaikan tinggi gambar */
}

.card-title {
    font-size: 1.3rem; /* Ukuran font lebih kecil */
}

.card-desc {
    font-size: 16px; /* Ukuran font lebih kecil */
}
}

/* Responsive untuk ponsel (lebar layar kurang dari 768px) */
@media (max-width: 768px) {
#about1 {
    padding: 60px 0; /* Padding lebih kecil */
}

#about1 .h2-content1 {
    font-size: 32px; /* Ukuran font lebih kecil */
}

#about1 .p {
    font-size: 18px; /* Ukuran font lebih kecil */
}

.grid-container {
    grid-template-columns: 1fr; /* 1 kolom untuk ponsel */
}

.card-article img {
    height: auto; /* Sesuaikan tinggi gambar */
}

.card-title {
    font-size: 1.2rem; /* Ukuran font lebih kecil */
}

.card-desc {
    font-size: 15px; /* Ukuran font lebih kecil */
}

.info {
    padding: 5px; /* Padding lebih kecil */
}
}


.about2 {
  background-color: rgba(0, 0, 0, 0.868);
  padding-top: 50px;
  padding-bottom: 100px;
}

.content3 {
  padding: 10px 0;
}

.content3 h2 {
  color: white;
  font-size: 2.5rem;
  text-align: center;
  justify-content: center;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
}

.content3 p {
  color: rgba(255, 255, 255, 0.747);
  font-size: 1.1rem;
  background: none;
  text-align: center;
  margin: 10px 0 0 5px;
  padding: 0 0 0 0;
  width: 100%;
}

.content-info {
  width: 100%;
}

.ccontainer {
  position: relative;
  top: 40px;
  left: 20px;
  max-width: 1200px; /* Batas lebar konten */
  margin: 0 auto; /* Biar tengah otomatis */
  padding-left: 20px; /* Jarak dari kiri */
  padding-right: 20px; /* Jarak dari kanan */
}

.containerr {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 20px;
  padding-right: 20px;
}


.content-label {
  display: flex;
  align-items: start; /* Biar icon dan teks rata di atas */
  gap: 16px; /* Jarak antara icon dan teks */
}

.icon {
  width: 50px; /* Ukuran icon */
  height: 50px;
  fill: rgb(0, 119, 255); /* Warna icon */
  flex-shrink: 0; /* Biar icon nggak ngecil pas kontainernya sempit */
}

.content-label h1 {
  background: none;
  font-size: 2rem;
  color: white;
  padding: 0;
  margin: 0;
  text-align: left;
}

.content-label p {
  background: none;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
  margin: 10px 0;
  text-align: left;
}

.content-text {
  max-width: 600px; /* Biar teks nggak terlalu melebar */
}


/* Footer Section */
.footer {
background: #1b436b; /* Warna biru */
padding: 40px 50px;
color: white; /* Pastikan teks kontras */
}

.footer * {
background: transparent !important; /* Menghapus latar belakang putih */
}

.footer-container {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
max-width: 1200px;
margin: auto;
}

/* Bagian Logo & Quote */
.footer-left {
flex: 1;
min-width: 250px;
margin-right: 30px;
}

.footer-left img {
width: 100px;
margin-bottom: 15px;
}

.footer-left p {
font-size: 14px;
opacity: 0.8;
}

/* Bagian Kontak */
.footer-center {
flex: 1;
min-width: 250px;
margin-right: 30px;
}

.footer-center h3 {
font-size: 18px;
margin-bottom: 10px;
border-bottom: 2px solid white;
display: inline-block;
padding-bottom: 5px;
}

.contact-info {
list-style: none;
padding: 0;
}

.contact-info li {
display: flex;
align-items: center;
margin-bottom: 10px;
font-size: 14px;
}

.contact-info i {
margin-right: 10px;
font-size: 16px;
color: #f8b400;
}

/* Bagian Media Sosial */
.footer-right {
flex: 1;
min-width: 250px;
}

.footer-right h3 {
font-size: 18px;
margin-bottom: 10px;
border-bottom: 2px solid white;
display: inline-block;
padding-bottom: 5px;
}

.social-icons a {
color: white; /* Warna default */
text-decoration: none;
margin-right: 15px;
font-size: 24px;
transition: 0.3s;
}

.social-icons a:hover {
color: #f8b400; /* Warna berubah saat hover */
}


/* Hak Cipta */
.footer-bottom {
text-align: center;
margin-top: 20px;
font-size: 14px;
padding-top: 10px;
border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsif */
@media (max-width: 768px) {
.footer-container {
    flex-direction: column;
    text-align: center;
}

.footer-left, .footer-center, .footer-right {
    margin-bottom: 20px;
}

.social-icons i {
    margin-right: 10px;
}
}

