:root {
  --primary-color: #10374a;
  --secondary-color: #1c6e8c;
  --accent-color: #ff6347;
  --text-color: #333;
  --light-bg: #f8f9fa;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.language-selector {
  margin-right: 10px;
}

.navbar {
  background-color: var(--primary-color);
  padding: 0.5rem 1rem;
}

.navbar-brand img {
  max-height: 40px;
  width: auto;
}

.navbar-brand .sitename {
  color: #fff;
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 700;
  margin-left: 10px;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

.header-social-links a {
  color: #fff;
  margin-left: 15px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.header-social-links a:hover {
  color: var(--accent-color);
}

.footer-social-links a {
  color: #fff;
  margin-left: 15px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social-links a:hover {
  color: var(--accent-color);
}

#hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/global-marine-bg-1.png') no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

#hero h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
}

#hero p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin-bottom: 30px;
}

.btn-get-started {
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-get-started:hover {
  background-color: #e76f51;
  color: #fff;
}

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color);
}

.section-title p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #777;
}

.service-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  padding-top: 20px;
}

.service-card .card-body {
  padding: 20px;
}

.service-card .card-title {
  font-weight: 600;
  color: var(--primary-color);
}

.contact-info i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.contact-info h5 {
  font-size: 1rem;
  font-weight: 600;
}

footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 3rem 0 1rem;
}

footer h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

footer a {
  color: #ddd;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.tombol-wa {
  position: fixed;
  left: 20px;
  width: 70px;
  height: 70px;
  font-size: 35px;
  color: #fff;
  z-index: 99999;
  text-align: center;
  border-radius: 100%;
  border-style: solid;
  border-color: #08c65b;
  border-width: 4px;
  background: #f1f1f1;
  line-height: 65px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .2);
  bottom: 60px
}

.tombol-wa i {
  font-size: inherit;
  line-height: inherit;
  color: #08c65b
}

#scroll-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  background-color: var(--accent-color);
  color: #fff;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: none;
}

#scroll-top:hover {
  background-color: var(--secondary-color);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid var(--accent-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid var(--primary-color);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--primary-color);
}

.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid var(--primary-color);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--primary-color) transparent transparent;
}

.right::after {
  left: -16px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cert-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cert-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.cert-card h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-title h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.embed-responsive-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.text-center {
  text-align: center;
}

.btn {
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 5px;
}

.btn .fab {
  margin-right: 8px;
}

.btn-primary {
  background-color: #3b5998; /* Facebook color */
  border: none;
}

.btn-info {
  background-color: #0077b5; /* LinkedIn color */
  border: none;
}

.btn:hover {
  opacity: 0.85;
}

.carousel-item .row {
  display: flex;
  justify-content: center;
}

.carousel-item img {
  max-height: 200px;
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.carousel {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .carousel-item img {
    max-height: 150px;
  }
}

@media (max-width: 768px) {
  .container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
  }
  .navbar {
    padding: 0.5rem 0.3rem;
  }
  .navbar-nav {
    background-color: var(--primary-color);
    padding: 1rem;
  }

  .header-social-links {
    margin-top: 1rem;
  }

  #hero {
    padding: 3rem 0;
  }

  .section {
    padding: 3rem 0;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  .left::after,
  .right::after {
    left: 15px;
  }

  .right {
    left: 0%;
  }
}

@media (max-width: 576px) {
  .container {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0;
  }
  .navbar {
    padding: 0.5rem 0.2rem;
  }
  .navbar-brand .sitename {
    font-size: 0.8rem;
    font-weight: 600;
  }

  #hero h2 {
    font-size: 2rem;
  }

  #hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}
