:root {
  --primary: #6C63FF;
  --dark: #0f172a;
  --gray: #f1f5f9;
  --light: #ffffff;
  --text: #334155;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  color: var(--text);
  line-height: 1.7;
  background: var(--light);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  background: var(--light);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}

.brand img {
  height: 34px;
}

.navbar nav a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

.navbar nav a:hover {
  color: var(--primary);
}

.btn {
  padding: 8px 18px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  text-decoration: none;
  color: var(--primary);
}

/* HERO */
.hero {
  position: relative;
  background: url('assets/hero-illustration.svg') no-repeat right center/contain;
  color: white;
  padding: 90px 0;
  min-height: 600px;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(108, 99, 255, 0.8);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 500px;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-block;
  margin-top: 24px;
  background: var(--light);
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary);
  color: var(--light);
}

/* SECTIONS */
.section {
  padding: 90px 0;
}

.gray {
  background: var(--gray);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 34px;
  margin-bottom: 18px;
  font-weight: 700;
}

.about-text p {
  margin-bottom: 24px;
  font-size: 16px;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 24px;
}

.about-stats > div {
  text-align: center;
}

.about-stats h3 {
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.about-stats p {
  font-size: 14px;
  color: #64748b;
}

/* SERVICE CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.card {
  background: var(--light);
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.card img {
  height: 50px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* BOARD OF DIRECTORS - NOW FULLY VISIBLE */
.board-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.board-card {
  background: var(--light);
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 1 !important; /* CRITICAL FIX - MAKES CARDS VISIBLE */
  visibility: visible !important;
}

.board-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.board-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 4px solid var(--gray);
}

.board-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

.board-title {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  font-style: italic;
}

.board-card p:last-child {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

/* TECHNOLOGY */
h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 700;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.tech-list span {
  background: var(--gray);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
}

/* CONTACT */
.contact-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-box h2 {
  margin-bottom: 16px;
}

.contact-box p {
  margin-bottom: 16px;
  font-size: 18px;
}

.contact-box a {
  color: var(--text);
  text-decoration: none;
}

.contact-box a:hover {
  color: var(--primary);
}

/* FOOTER */
footer {
  background: var(--dark);
  color: white;
  padding: 26px 0;
  text-align: center;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .cards, .board-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-flex {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }

  .navbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .navbar nav a {
    margin-left: 0;
    font-size: 14px;
  }

  .hero {
    padding: 60px 0;
  }

  .section {
    padding: 60px 0;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  h2 {
    font-size: 28px;
  }
}
