/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Poppins', Arial, sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Navbar - FIXED */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  background: rgba(13, 110, 253, 0.95);
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.navbar.scrolled {
  background: rgba(13, 110, 253, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 8px 5%;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  z-index: 1001;
}

.logo span {
  color: #ffd700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  font-size: 1rem;
  padding: 5px 0;
}

.nav-links li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffd700;
  transition: width 0.3s;
}

.nav-links li a:hover {
  color: #ffd700;
}

.nav-links li a:hover:after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  color: white;
}

/* Hero Slideshow - Enhanced Styles */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  margin-top: 60px;
}

.hero .swiper {
  width: 100%;
  height: 100%;
}

.hero .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.hero .swiper-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero-text {
  position: relative;
  color: #fff;
  text-align: center;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease forwards;
  line-height: 1.2;
  background: linear-gradient(to right, #ffffff, #e6f7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 15px;
}

.hero-text h1:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #00bcd4, #0066ff);
  border-radius: 2px;
}

.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 35px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease 0.4s forwards;
  font-weight: 400;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.btn-hero {
  display: inline-block;
  padding: 18px 42px;
  background: linear-gradient(135deg, #00bcd4 0%, #0066ff 100%);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease 0.8s forwards;
  position: relative;
  overflow: hidden;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 188, 212, 0.6);
}

.btn-hero:hover:before {
  left: 100%;
}

/* Additional text elements */
.badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.2s forwards;
}

.feature-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 1s forwards;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.feature-item i {
  margin-right: 8px;
  color: #00bcd4;
}

/* Swiper Navigation & Pagination */
.hero .swiper-button-next, 
.hero .swiper-button-prev {
  color: #fff;
  width: 60px;
  height: 60px;
  background: rgba(0, 188, 212, 0.8);
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero .swiper-button-next:after, 
.hero .swiper-button-prev:after {
  font-size: 22px;
  font-weight: bold;
}

.hero .swiper-button-next:hover, 
.hero .swiper-button-prev:hover {
  background: rgba(0, 188, 212, 1);
  transform: scale(1.1);
}

.hero .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero .swiper-pagination-bullet-active {
  background: #00bcd4;
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.8);
}

/* Kenapa Memilih Kami Section */
#why-us {
  padding: 80px 5%;
  background: #f9f9f9;
}

#why-us h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #0d6efd;
  position: relative;
}

#why-us h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #00bcd4, #0066ff);
  border-radius: 2px;
}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.feature-card {
  flex: 1 1 220px;
  max-width: 250px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card i {
  font-size: 3rem;
  color: #00bcd4;
  margin-bottom: 15px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Layanan Section */
#services {
  padding: 80px 5%;
  background: #fff;
}

#services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #0d6efd;
  position: relative;
}

#services h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #00bcd4, #0066ff);
  border-radius: 2px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-card {
  flex: 1 1 220px;
  max-width: 250px;
  background: #f1faff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card i {
  font-size: 3rem;
  color: #0066ff;
  margin-bottom: 15px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.service-card .btn-hero {
  margin-top: 15px;
  padding: 10px 25px;
  font-size: 0.9rem;
}

/* Testimoni Section */
#testimoni {
  padding: 80px 5%;
  background: #f0f8ff;
}

#testimoni h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #0d6efd;
  position: relative;
}

#testimoni h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #00bcd4, #0066ff);
  border-radius: 2px;
}

.testimoni-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  max-width: 400px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 0 auto;
}

.testimoni-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.testimoni-card h3 {
  margin-bottom: 10px;
}

.testimoni-card p {
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
}

/* Kontak Section */
#contact {
  padding: 80px 5%;
  background: #f9f9f9;
}

#contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #0d6efd;
  position: relative;
}

#contact h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #00bcd4, #0066ff);
  border-radius: 2px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.contact-info, .contact-form {
  flex: 1 1 300px;
  max-width: 400px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-info h3, .contact-form h3 {
  margin-bottom: 20px;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
}

.contact-info i {
  color: #00bcd4;
  font-size: 1.2rem;
  width: 25px;
  margin-right: 10px;
}

.contact-info .btn-hero {
  margin-top: 15px;
  padding: 10px 25px;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-hero {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
}

/* Footer */
footer {
  background: #0d6efd;
  color: #fff;
  padding: 60px 5% 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-about, .footer-links, .footer-contact {
  flex: 1 1 250px;
  min-width: 250px;
}

footer h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

footer h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ffd700;
  border-radius: 2px;
}

footer p {
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  opacity: 0.9;
}

.footer-links ul li a:hover {
  color: #ffd700;
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  text-decoration: none;
}

.social-icons a:hover {
  background: #ffd700;
  color: #333;
  transform: translateY(-3px);
}

.footer-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 12px 15px;
  font-size: 18px;
  background: #00bcd4;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 999;
  transition: all 0.3s ease;
}

#backToTop:hover {
  background: #0097a7;
  transform: translateY(-3px);
}

/* Floating Sosial Media */
#socialFloating {
  position: fixed;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 500;
  transition: all 0.3s ease;
}

.social-btn {
  background: #25d366;
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.3s, opacity 0.3s;
}

.social-btn:nth-child(2) {
  background: #e4405f;
}

.social-btn:nth-child(3) {
  background: #3b5998;
}

.social-btn:nth-child(4) {
  background: #dd4b39;
}

.social-btn:hover {
  transform: translateY(-5px);
  opacity: 0.9;
}

.social-btn i {
  font-size: 22px;
}

/* Animation */
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(50px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}