:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --card: rgba(15, 23, 42, 0.7);
  --text: #e2e8f0;
  --muted: #cbd5e1;
  --primary: #3b82f6;
  --secondary: #1d4ed8;
  --accent: #93c5fd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, var(--bg), var(--bg-soft));
  color: var(--text);
  line-height: 1.6;
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.25), transparent 55%);
}

.hero-content {
  max-width: 760px;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0.2em 0;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--primary);
  color: white;
}

.button.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.install-btn {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 10;
  background: #10b981;
  color: white;
  border: none;
  cursor: pointer;
  font: inherit;
}

.install-btn:hover {
  transform: translateY(-1px);
}

.section {
  padding: 72px 24px;
}

.section-content,
.card-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.page-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
}

.about-section,
.education-section,
.contact-section {
  background: rgba(255, 255, 255, 0.02);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.education-list {
  display: grid;
  gap: 24px;
}

.education-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 18px;
  color: #111827;
}

.education-logo {
  width: 128px;
  height: 128px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.education-image {
  min-height: 150px;
  display: grid;
  place-items: center;
  background: #f8fafc;
  border-radius: 12px;
}

.education-description {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding-top: 18px;
}

.isu-logo {
  border-color: #356b43;
  color: #356b43;
  background: #f3e8bd;
}

.ash-logo {
  border-color: #0b8b46;
  color: #1727a5;
  background: #f5df18;
}

.bes-logo {
  border-color: #17245f;
  color: #17245f;
  background: #f6f1cf;
}

.education-card h3 {
  margin: 0 0 10px;
  color: #7650b5;
  font-size: 1.45rem;
}

.education-card p {
  margin: 4px 0;
  color: #111827;
  font-size: 1.08rem;
}

.education-card .education-school {
  font-size: 1.35rem;
  font-weight: 700;
}

#education,
#contact {
  display: none;
}

#education.visible,
#contact.visible {
  display: block;
}

body.contact-view .hero,
body.contact-view #about,
body.contact-view #education,
body.contact-view .highlights-section,
body.contact-view .footer {
  display: none;
}

body.education-view .hero,
body.education-view #about,
body.education-view .highlights-section,
body.education-view #contact,
body.education-view .footer {
  display: none;
}

body.contact-view #contact {
  min-height: 100vh;
}

.contact-panel {
  margin-top: 24px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  opacity: 0.85;
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
}

.facebook-link {
  background: #1877f2;
}

.instagram-link {
  background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5);
}

.instagram-link .instagram-dot {
  stroke: none;
}

.footer {
  text-align: center;
  padding: 20px 16px 36px;
  color: var(--muted);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

@media (max-width: 640px) {
  .education-card {
    gap: 18px;
    padding: 22px;
  }

  .education-logo {
    margin: 0 auto;
  }

  .education-card h3,
  .education-card p {
    text-align: left;
  }
}
