@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

:root {
  --primary: #1A73E8;
  --primary-dark: #0d5bb8;
  --primary-light: #e8f0fe;
  --accent: #FF6B4A;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0b1a2f;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.06);
  --shadow-lg: 0 24px 48px rgba(0,0,0,0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  color: var(--text);
  transition: color 0.3s;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.navbar.scrolled .logo {
  color: var(--text);
}
.logo span {
  font-weight: 400;
  font-size: 1rem;
  opacity: 0.8;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
  letter-spacing: 0.3px;
}
.navbar.scrolled .nav-links a {
  color: var(--text-muted);
}
.nav-links a:hover,
.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after {
  width: 100%;
}
.lang-switch {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
  font-family: inherit;
}
.navbar.scrolled .lang-switch {
  border-color: var(--border);
  color: var(--text);
  background: rgba(0,0,0,0.02);
}
.lang-switch:hover {
  background: rgba(255,255,255,0.25);
}
.navbar.scrolled .lang-switch:hover {
  background: rgba(0,0,0,0.05);
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
  display: block;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  background: #f8fafc;
  overflow: hidden;
}
.hero-bg-animation {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(173,216,230,0.45) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,182,193,0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.8) 0%, transparent 60%);
  animation: heroGlow 12s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}
.hero .container {
  position: relative;
  z-index: 2;
  color: var(--text);
}
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.2s;
}
.hero .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  background: transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(26,115,232,0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26,115,232,0.5);
}
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  background: rgba(0,0,0,0.03);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}
.btn-outline-dark {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}
.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Sections */
section {
  padding: 100px 0;
}
.section-tag {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
  line-height: 1.2;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 700px;
  margin-bottom: 48px;
}

/* About Statement */
.about-statement {
  background: var(--bg-light);
  text-align: center;
  padding: 80px 0;
}
.about-statement .quote {
  font-size: 1.8rem;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.4;
}
.about-statement .quote em {
  font-style: normal;
  color: var(--primary);
  font-weight: 600;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 20px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card .service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}
.service-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 18px;
}
.service-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-link:hover {
  gap: 12px;
}

/* Stats */
.stats-section {
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 20px;
}
.stat-item {
  padding: 20px;
}
.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--primary);
}
.stat-label {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-top: 8px;
}

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 32px;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
  transition: opacity 0.3s;
}
.case-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.case-card:hover::before {
  opacity: 0.9;
}
.case-card .case-content {
  position: relative;
  z-index: 2;
}
.case-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.case-card .case-tag {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 12px;
}
.case-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.5);
  display: inline-block;
  margin-top: 8px;
  transition: border-color 0.3s;
}
.case-link:hover {
  border-color: #fff;
}

/* Approach */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.approach-item {
  text-align: center;
}
.approach-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  display: block;
}
.approach-item h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* Clients */
.clients-marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
  opacity: 0.7;
}
.client-logo {
  width: 140px;
  height: 60px;
  background: var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.client-logo:hover {
  opacity: 1;
  background: var(--primary-light);
  color: var(--primary);
  transform: scale(1.05);
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.news-item {
  background: var(--bg-light);
  padding: 28px;
  border-radius: var(--radius-sm);
  transition: background 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.news-item:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}
.news-date {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.news-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.news-item p {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.news-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

/* CTA */
.cta-section {
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.cta-section h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 16px;
}
.cta-section .btn-primary {
  background: #fff;
  color: var(--bg-dark);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}
.cta-section .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 14px 32px rgba(255,255,255,0.25);
}
.footer-info {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.footer-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Page Header */
.page-header {
  padding-top: 160px;
  padding-bottom: 60px;
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(26,115,232,0.25) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(255,107,74,0.15) 0%, transparent 50%);
}
.page-header .container {
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 1.15rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}
.breadcrumb a {
  color: #fff;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* Page Content */
.page-content {
  padding: 80px 0;
}

/* Timeline (About page) */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-light);
}
.timeline-year {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-item h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.timeline-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.team-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 600;
}
.team-card h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.team-role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.team-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Services Detail Page */
.service-detail-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 48px 40px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}
.service-detail-card .service-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.service-detail-card h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}
.service-detail-card .service-en {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 16px;
}
.service-detail-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 700px;
  line-height: 1.8;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.feature-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Case Detail Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: var(--radius);
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.modal-close:hover {
  background: var(--border);
}
.modal-header {
  margin-bottom: 24px;
}
.modal-header .case-tag {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.modal-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.modal-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.modal-meta-item label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.modal-meta-item p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0;
}

/* Case Filter */
.case-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.case-filter-btn {
  padding: 8px 24px;
  border-radius: 40px;
  border: 1px solid var(--border);
  background: transparent;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  color: var(--text-muted);
}
.case-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.case-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Contact Form */
.contact-form {
  max-width: 640px;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
  background: var(--bg);
  color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
}
.contact-info-card .contact-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Success Message */
.success-message {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.success-message .success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}
.success-message h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.success-message p {
  color: var(--text-muted);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* Loading */
.loading {
  text-align: center;
  padding: 60px;
  color: var(--text-muted);
}
.loading::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination button {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  font-family: inherit;
  color: var(--text);
}
.pagination button:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 100px 40px;
    gap: 32px;
    box-shadow: -8px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s;
    z-index: 999;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    color: var(--text) !important;
    font-size: 1.2rem;
  }
  .hamburger {
    display: flex;
  }
  .navbar .lang-switch {
    background: var(--bg-light);
    color: var(--text) !important;
    border-color: var(--border);
  }
  section {
    padding: 60px 0;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .modal-overlay {
    padding: 20px;
  }
  .modal-content {
    padding: 32px 24px;
  }
  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .case-card {
    height: 300px;
  }
}
