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

html {
  scroll-behavior: smooth;
}

body {
  background: #0f172a;
  color: #e2e8f0;
  font-family: Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1180px;
  margin: auto;
}

.narrow {
  max-width: 850px;
}

.section {
  padding: 120px 0;
}

.dark-section {
  background: #111827;
}

.language-switcher {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
}

.language-switcher a {
  color: #94a3b8;
  text-decoration: none;
  margin-left: 12px;
  font-weight: bold;
  transition: color 0.2s ease;
}

.language-switcher a:hover {
  color: #cbd5e1;
}

.language-switcher .active {
  color: #60a5fa;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;

  background: radial-gradient(circle at top left, #1e293b, #0f172a);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 70px;
  align-items: center;
}

.eyebrow,
.section-label,
.project-type {
  color: #60a5fa;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.05;
  margin-bottom: 30px;
}

.hero-text {
  color: #cbd5e1;
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  background: #2563eb;
  color: white;
  padding: 15px 26px;
  border-radius: 12px;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #3b82f6;
}

.secondary {
  background: transparent;
  border: 1px solid #2563eb;
}

.secondary:hover {
  background: rgba(37, 99, 235, 0.1);
}

.hero-side {
  text-align: center;
}

.profile-photo {
  width: 280px;
  height: 280px;
  object-fit: cover;

  border-radius: 28px;
  margin-bottom: 30px;

  border: 2px solid #1e293b;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.profile-photo:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
}

.mini-stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mini-stats div {
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 20px;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.mini-stats div:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
}

.mini-stats strong {
  display: block;
  color: #60a5fa;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.mini-stats span {
  color: #94a3b8;
}

.section-heading {
  margin-bottom: 60px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  font-size: 2.7rem;
  line-height: 1.2;
  max-width: 900px;
}

.expertise-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 25px;
}

.expertise-card,
.project-card,
.philosophy-box,
.timeline-item,
.contact-box {
  background: #1e293b;
  border-radius: 22px;
  padding: 35px;

  border: 1px solid transparent;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.expertise-card:hover,
.project-card:hover,
.timeline-item:hover,
.contact-box:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
}

.expertise-card h3 {
  margin-bottom: 18px;
}

.projects {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

.project-card {
  overflow: hidden;
}

.project-card.large {
  min-height: 420px;
}

.project-card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.project-description {
  color: #cbd5e1;
  margin-bottom: 25px;
}

.project-card ul {
  padding-left: 20px;
}

.project-card li {
  margin-bottom: 12px;
}

.project-link {
  display: inline-block;
  margin-top: 25px;

  color: #60a5fa;
  text-decoration: none;

  transition: color 0.2s ease;
}

.project-link:hover {
  color: #93c5fd;
}

.philosophy-box {
  text-align: center;
  font-size: 1.1rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item span {
  color: #60a5fa;
  font-size: 0.9rem;
}

.timeline-item h3 {
  margin: 10px 0 14px;
}

.timeline-item p {
  color: #cbd5e1;
}

.contact-box {
  text-align: center;
}

.contact-box h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-box p {
  color: #cbd5e1;
  margin-bottom: 35px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-links a {
  color: #60a5fa;
  text-decoration: none;

  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: #93c5fd;
}

@media (max-width: 950px) {
  .hero-layout,
  .projects {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 100px 0;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-side {
    margin-top: 30px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.15;
  }

  .hero-text {
    font-size: 1rem;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .profile-photo {
    width: 220px;
    height: 220px;
  }

  .language-switcher {
    top: 20px;
    right: 20px;
  }

  .contact-links {
    flex-direction: column;
    gap: 14px;
  }
}
