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

body {
  font-family: Arial, sans-serif;
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header {
  padding: 1em 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header h1 {
  margin-left: 20px;
  font-size: 24px;
  font-weight: bold;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #fff;
}

header.scrolled h1,
header.scrolled nav a {
  color: #fff;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-right: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a.nav-link:hover {
  color: #ffd551;
}

nav a.nav-link {
  color: white;
  transition: color 0.3s ease;
}

nav a.nav-link.active {
  color: #ffd551;
}

header.scrolled nav a.nav-link {
  color: #fff;
}

header.scrolled nav a.nav-link.active {
  color: #ffd551;
}

.video-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  transition: left 1s ease-in-out;
}

.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-banner {
  margin-top: 0px;
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  padding: 0px;
}

.video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-banner .caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 2;
  padding: 0 20px;
}

.video-banner .caption h2 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.video-banner .caption p {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.text-primary {
    color: #ffd551 !important;
}

.slide.active {
  left: 0;
}

section {
  padding: 40px 0;
}

section h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

section ul {
  list-style: none;
  margin-left: 20px;
}

section li {
  margin-bottom: 10px;
}

.why-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.why-image {
  flex: 1 1 45%;
  text-align: center;
}

.why-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.why-content {
  flex: 1 1 50%;
}

.why-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #1e2a38;
}

.why-content h3 {
  font-size: 22px;
  color: #333;
  margin-top: 25px;
  margin-bottom: 10px;
}

.why-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.why-content ul {
  list-style-type: disc;
  padding-left: 20px;
}

.why-content li {
  margin-bottom: 10px;
  font-size: 16px;
}

.advantages-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.advantages-content {
  flex: 1 1 55%;
}

.advantages-content h2 {
  font-size: 32px;
  color: #1e2a38;
  margin-bottom: 20px;
}

.advantages-content h3 {
  font-size: 22px;
  color: #333;
  margin-top: 25px;
  margin-bottom: 10px;
}

.advantages-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.advantages-content li {
  font-size: 16px;
  margin-bottom: 10px;
}

.advantages-image {
  flex: 1 1 40%;
  text-align: center;
}

.advantages-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

#how-it-works {
  padding: 60px 0;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #1e2a38;
  margin-bottom: 30px;
}

.how-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.step-box {
  flex: 1 1 22%;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.step-box:hover {
  transform: translateY(-5px);
}

.step-label {
  background-color: #ffd551;
  color: #1e2a38;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  margin-bottom: 15px;
  display: inline-block;
  font-size: 16px;
}

.step-box p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
  justify-content: center;
}

.button-group {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  flex: 1 1 300px;
  max-width: 350px;
}

.button-group .button {
  display: inline-block;
  background-color: #ffd551;
  color: #1e2a38;
  padding: 12px 20px;
  margin-bottom: 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button-group .button:hover {
  background-color: #ffd551;
  color: #1e2a38;
}

.credentials label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  font-size: 14px;
  color: #1e2a38;
}

.credentials input {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #f1f1f1;
  font-family: monospace;
  font-size: 14px;
  color: #333;
}


#portfolio {
  padding: 60px 0;
  background-color: #f7f7f7;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
  color: #1e2a38;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  margin-bottom: 40px;
  color: #666;
}

.portfolio-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
  gap: 30px;
}

.portfolio-text {
  flex: 1 1 30%;
}

.portfolio-text h3 {
  font-size: 24px;
  color: #1e2a38;
  margin-bottom: 10px;
}

.portfolio-text p {
  font-size: 15px;
  color: #444;
}

.portfolio-gallery {
  flex: 1 1 65%;
  position: relative;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.gallery-track img {
  width: 100%;
  max-width: 400px;
  margin-right: 10px;
  border-radius: 8px;
}

.portfolio-gallery button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(30, 42, 56, 0.7);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.portfolio-gallery .prev {
  left: 0;
}

.portfolio-gallery .next {
  right: 0;
}

#about {
  padding: 60px 0;
  background-color: #ffffff;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 32px;
  color: #1e2a38;
  margin-bottom: 30px;
  position: relative;
}

.about-paragraph {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.about-paragraph strong {
  color: #1e2a38;
}

.about-paragraph,
.section-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-paragraph.visible,
.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

#contact {
  padding: 80px 0;
  background-color: #fff;
}

.contact-container {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title.text-primary {
  color: #1e2a38;
  font-size: 32px;
  margin-bottom: 50px;
}

.contact-columns {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-box {
  background-color: #f9f9f9;
  padding: 30px 25px;
  border-radius: 12px;
  flex: 1 1 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: left;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-box h3 {
  font-size: 20px;
  color: #1e2a38;
  margin-bottom: 15px;
}

.contact-box p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.contact-box a {
  color: #1e2a38;
  text-decoration: none;
  font-weight: bold;
}

.contact-box a:hover {
  color: #ffd551;
}

.site-footer {
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 15px;
  border-top: 4px solid #ffd551;
}

.site-footer a {
  color: #ffd551;
  text-decoration: none;
  font-weight: bold;
}

.site-footer a:hover {
  text-decoration: underline;
}


/* Responsive */
@media (max-width: 768px) {

  .video-slider {
    height: 300px;
  }

  .caption {
    font-size: 14px;
    padding: 10px;
  }

  .menu-toggle {
    display: block;
    margin-right: 20px;
  }

  nav {
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
    z-index: 1000;
    padding-left: 50px;
  }

  nav.show {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    margin: 0;
  }

  nav a {
    font-size: 18px;
    color: white;
  }

  header.scrolled nav a {
    color: white;
  }

  .why-flex {
    flex-direction: column;
    text-align: center;
  }

  .why-content {
    text-align: left;
  }

  .advantages-flex {
    flex-direction: column;
  }

  .advantages-content {
    text-align: left;
  }

  .advantages-image {
    margin-top: 20px;
  }

  .portfolio-item {
    flex-direction: column;
  }

  .gallery-track img {
    max-width: 100%;
  }

  .contact-columns {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .step-box {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .step-box {
    flex: 1 1 100%;
  }

  .how-image img {
    max-height: 250px;
  }
}

/* Modern Contact Section Styles */
.contact-section {
  padding: 80px 0;
  background-color: #f7f7f7 !important;
  color: white;
}

.contact-header {
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.contact-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: #ffffff;
  border-color: #ffd551;
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: #ffd551;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: #1e2a38;
  transform: scale(1.1);
}

.contact-icon {
  font-size: 28px;
  color: #1e2a38;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1e2a38;
}

.contact-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.contact-link {
  color: #1e2a38;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.contact-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd551;
  transition: width 0.3s ease;
}

.contact-link:hover {
  color: #1e2a38;
  text-decoration: none;
}

.contact-link:hover::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-header h2 {
    font-size: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-item {
    padding: 25px;
  }
  
  .contact-icon {
    width: 60px;
    height: 60px;
  }
  
  .contact-icon {
    font-size: 24px;
  }
}

/* Video Modal Styles */
.video-play-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 15px;
  padding: 3rem 2rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-play-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.video-play-btn h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.video-play-btn p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.play-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 800px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.close-video {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-video:hover {
  background: rgba(0,0,0,0.8);
  transform: scale(1.1);
}

#howItWorksVideo {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Video Modal */
@media (max-width: 768px) {
  .video-modal-content {
    margin: 10% auto;
    width: 95%;
  }
  
  .video-play-btn {
    padding: 2rem 1.5rem;
  }
  
  .play-icon {
    font-size: 3rem;
  }
  
  .video-play-btn h3 {
    font-size: 1.2rem;
  }
  
  .close-video {
    top: 5px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}

/* Video Step Box Styles - kopira step-box stil */
.video-step-box {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 400px;
  margin: 0 auto 60px auto;
}

.video-step-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.video-step-label {
  background-color: #ffd551;
  color: #1e2a38;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 15px;
  font-size: 14px;
}

.video-step-label i {
  margin-right: 8px;
}

.video-step-box p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

