/* ===== Base ===== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700&display=swap');

:root {
  --bg: #000000;
  --text: #ffffff;
  --accent: #7ec8e3;
  --card-bg: #111111;
  --card-border: #222222;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
}

.navbar .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--text);
  display: block;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: #000000;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background-color: transparent;
  color: var(--accent);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--accent);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: #000000;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 32px;
  font-weight: 400;
}

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

/* ===== Sections ===== */
section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2,
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p,
.page-header p {
  color: #aaaaaa;
  font-size: 1.05rem;
}

.page-header {
  text-align: center;
  padding: 70px 0 20px;
}

/* ===== Features (Home) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: left;
  padding: 44px 36px;
  background-color: #0a0a0a;
  border: none;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
  background-color: #0d0d0d;
  box-shadow: inset 0 0 40px rgba(126, 200, 227, 0.08), 0 0 24px rgba(126, 200, 227, 0.1);
}

.feature-icon {
  margin-bottom: 22px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  color: #aaaaaa;
  font-size: 0.95rem;
}

/* ===== Image + text split sections ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--card-border);
}

.split h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.split p {
  color: #cccccc;
  margin-bottom: 14px;
}

/* ===== Founders ===== */
.founders-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 64px;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 500px;
  padding: 48px 32px;
  background-color: #0d0d0d;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(126, 200, 227, 0.06);
}

.founder-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin-bottom: 22px;
}

.founder-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.founder-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 720px) {
  .founders-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== Service / generic cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 36px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(126, 200, 227, 0.15);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent);
}

.card p {
  color: #bbbbbb;
}

.cta-block {
  text-align: center;
  margin-top: 56px;
}

.cta-block h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
}

/* ===== Contact ===== */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  margin-top: 0;
}

.contact-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1 1 380px;
  max-width: 420px;
  padding: 36px 34px;
  background-color: #0d0d0d;
  border: none;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(126, 200, 227, 0.08);
  transition: all 0.3s ease;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 50px rgba(126, 200, 227, 0.18);
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 0;
  text-align: center;
  color: #888888;
  font-size: 0.9rem;
}

footer .footer-name {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ===== Fade in (general) ===== */
.fade-in {
  animation: fadeInUp 0.9s ease forwards;
  opacity: 0;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .features-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--card-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 320px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
  }
}
