/* KK United Group — Main Stylesheet */
:root {
  --bg: #1a0f12; /* Deep burgundy / obsidian luxury background */
  --card-bg: transparent;
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --muted: #bfb8b2;
  --accent: #f6efe6;
  --glass: rgba(255, 255, 255, 0.04);
  --border-gold: rgba(212, 175, 55, 0.18);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--accent);
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 6, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 78px;
  height: 78px;
  background: transparent;
  display: grid;
  place-items: center;
  border: none;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.brand-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.tag {
  font-size: 13px;
  color: var(--muted);
}

nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  font-weight: 500;
  color: var(--muted);
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

nav a:hover {
  color: var(--accent);
}

nav a:hover::after {
  width: 100%;
}

.cta {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.08));
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta:hover {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.15));
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
  transform: translateY(-1px);
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  margin-top: 80px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 6, 8, 0.65) 0%, rgba(10, 6, 8, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 28px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.hero-text {
  max-width: 720px;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  margin: 0 0 16px;
  line-height: 1.15;
  color: var(--accent);
  letter-spacing: -0.5px;
}

p.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary {
  padding: 10px 20px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--accent);
}

.hero-stats-box {
  background: rgba(10, 6, 8, 0.6);
  backdrop-filter: blur(8px);
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
}

.hero-controls {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.hero-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  color: var(--gold);
}

.scroll-indicator {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 10;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* Feature Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.card {
  background: rgba(255, 255, 255, 0.015);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.3s ease;
}

.card:hover {
  background: rgba(212, 175, 55, 0.04);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.card .ic {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.04));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.card .ic svg {
  width: 55%;
  height: 55%;
}

.card h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--accent);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* About Section */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 28px;
  align-items: center;
}

.about .img {
  border-radius: 18px;
  min-height: 380px;
  background-image: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.02)), url('../images/about/about-building.png');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.about h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin: 0 0 18px;
  color: var(--accent);
}

.about p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* Companies Grid */
.companies-section {
  padding: 40px 28px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  margin-bottom: 24px;
  font-size: 32px;
  color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.company {
  background: rgba(255, 255, 255, 0.02);
  padding: 24px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.company:hover {
  background: rgba(212, 175, 55, 0.04);
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.company .logo-sm {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  background: #ffffff !important;
  border: 1px solid #eeeeee;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 8px;
}

.company .logo-sm img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company .meta h4 {
  margin: 0;
  font-size: 16px;
  color: var(--accent);
}

.company .meta p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* Why Choose Section */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 28px 60px;
}

.why .wcard {
  background: rgba(255, 255, 255, 0.015);
  padding: 32px 24px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.03);
  transition: all 0.3s ease;
}

.why .wcard:hover {
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.1);
  transform: translateY(-3px);
}

.why .wcard .wicon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin: 0 auto;
}

.why .wcard h4 {
  margin: 16px 0 8px;
  font-size: 17px;
  color: var(--accent);
}

.why .wcard p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

/* Counters */
.counters {
  display: flex;
  gap: 20px;
  padding: 40px 28px;
  align-items: center;
}

.counter {
  flex: 1;
  background: rgba(255, 255, 255, 0.015);
  padding: 28px 20px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.counter h3 {
  margin: 0;
  font-size: 34px;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}

.counter p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Quote Section */
.quote {
  padding: 60px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-direction: row;
}

.quote .art {
  width: 38%;
  max-width: 380px;
  height: auto;
  border-radius: 20px;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
}

.quote .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quote .txt {
  max-width: 520px;
  flex: 1;
  text-align: left;
}

.quote blockquote {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--accent);
  line-height: 1.6;
}

.quote cite {
  display: block;
  margin-top: 18px;
  color: var(--gold);
  font-size: 15px;
  font-style: normal;
  line-height: 1.5;
}

/* Showcase Section */
.showcase {
  padding: 64px 28px;
  overflow: hidden;
  position: relative;
}

.showcase h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 28px;
  font-size: 30px;
  text-align: center;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.showcase .slideWrap {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.showcase .card {
  min-width: 360px;
  height: 240px;
  border-radius: 16px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid rgba(212, 175, 55, 0.12);
  padding: 0;
}

.showcase .card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 100%);
  transition: opacity 0.4s ease;
}

.showcase .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.2);
}

/* Contact / Partner Section */
.contact-section {
  padding: 60px 28px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-box {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin: 0 0 12px;
}

.contact-text p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.contact-locations {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Footer */
footer {
  padding: 40px 28px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  background: rgba(10, 6, 8, 0.95);
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

/* Partner Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: grid;
}

.modal-card {
  background: #1a0f12;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--gold);
}

.modal-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-top: 0;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--accent);
  font-family: inherit;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* Responsive Overrides */
@media (max-width: 1080px) {
  .brand-title { font-size: 22px; }
  .tag { font-size: 12px; }
  nav ul { gap: 14px; }
  .cta { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 980px) {
  .wrap { padding: 24px 20px; }
  h1 { font-size: 38px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .counters { flex-direction: column; }
  .counter { width: 100%; }
  .hero-content { flex-direction: column; align-items: center; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .quote { flex-direction: column; text-align: center; }
  .quote .art { width: 60%; max-width: 320px; margin: 0 auto; }
  .quote .txt { text-align: center; max-width: 100%; }
}

@media (max-width: 640px) {
  .logo { width: 56px; height: 56px; }
  .brand-title { font-size: 18px; }
  .tag { display: none; }
  nav ul { display: none; }
  h1 { font-size: 28px; }
  .wrap { padding: 18px 14px; }
  .grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .quote .art { width: 85%; }
  .quote blockquote { font-size: 18px; }
  .showcase .card { min-width: 88vw; height: 210px; }
}
