:root {
  --primary: #1a3a6c;
  --secondary: #ff6b00;
  --accent: #00a0e3;
  --light: #f8f9fa;
  --dark: #212529;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

body.with-fixed-navbar {
  padding-top: 70px; /* Sesuaikan dengan tinggi navbar */
}
.navbar-brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  margin-right: 15px;
}

.company-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.company-tagline {
  font-size: 0.8rem;
  color: var(--secondary);
  display: block;
  margin-top: -5px;
  letter-spacing: 1px;
}

.nav-link {
  font-weight: 600;
  color: var(--dark);
  margin: 0 10px;
  position: relative;
  transition: all 0.3s;
}

.nav-link:hover {
  color: var(--secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero .carousel-item img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  max-width: 1000px;
  width: 100%;
  padding: 1rem;
  animation: fadeInUp 1.2s ease-in-out;
}

.carousel-caption h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  word-spacing: 5px;
  text-transform: uppercase;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  margin-bottom: 1.5rem;
}

.carousel-caption p {
  font-size: 1.25rem;
  color: #f1f1f1;
  line-height: 1.6;
  letter-spacing: 1px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

.carousel-caption .btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  background-color: var(--primary);
  border: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.carousel-caption .btn:hover {
  transform: translateY(-3px);
  background-color: var(--secondary);
  color: #fff;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2rem;
    letter-spacing: 1px;
    word-spacing: 2px;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
}

/* ===== Section ===== */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 15px;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  margin: 15px auto 0;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #666;
}

/* ===== About Section ===== */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ===== Features Section ===== */
.features {
  background-color: #f0f4f8;
}

.feature-box {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
}

/* ===== Products Section ===== */
.products {
  background-color: var(--primary);
  color: white;
}

.products .section-title h2 {
  color: white;
}

.products .section-title p {
  color: rgba(255, 255, 255, 0.8);
}

.product-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.product-img {
  height: 250px;
  width: 100%;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.product-body {
  padding: 25px;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.product-description {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Testimonials Section ===== */
.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 20px 0;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: rgba(26, 58, 108, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-info h5 {
  margin-bottom: 5px;
  color: var(--primary);
}

.author-info p {
  color: var(--secondary);
  margin-bottom: 0;
  font-weight: 500;
}

/* ===== Footer Section ===== */
.footer {
  background-color: var(--dark);
  color: white;
  padding-top: 70px;
  padding-bottom: 30px;
}

.footer h5 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--secondary);
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.footer p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer ul li a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer .social-icons a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.footer .input-group {
  max-width: 100%;
}

.footer .form-control {
  border-radius: 30px 0 0 30px;
  border: none;
  padding: 10px 15px;
}

.footer .btn-primary {
  border-radius: 0 30px 30px 0;
  padding: 10px 20px;
  background: var(--secondary);
  border: none;
  font-weight: 600;
  transition: all 0.3s;
}

.footer .btn-primary:hover {
  background: #e05a00;
}

.footer .bg-secondary {
  background: #111;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* ===== Contact Section ===== */
.contact-section {
  background-color: #f0f4f9;
  padding: 80px 0;
}

.contact-section .row {
  align-items: stretch;
}

.contact-info-wrapper,
.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-info-box {
  flex: 1;
  background: white;
  border-left: 5px solid var(--primary);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form h4 {
  margin-bottom: 30px;
}

@media (max-width: 991.98px) {
  .contact-form,
  .contact-info-box {
    padding: 30px 20px;
  }
}
