/**
 * KHAIR TECH - Website & SIS Public Stylesheet
 * Inspirasi UI: Bersih, Modern, Elegan SaaS Edunav Vibe
 */

:root {
  --kt-primary: #0056b3;
  --kt-primary-dark: #003d82;
  --kt-primary-light: #e6f0fa;
  --kt-secondary: #00a8cc;
  --kt-accent: #00c49f;
  --kt-dark: #0d1e32;
  --kt-gray-dark: #334155;
  --kt-gray: #64748b;
  --kt-gray-light: #f8fafc;
  --kt-border: #e2e8f0;
  --kt-white: #ffffff;
  --kt-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --kt-shadow: 0 10px 25px -5px rgba(13, 30, 50, 0.07), 0 8px 10px -6px rgba(13, 30, 50, 0.04);
  --kt-shadow-lg: 0 20px 35px -5px rgba(13, 30, 50, 0.12);
  --kt-radius: 14px;
  --kt-radius-sm: 8px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--kt-gray-dark);
  background-color: #fbfcfe;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Navbar */
.navbar-kt {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--kt-border);
  padding: 10px 0;
  transition: all 0.3s ease;
}

.navbar-kt .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--kt-dark);
  text-decoration: none;
}

.navbar-kt .navbar-brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.navbar-kt .nav-link {
  color: var(--kt-gray-dark);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.navbar-kt .nav-link:hover,
.navbar-kt .nav-link.active {
  color: var(--kt-primary);
  background-color: rgba(0, 86, 179, 0.05);
}

.btn-primary-kt {
  background: linear-gradient(135deg, var(--kt-primary) 0%, var(--kt-primary-dark) 100%);
  color: var(--kt-white);
  border: none;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 86, 179, 0.3);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary-kt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
  color: var(--kt-white);
}

.btn-secondary-kt {
  background: var(--kt-white);
  color: var(--kt-primary);
  border: 1.5px solid var(--kt-primary);
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 50px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-secondary-kt:hover {
  background: var(--kt-primary-light);
  color: var(--kt-primary-dark);
  border-color: var(--kt-primary);
  transform: translateY(-2px);
}

/* Badge Highlight */
.badge-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #eef6ff;
  border: 1px solid #c7e0ff;
  color: var(--kt-primary);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50px;
  margin-bottom: 14px;
}

.badge-highlight i {
  color: var(--kt-secondary);
}

/* Hero Section (Jarak Proporsional & Rapat dengan Header Menu) */
.hero-section {
  padding: 28px 0 32px;
  background: radial-gradient(circle at 85% 15%, rgba(0, 168, 204, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(0, 86, 179, 0.06) 0%, transparent 60%);
  position: relative;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--kt-dark);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--kt-primary) 0%, var(--kt-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--kt-gray);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-card-preview {
  background: var(--kt-white);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 15px 35px rgba(13, 30, 50, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  transition: transform 0.3s ease;
}

.hero-card-preview:hover {
  transform: translateY(-3px);
}

.hero-card-preview .card-header-mockup {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.hero-card-preview .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

/* USP Banner Card */
.usp-banner {
  background: linear-gradient(135deg, #0d233a 0%, #1a365d 100%);
  color: #ffffff;
  border-radius: var(--kt-radius);
  padding: 32px 38px;
  box-shadow: 0 10px 25px rgba(13, 30, 50, 0.08);
  margin-top: 25px;
  margin-bottom: 15px;
  position: relative;
  z-index: 5;
}

.usp-banner h3 {
  font-weight: 700;
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.usp-banner p {
  color: #cbd5e1;
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* Jarak Standar Antar Section / Page */
section.py-5 {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-header .sub-badge {
  color: var(--kt-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 8px;
  display: inline-block;
}

.section-header h2 {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--kt-dark);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--kt-gray);
  font-size: 1.02rem;
}

/* Feature Cards */
.feature-card {
  background: var(--kt-white);
  border: 1px solid var(--kt-border);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(13, 30, 50, 0.09);
  border-color: #cbd5e1;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-indigo { background: #e0e7ff; color: #4338ca; }
.icon-emerald { background: #d1fae5; color: #059669; }
.icon-amber { background: #fef3c7; color: #d97706; }
.icon-purple { background: #f3e8ff; color: #7e22ce; }
.icon-rose { background: #ffe4e6; color: #e11d48; }

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--kt-dark);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--kt-gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  font-size: 0.88rem;
  color: var(--kt-gray-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li i {
  color: #10b981;
  font-size: 0.8rem;
}

/* Card Produk & Layanan Seragam & Rapi */
.card-produk-kt {
  background: var(--kt-white);
  border: 1px solid var(--kt-border);
  border-radius: 18px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 4px 18px rgba(13, 30, 50, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.card-produk-kt:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(13, 30, 50, 0.1);
  border-color: #cbd5e1;
}

.produk-media-box {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.produk-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card-produk-kt:hover .produk-media-box img {
  transform: scale(1.04);
}

.produk-title {
  height: 48px;
  max-height: 48px;
  line-height: 1.35;
  font-size: 1.05rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.produk-desc-clamp {
  height: 60px;
  max-height: 60px;
  line-height: 1.45;
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-klik-detail {
  font-size: 0.84rem;
  color: var(--kt-primary);
  font-weight: 600;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s, transform 0.2s;
}

.btn-klik-detail:hover {
  color: var(--kt-primary-dark);
  text-decoration: underline;
  transform: translateX(3px);
}

/* Comparison Box */
.compare-box {
  background: var(--kt-white);
  border-radius: 20px;
  border: 1px solid var(--kt-border);
  overflow: hidden;
  box-shadow: var(--kt-shadow);
}

.compare-header {
  padding: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 1.15rem;
}

.compare-kt {
  background: #f0f7ff;
  color: var(--kt-primary-dark);
  border-right: 1px solid #dce9f8;
}

.compare-other {
  background: #f8fafc;
  color: var(--kt-gray);
}

.compare-item {
  padding: 16px 24px;
  border-bottom: 1px solid var(--kt-border);
  font-size: 0.93rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Steps / Workflow */
.step-number {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--kt-primary) 0%, var(--kt-secondary) 100%);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

/* Testimonial / Client quote */
.quote-card {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border-radius: var(--kt-radius);
  padding: 30px;
  border-left: 4px solid var(--kt-primary);
  margin-bottom: 20px;
}

/* CTA Footer Section */
.cta-section {
  background: linear-gradient(135deg, #091b2c 0%, #0d2e4d 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Footer */
footer.main-footer {
  background: #06111d;
  color: #94a3b8;
  padding: 70px 0 25px;
  border-top: 1px solid #1e293b;
  font-size: 0.92rem;
}

footer.main-footer h5 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

footer.main-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  margin-bottom: 10px;
}

footer.main-footer a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
}

/* WhatsApp Floating Button */
.wa-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 20px 0 24px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .usp-banner {
    padding: 25px 20px;
    margin-top: 20px;
  }
}

