*,
*::before,
*::after {
	box-sizing: border-box;
}
* {
  font-family: 'Roboto', sans-serif;
  line-height: 20px;
  font-size: 15px;
}
html {
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
	scroll-padding-top: 70px;
}
body {
	margin: 0px;
	padding: 0px;
}
.layar-dalam {
	width: 1000px;
	margin: auto;
}
.layar-penuh{
	width: 100%;
}

/*pengaturan nav */
/* Styling umum untuk Navbar */
.navbar {
 background-color: #0a0a23;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

.navbar .container {
 display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

/* Logo */
.navbar .logo img {
  width: 50px;
  height: auto;
  transition: transform 0.3s ease;
}

.navbar .logo img:hover {
  transform: scale(1.1);
}

/* Menu Toggle (Hamburger Icon) */
.menu-toggle {
   display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: relative;
  z-index: 1001;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg);
  top: -8px;
}
/* Navigasi Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  display: inline-block;
  position: relative;
  padding: 8px 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Efek saat hover (mouse over) */
.nav-links li a:hover {
  color: #1280fa;
  transform: scale(1.05);
}

/* Efek underline animasi saat hover */
.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #1280fa;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}


.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: lightblue;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
  color: #0077b6;
  transform: translateY(-3px);
}

/* Hover Effects for Links */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #0077b6;
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/*pengaturan header */
header{
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: -2;
} 
header video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  z-index: -2;
}
header .intro {
  z-index: 2;
  color: #333;
  text-align: center;
  position: relative;
  top: 50%;
}

header .intro h3 {
  display: inline-block;
  font-size: 20px;
  margin: 0;
  padding: 0;
  color: #fff;
  z-index: 1;
}
.tombol{
  background-color: #3498db;
  height: 40px;
  line-height: 42px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 0px 20px 0px 20px;
  font-size: 15px;
  border-radius: 4px;
}
header .overlay{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #000;
  opacity: 50%;
  z-index: -1;
}
.tombol-menu{
  position: absolute;
  top: 1.7rem;
  right: 1rem;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}
.tombol-menu .garis{
  height: 3px;
  background-color: #fff;
}
section{
  padding: 50px 0px 50px 0px;
}
section h3{
  font-size: 30px;
}
section h3::after {
  content: "";
  border-bottom: 5px solid #1280fa;
  width: 52px;
  display: block;
  margin: 20px auto;
}
#aboutus, #gallery, #quote{
  text-align: center;
  background-color: #0a0a23;
}
section:target {
  animation: highlight 2s ease;
}

/*pengaturan service */
.section-layanan {
  background-color: #0a0a23;
  padding: 80px 20px;
  text-align: center;
}
.container-layanan {
  max-width: 1200px;
  margin: auto;
}
.judul-layanan {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 10px;
}
.deskripsi-layanan {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 40px;
}
.grid-layanan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.card-layanan {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-layanan:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}
.card-layanan img {
  width: 60px;
  margin-bottom: 20px;
}
.card-layanan h3 {
  margin: 10px 0;
  font-size: 1.4rem;
  color: #1280fa;
}
.card-layanan p {
  font-size: 0.95rem;
  color: #555;
}

/*pengaturan galery */
.gallery-section {
  padding: 80px 20px;
  background-color: #f4f8fc;
  text-align: center;
}

.gallery-section .title {
  font-size: 36px;
  margin-bottom: 40px;
  color: #fff;
  font-weight: bold;
}

.galery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.galery-masonry a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galery-masonry a:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.galery-masonry img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}


/*pengaturan quote */
section.quote {
  background-image: url("gambar/quote.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
  color: #fff;
  text-align: center;
  font-style: italic;
  font-size: 1.5rem;
  position: relative;
  min-height: 60vh;
  overflow: hidden;
}
section.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* overlay transparan gelap */
  z-index: 1;
}
section.quote .layar-dalam {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
section.quote .layar-dalam p {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.7;
}

/*pengaturan team */
/* Bagian Team */
#team {
  background-color: #0a0a23;
  padding: 80px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
}

.team-section .section-title {
  font-size: 36px;
  color: #fff;
  margin: 0 auto;
  text-align: center;
}

.team-section .section-subtitle {
  font-size: 18px;
  color: #fff;
  margin-bottom: 40px;
  text-align: center;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 0 auto;
  max-width: 1200px;
}

.team-member {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 280px;
  transition: transform 0.3s ease;
  margin-bottom: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 320px; /* pastikan semua card memiliki ketinggian yang seragam */
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px; /* Sudut sedikit melengkung */
  margin-bottom: 20px;
  border: 4px solid #1280fa;
}


.member-info {
  text-align: center;
}

.member-info h4 {
  font-size: 22px;
  margin: 10px 0 5px;
  color: #0a58ca;
}

.member-info .position {
  font-weight: bold;
  color: #1280fa;
  margin-bottom: 10px;
}

.member-info .bio {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  padding: 0 10px;
}


/*pengaturan proyek */
.section-projects {
  padding: 60px 20px;
  background-color: #0a0a23;
  text-align: center;
}
.container-projects {
  max-width: 1100px;
  margin: auto;
}
.judul-projects {
  font-size: 32px;
  color: #fff;
  margin-bottom: 10px;
}
.deskripsi-projects {
  font-size: 16px;
  color: #fff;
  margin-bottom: 40px;
}
.grid-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.card-project {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.card-project:hover {
  transform: translateY(-5px);
}
.card-project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-content {
  padding: 20px;
}
.card-content h3 {
  margin: 0;
  font-size: 20px;
  color: #0a58ca;
}
.card-content p {
  font-size: 14px;
  color: #444;
  margin-top: 10px;
}

/*pengaturan about us */
.aboutus-modern {
  padding: 80px 20px;
  background-color: #f9f9f9;
  color: #fff;
}
.aboutus-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}
.aboutus-image {
  flex: 1 1 400px;
  text-align: center;
}
.aboutus-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.aboutus-text {
  flex: 1 1 500px;
}
.aboutus-text h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
}
.aboutus-text .subtitle {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 20px;
  color: #fff;
}
.aboutus-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}
.visi-misi {
  margin-top: 30px;
}
.visi-misi h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
}
.visi p, .misi ul {
  font-size: 16px;
  margin: 0 0 15px 0;
}
.misi ul {
  list-style: disc;
  padding-left: 20px;
}

/*pengaturan kontak */
.kontak-section {
  background-color: #0a0a23;
  padding: 80px 20px;
  color: #fff;
}

.kontak-title {
  text-align: center;
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
}

.kontak-subtitle {
  text-align: center;
  font-size: 18px;
  color: #fff;
  margin-bottom: 50px;
}

.kontak-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.kontak-form,
.kontak-info {
  flex: 1 1 100%; /* Responsive layout for small screens */
  max-width: 500px;
}

.kontak-form input,
.kontak-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.kontak-form textarea {
  resize: vertical;
  height: 140px;
}

.kontak-form button {
  background-color: #1280fa;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.kontak-form button:hover {
  background-color: #0f6ed8;
}

.kontak-info p {
  font-size: 16px;
  margin-bottom: 15px;
}

.kontak-map {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section {
  width: 100%;
  background-color: #0a0a23; /* Warna utama website */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-container h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-container p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  color: #e0e0e0;
}

.cta-button {
  display: inline-block;
  padding: 14px 34px;
  background-color: #1A73E8;
  color: #ffffff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #ffffff;
  color: #1A73E8;
  transform: scale(1.05);
}



/*pengaturan footer */
footer {
  background-color: #0a0a23;
  color: #fff;
  padding: 50px 20px 20px;
  font-size: 14px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}
.footer-col {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #00bfff;
}
.footer-col p {
  line-height: 1.6;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  display: inline-block;
  margin-right: 10px;
}
.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover {
  color: #fff;
}
.social-icons a {
  margin-right: 10px;
  display: inline-block;
}
.social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}
.social-icons img:hover {
  transform: scale(1.2);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 13px;
  color: #aaa;
}
#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 99;
  font-size: 20px;
  background-color: #1280fa;
  color: white;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: none;
  transition: opacity 0.4s ease, transform 0.3s ease;
}
#scrollTopBtn:hover {
  background-color: #0f6cd7;
  transform: scale(1.1);
}
section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

.newsletter-section {
  background-color: #0a0a23;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.newsletter-section p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 12px;
  background-color: #1280fa;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: #fff;
  color: #1280fa;
}

/* Responsive */
@media (min-width: 600px) {
  .newsletter-form {
    flex-direction: row;
  }

  .newsletter-form input[type="email"] {
    flex: 1;
  }

  .newsletter-form button {
    width: 150px;
  }
}

/* Responsive styling untuk navbar */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
     position: absolute;
    top: 70px;
    left: 0;
    background-color: #333;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease;
  }

  .nav-links.active {
    max-height: 500px; /* cukup tinggi untuk nampung semua item */
    padding: 1.5rem 0;
  }

  .nav-links li {
       margin: 0;
  }
  .nav-links a {
    font-size: 0.9rem;
    color: #fff;
    padding: 0.5rem 1rem;
    text-align: center;
  }
  .nav-links a:hover {
    color: #0077b6;
  }

  .menu-toggle .bar {
    width: 25px;
    height: 2.5px;
  }

  .navbar .logo img {
    width: 45px;
  }
}

@media screen and (max-width: 768px) {
  .kontak-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .kontak-form,
  .kontak-info {
    max-width: 100%;
    padding: 20px;
  }

  .kontak-title {
    font-size: 30px;
  }

  .kontak-subtitle {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .kontak-title {
    font-size: 24px;
  }

  .kontak-subtitle {
    font-size: 14px;
  }

  .kontak-form input,
  .kontak-form textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .kontak-form button {
    font-size: 14px;
    padding: 10px 20px;
  }

  .kontak-info p {
    font-size: 14px;
  }
}


@media screen and (max-width: 900px) {
  .team-member {
    width: 250px;
    padding: 20px;
  }

  .team-member img {
    width: 120px;
    height: 120px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .team-grid {
    gap: 30px;
  }
}

@media screen and (max-width: 900px) {
  .team-member {
    width: 100%;
    padding: 15px;
  }

  .team-member img {
    width: 100px;
    height: 100px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .team-grid {
    gap: 20px;
  }
}
@media screen and (max-width: 900px) {
  .layar-dalam {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .galery-masonry {
    column-count: 2;
  }
}

@media screen and (max-width: 480px) {
  .galery-masonry {
    column-count: 1;
  }
}

@media screen and (min-width: 768px) {
  .kontak-form,
  .kontak-info {
    flex: 1 1 45%; /* On medium and larger screens, split form and info */
  }
}

@media screen and (min-width: 1024px) {
  .kontak-form,
  .kontak-info {
    flex: 1 1 45%; /* More balanced layout on larger screens */
    max-width: 500px;
  }
  .kontak-wrapper {
    justify-content: space-between;
  }
}

 /* ✅ ini penutupnya */

