/* ==========================================================================
   PT MITRA SEMESTA INDONESIA - MAIN STYLESHEET
   Bootstrap 5 Theme Customization & UI Polish
   Primary Color Palette: Deep Maroon (#7B1010) & Pure White (#FFFFFF)
   ========================================================================== */

:root {
  --msi-maroon: #7B1010;
  --msi-maroon-dark: #5C0B0B;
  --msi-maroon-light: #9B1C1C;
  --msi-maroon-subtle: #FFF5F5;
  --msi-maroon-border: #E8D0D0;
  --msi-dark: #11151F;
  --msi-dark-footer: #151922;
  --msi-gray-bg: #F8F9FA;
  --msi-text-dark: #212529;
  --msi-text-muted: #6C757D;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--msi-text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}

/* Color Classes */
.bg-maroon {
  background-color: var(--msi-maroon) !important;
}

.bg-maroon-dark {
  background-color: var(--msi-maroon-dark) !important;
}

.bg-maroon-subtle {
  background-color: var(--msi-maroon-subtle) !important;
}

.text-maroon {
  color: var(--msi-maroon) !important;
}

.text-maroon-dark {
  color: #630C0C !important;
}

.border-maroon {
  border-color: var(--msi-maroon) !important;
}

.bg-dark-footer {
  background-color: var(--msi-dark-footer) !important;
}

/* Custom Buttons */
.btn-maroon {
  background-color: var(--msi-maroon);
  color: #FFFFFF;
  border: 1.5px solid var(--msi-maroon);
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  transition: all 0.25s ease-in-out;
}

.btn-maroon:hover, .btn-maroon:focus {
  background-color: var(--msi-maroon-dark);
  border-color: var(--msi-maroon-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(123, 16, 16, 0.35);
}

.btn-hero-wa {
  background-color: #FFFFFF;
  color: var(--msi-maroon);
  border: 1.5px solid #FFFFFF;
  font-weight: 700;
  padding: 0.65rem 1.6rem;
  transition: all 0.25s ease-in-out;
}

.btn-hero-wa:hover {
  background-color: #F8F9FA;
  color: var(--msi-maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-hero-email {
  background-color: rgba(90, 10, 10, 0.85);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  transition: all 0.25s ease-in-out;
}

.btn-hero-email:hover {
  background-color: rgba(60, 6, 6, 0.95);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Navbar */
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand img {
  object-fit: contain;
  transition: transform 0.2s ease;
}

.navbar-brand:hover img {
  transform: scale(1.04);
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333333 !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--msi-maroon) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 1rem;
  background-color: var(--msi-maroon);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: calc(100% - 2rem);
}

/* Hero Section */
.hero-section {
  background-color: var(--msi-maroon);
  background: linear-gradient(180deg, #7B1010 0%, #630C0C 100%);
  padding: 5.5rem 0;
  position: relative;
}

.hero-headline {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: #E2D0D0;
  font-weight: 500;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.05rem;
  }
  .hero-subheadline {
    font-size: 1.05rem;
  }
  .hero-section {
    padding: 3.5rem 0;
  }
}

/* Section Titles */
.section-title {
  font-weight: 800;
  font-size: 2rem;
  color: #111827;
  letter-spacing: -0.3px;
}

/* Section Tentang Kami */
.feature-box {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-left: 4px solid var(--msi-maroon);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(123, 16, 16, 0.08);
}

.feature-icon-wrapper {
  font-size: 2.2rem;
  color: var(--msi-maroon);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.35rem;
}

.feature-desc {
  font-size: 0.83rem;
  color: #6B7280;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Section Produk Kami */
.product-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-left: 4px solid var(--msi-maroon);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.09);
  border-color: #D1D5DB;
  border-left-color: var(--msi-maroon);
}

.product-image-box {
  height: 210px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-bottom: 1px solid #F3F4F6;
  overflow: hidden;
}

.product-image-box img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.05);
}

.product-content {
  padding: 1.25rem 1.4rem;
  flex-grow: 1;
}

.product-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.product-text {
  font-size: 0.86rem;
  color: #4B5563;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Section Keunggulan Kami */
.advantage-card {
  display: flex;
  align-items: flex-start;
  padding: 1rem 0.5rem;
}

.advantage-icon {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-right: 1.2rem;
  flex-shrink: 0;
  line-height: 1;
}

.advantage-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.advantage-desc {
  font-size: 0.9rem;
  color: #E2D0D0;
  margin-bottom: 0;
}

/* Section Kontak */
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.contact-icon {
  font-size: 1.25rem;
  color: var(--msi-maroon);
  margin-right: 0.85rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.contact-label {
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
  margin-bottom: 0.2rem;
}

.contact-text {
  font-size: 0.92rem;
  color: #4B5563;
  margin-bottom: 0;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* Client Logos */
.client-logo-card {
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  border: 1px solid #F0F2F5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.client-logo-card img {
  max-height: 48px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(10%);
  transition: all 0.3s ease;
}

.client-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  border-color: #E2E8F0;
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: var(--msi-dark-footer);
  color: #9CA3AF;
  font-size: 0.9rem;
}

footer a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #FFFFFF;
}

.footer-heading {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.8px;
  margin-bottom: 1.2rem;
}

/* Modal WhatsApp */
.wa-card-choice {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.wa-card-choice:hover {
  border-color: #25D366;
  background-color: #F8FFF9;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.15);
}

.wa-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-right: 1.1rem;
}

.wa-badge-online {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
}

/* Floating Action Button */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  z-index: 1025;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.fab-whatsapp:hover {
  background-color: #1EBE5D;
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
}
