/* ============================================
   ZELQI — Clean Corporate Minimal Theme
   ============================================ */

:root {
  --primary: #0F172A;
  --secondary: #14B8A6;
  --background: #FFFFFF;
  --text: #111827;
  --accent: #2563EB;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --surface: #F9FAFB;
  --font-heading: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1140px;
  --header-height: 72px;
  --radius: 8px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: #1E293B;
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: var(--primary);
}

.btn--full {
  width: 100%;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: calc(var(--header-height) + 80px) 0 100px;
  background: var(--background);
}

.hero__inner {
  max-width: 720px;
}

.hero__tagline {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
}

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

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--surface);
}

.section__header {
  margin-bottom: 56px;
  max-width: 560px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   About
   ============================================ */

.about {
  background: var(--surface);
}

.about__content {
  max-width: 680px;
}

.about__content p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about__content p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Services Cards
   ============================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  padding: 32px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.card:hover {
  border-color: #D1D5DB;
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--secondary);
  margin-bottom: 20px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   Programs
   ============================================ */

.programs {
  background: var(--surface);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.program-item {
  padding: 32px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.program-item__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.program-item__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.program-item__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   Why ZELQI
   ============================================ */

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why__item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.0625rem;
  color: var(--text);
}

.why__check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
  color: var(--secondary);
}

/* ============================================
   Insights
   ============================================ */

.insights {
  background: var(--surface);
}

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

.insight-card {
  padding: 32px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.insight-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.insight-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.insight-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.insight-card__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  transition: color var(--transition);
}

.insight-card__link:hover {
  color: var(--primary);
}

/* ============================================
   Contact
   ============================================ */

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__details {
  margin-top: 32px;
}

.contact__details p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact__details a {
  color: var(--accent);
  transition: color var(--transition);
}

.contact__details a:hover {
  color: var(--primary);
}

.contact__form {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  resize: vertical;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

.form-success {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--secondary);
  text-align: center;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  display: block;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact p {
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.footer__contact a {
  color: var(--secondary);
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition), border-color var(--transition);
}

.footer__social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }

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

  .why__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: calc(var(--header-height) + 48px) 0 72px;
  }

  .section {
    padding: 72px 0;
  }

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

  .contact__form {
    padding: 28px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
