/* ===== Fonts & Reset ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  line-height: 1.7;
  background: #ffffff;
}

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

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

/* ===== Color Variables ===== */
:root {
  --primary: #333333;
  --primary-light: #555555;
  --accent: #c0785a;
  --accent-light: #d9a08a;
  --bg-alt: #f5f5f3;
  --text: #333333;
  --text-light: #777777;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
}

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

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s;
}

.navbar.scrolled .nav-logo {
  color: var(--primary);
}

.nav-logo span {
  color: var(--accent);
}

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

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.navbar.scrolled .nav-menu a {
  color: var(--text);
}

.nav-menu a:hover {
  color: var(--accent);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
  background: var(--text);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #3a3a3a 0%, #222222 100%);
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192, 120, 90, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-subtitle {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}

.hero-image {
  flex: 0 0 260px;
}

.hero-image img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.08);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 120, 90, 0.35);
}

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

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

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 48px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== About ===== */
.about-content {
  max-width: 780px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: center;
}

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

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.languages-bar {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.languages-bar h3 {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.lang-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.lang {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}

.lang-arrow {
  font-size: 1.5rem;
  color: var(--accent);
}

/* ===== Timeline ===== */
.timeline {
  max-width: 720px;
  margin: 0 auto 60px;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== Stats ===== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Education ===== */
.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.edu-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--accent);
}

.edu-year {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.edu-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.edu-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-card a {
  font-size: 0.95rem;
  color: var(--primary-light);
  font-weight: 500;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  padding: 28px 0;
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-image {
    flex: none;
  }

  .hero-image img {
    width: 180px;
    height: 230px;
    object-position: top center;
    margin: 0 auto;
  }

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

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-top: 24px;
  }

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

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

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar {
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 90px 0 48px;
  }

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

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 36px;
  }

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

  .lang-pair {
    flex-direction: column;
    gap: 8px;
  }
}
