/* =========================================================
   SMARTECHING — Redesigned: Visual-first, icon-rich
   Palette: #00c5fb (main cyan), #030f2b (bg dark navy)
   ========================================================= */

@font-face {
  font-family: 'Solaris';
  src: url('../fonts/Solaris.otf') format('opentype');
  font-display: swap;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cyan: #00c5fb;
  --cyan-dim: rgba(0, 197, 251, 0.12);
  --cyan-glow: rgba(0, 197, 251, 0.35);
  --bg: #030f2b;
  --bg-alt: #07163b;
  --bg-card: #0a1a3e;
  --text: #e0e8f0;
  --text-dim: #8899b0;
  --text-muted: #5a6f8a;
  --border: rgba(0, 197, 251, 0.1);
  --border-active: rgba(0, 197, 251, 0.3);
  --font-display: 'Solaris', 'Courier New', monospace;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-width: 1200px;
  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-glow); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 { font-size: clamp(1.6rem, 4.5vw, 2.8rem); line-height: 1.15; }
h2 { font-size: clamp(1.2rem, 3vw, 1.8rem); line-height: 1.2; }
h3 { font-size: clamp(0.85rem, 2vw, 1.1rem); line-height: 1.3; }
p { margin-bottom: 0.75rem; }
a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }

/* --- UTILITY --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.section { padding: 4rem 0; }
.section--alt { background: var(--bg-alt); }

.section-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--cyan);
}
.section-title { margin-bottom: 0.75rem; }
.section-subtitle {
  color: var(--text-dim);
  font-size: 0.85rem;
  max-width: 560px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn:hover { background: var(--cyan); color: var(--bg); }
.btn--primary { background: var(--cyan); color: var(--bg); }
.btn--primary:hover { background: transparent; color: var(--cyan); }

/* --- HEADER / NAV --- */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(3, 15, 43, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 46px; width: auto; }
.nav__list { display: flex; list-style: none; gap: 0.25rem; }
.nav__link {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  color: var(--text-dim);
  transition: var(--transition);
}
.nav__link:hover, .nav__link--active { color: var(--cyan); }
.nav__link--active { position: relative; }
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.75rem; right: 0.75rem;
  height: 1px;
  background: var(--cyan);
}
.nav__toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 0.25rem; }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,197,251,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,197,251,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__gradient {
  position: absolute;
  top: -30%; right: -20%;
  width: 70%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(0,197,251,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero Carousel */
.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__carousel-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__carousel-slide {
  flex: 0 0 33.333%;
  height: 100%;
  position: relative;
}
.hero__carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.hero__carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 30%, transparent 70%, var(--bg) 100%);
}
.hero__carousel-dots {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.hero__carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.hero__carousel-dot--active {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border-active);
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.5rem;
}
.hero__badge-dot { width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero__title { margin-bottom: 1rem; }
.hero__title-line { display: block; }
.hero__title-line--accent { color: var(--cyan); }
.hero__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }
.hero__scroll-line { width: 1px; height: 24px; background: linear-gradient(to bottom, var(--text-muted), transparent); }

/* --- ICON CARDS --- */
.icon-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.icon-card {
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.icon-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--cyan);
  transition: var(--transition);
}
.icon-card:hover { border-color: var(--border-active); background: var(--bg-alt); }
.icon-card:hover::before { height: 100%; }
.icon-card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  object-position: 50% 30%;
}
.icon-card__icon {
  font-size: 1.8rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}
.icon-card__number {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.icon-card__title { font-size: 0.85rem; margin-bottom: 0.35rem; }
.icon-card__desc { font-size: 0.78rem; color: var(--text-dim); line-height: 1.5; }
.icon-card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.6rem; }
.icon-card__tag {
  font-size: 0.6rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- STATS --- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.stat {
  text-align: center;
  padding: 1.25rem 1rem;
  border: 1px solid var(--border);
}
.stat__icon { font-size: 1.4rem; color: var(--cyan); margin-bottom: 0.4rem; }
.stat__number { font-family: var(--font-display); font-size: 1.5rem; color: var(--cyan); display: block; margin-bottom: 0.2rem; }
.stat__label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* --- PARTNER CARDS --- */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.partner-card {
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  transition: var(--transition);
}
.partner-card:hover { border-color: var(--border-active); background: var(--bg-alt); }
.partner-card__icon { font-size: 2rem; color: var(--cyan); margin-bottom: 0.75rem; }
.partner-card__name { font-size: 1rem; margin-bottom: 0.2rem; color: var(--cyan); }
.partner-card__role { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.partner-card__desc { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }
.partner-card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
.partner-card__tag {
  font-size: 0.55rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- TEAM GRID --- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.team-member {
  text-align: center;
  padding: 1.25rem 1rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-member:hover { border-color: var(--border-active); }
.team-member__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cyan-dim);
  margin: 0 auto 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cyan);
}
.team-member__name { font-family: var(--font-display); font-size: 0.75rem; margin-bottom: 0.2rem; }
.team-member__role { font-size: 0.65rem; color: var(--text-muted); }

/* --- VALUES --- */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.value-item {
  border: 1px solid var(--border);
  padding: 1.25rem;
}
.value-item__icon { font-size: 1.3rem; color: var(--cyan); margin-bottom: 0.4rem; }
.value-item__title { font-family: var(--font-display); font-size: 0.7rem; color: var(--cyan); margin-bottom: 0.35rem; }
.value-item p { font-size: 0.75rem; color: var(--text-dim); margin: 0; }

/* --- PAGE HEADER (inner pages) --- */
.page-header { padding: 7rem 0 2.5rem; position: relative; }
.page-header__label { font-family: var(--font-display); font-size: 0.6rem; letter-spacing: 0.15em; color: var(--cyan); text-transform: uppercase; margin-bottom: 0.6rem; }
.page-header__title { margin-bottom: 0.75rem; }
.page-header__desc { color: var(--text-dim); font-size: 0.85rem; max-width: 520px; }

/* --- ABOUT PAGE --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-content p { color: var(--text-dim); font-size: 0.82rem; }
.about-content h3 { margin-bottom: 0.75rem; margin-top: 1.5rem; }
.about-content h3:first-child { margin-top: 0; }

/* --- CONTACT --- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-label { font-family: var(--font-display); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.form-input, .form-textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.6rem 0.9rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px var(--cyan-dim); }
.form-textarea { min-height: 100px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info__item { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-info__icon { font-size: 1.2rem; color: var(--cyan); width: 1.5rem; text-align: center; margin-top: 2px; }
.contact-info__label { font-family: var(--font-display); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.15rem; }
.contact-info__value { font-size: 0.82rem; color: var(--text); }
.form-success { padding: 1.5rem; border: 1px solid var(--cyan); text-align: center; }

.form-success__icon { font-size: 1.8rem; color: var(--cyan); margin-bottom: 0.75rem; }

/* --- FOOTER --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
  margin-top: 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { height: 28px; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.75rem; color: var(--text-dim); max-width: 260px; }
.footer-heading { font-family: var(--font-display); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { font-size: 0.75rem; color: var(--text-dim); }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --- RESPONSIVE --- */

/* Tablet */
@media (max-width: 900px) {
  .about-grid, .contact-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .icon-cards, .partner-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 640px) {
  .nav__list {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem;
    gap: 0;
  }
  .nav__list--open { display: flex; }
  .nav__link { padding: 0.65rem 0.85rem; display: block; }
  .nav__link--active::after { display: none; }
  .nav__toggle { display: block; }
  .hero__title { font-size: clamp(1.2rem, 8vw, 1.8rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__carousel-slide img { opacity: 0.08; }
  .section { padding: 2.5rem 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .stat { padding: 0.75rem 0.5rem; }
  .stat__number { font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .contact-wrap { gap: 1.5rem; }
  .icon-card { padding: 1rem; }
  .page-header { padding: 5rem 0 1.5rem; }
  .icon-card__img { height: 100px; }
}
