﻿:root {
  --bg: #0f1216;
  --surface: #161b22;
  --surface-hover: #1c2128;
  --muted: #8b949e;
  --text: #e6edf3;
  --brand: #2ea043;
  --brand-hover: #3fb950;
  --border: #30363d;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --font-main: 'Poppins', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(46, 160, 67, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(31, 111, 235, 0.05), transparent 25%);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1100px, 92%);
  margin: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 18, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.5px;
}

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

/* Tabs - Scrollable on mobile */
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px; /* Space for scrollbar if visible */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.tab.active {
  background: rgba(46, 160, 67, 0.15);
  color: #56d364;
  border-color: rgba(46, 160, 67, 0.3);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  background: linear-gradient(180deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
}

.cta {
  display: inline-flex;
  align-items: center;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(46, 160, 67, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.cta:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(46, 160, 67, 0.6);
}

/* Panels & Cards */
.panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel h2 {
  font-size: 28px;
  margin-bottom: 16px;
  border-left: 4px solid var(--brand);
  padding-left: 16px;
}

.panel > p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 16px;
}

.section-media {
  margin-bottom: 32px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 320px;
  box-shadow: var(--shadow);
}

.section-media picture {
  display: block;
}

.section-media img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(105%) saturate(110%);
}

.cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  background: var(--surface-hover);
}

.card-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--brand);
  background: rgba(46, 160, 67, 0.1);
  border-radius: 50%;
  padding: 4px;
}

.card-text {
  font-weight: 500;
  font-size: 16px;
}

/* Features Section */
.features {
  margin: 80px 0;
  padding: 60px 40px;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--border);
  text-align: center;
}

.features h2 {
  margin-top: 0;
  font-size: 28px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.feature-item svg {
  width: 48px;
  height: 48px;
  color: var(--brand);
  margin-bottom: 16px;
}

.feature-item h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--text);
}

.feature-item p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* About Group */
.about-group {
  margin: 80px 0;
  padding: 60px 40px;
  background: linear-gradient(180deg, #161b22, #0f141b);
  border: 1px solid var(--border);
  border-radius: 24px;
  text-align: center;
}

.about-group h2 {
  font-size: 32px;
  margin-bottom: 24px;
  border: none;
  padding: 0;
}

.group-intro {
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto 48px;
  max-width: 800px;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.company-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.company-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
}

.company-icon {
  font-size: 48px;
}

.company-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.group-mission {
  font-size: 18px;
  color: var(--text);
  margin: 0 auto 16px;
  max-width: 800px;
  line-height: 1.8;
}

.group-tagline {
  font-size: 18px;
  color: var(--brand);
  margin: 0;
  font-weight: 600;
}

/* Contact */
.contact {
  margin: 80px 0;
  text-align: center;
}

.contact h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.2s;
}

.contact-item:hover {
  border-color: var(--brand);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.profile-info {
  margin-bottom: 32px;
}

.profile-info h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--text);
}

.profile-info .role {
  font-size: 16px;
  color: var(--brand);
  font-weight: 500;
  margin: 0 0 4px;
}

.profile-info .role-detail {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: auto;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .tabs {
    justify-content: flex-start;
    padding-bottom: 12px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .features {
    padding: 40px 20px;
  }
}

/* Hero with image */
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:28px}
.hero-copy h1{margin:0 0 16px}
.hero-media{margin:0;aspect-ratio:1/1;position:relative;border-radius:20px;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow)}
.hero-media img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(105%) contrast(102%)}

/* CTA inverse for dark overlays */
.cta.inverse{background:transparent;color:#e6edf3;border:1px solid rgba(230,237,243,.4)}
.cta.inverse:hover{background:rgba(255,255,255,.08);color:#fff}

/* Promo banner */
.promo{position:relative;margin:60px 0 80px;border:1px solid var(--border);border-radius:24px;overflow:hidden;min-height:320px;background:linear-gradient(180deg,#0f1216,#0b0f13)}
.promo-media{position:absolute;inset:0}
.promo-media img{width:100%;height:100%;object-fit:cover;filter:brightness(.7) saturate(105%) blur(0px)}
.promo-overlay{position:relative;z-index:1;padding:48px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:320px;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.45))}
.promo-overlay h2{margin:0 0 8px}
.promo-overlay p{margin:0 0 18px;color:#cbd5e1}

/* Remove old gallery/lightbox visuals if any remain */
.gallery,.lightbox-overlay{display:none!important}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:18px}
  .promo-overlay{padding:36px 18px;min-height:260px}
}

  /* Gallery */
  .gallery { 
    margin: 80px 0; 
  }
  .gallery h2 { 
    margin: 0 0 12px; 
  }
  .gallery-intro { 
    color: var(--muted); 
    margin: 0 0 24px; 
    text-align: center; 
  }
  .gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 12px; 
  }
  .gallery-item { 
    display: block; 
    border: 1px solid var(--border); 
    border-radius: 12px; 
    overflow: hidden; 
    background: var(--surface); 
  }
  .gallery-item img { 
    width: 100%; 
    height: 100%; 
    display: block; 
    object-fit: cover; 
    transition: transform .2s ease; 
  }
  .gallery-item:hover img { 
    transform: scale(1.03); 
  }

  /* Lightbox */
  .lightbox-overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,.8); 
    display: none; 
    align-items: center; 
    justify-content: center; 
    z-index: 2000; 
    padding: 20px; 
  }
  .lightbox-overlay.active { 
    display: flex; 
  }
  .lightbox-content { 
    max-width: 95vw; 
    max-height: 90vh; 
  }
  .lightbox-content img { 
    max-width: 100%; 
    max-height: 90vh; 
    border-radius: 10px; 
    border: 1px solid var(--border); 
  }
  .lightbox-close { 
    position: absolute; 
    top: 16px; 
    right: 16px; 
    background: var(--surface); 
    color: var(--text); 
    border: 1px solid var(--border); 
    padding: 6px 10px; 
    border-radius: 8px; 
    cursor: pointer; 
  }
