/* Base styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f5f7;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
a {
  color: #2563EB;
  text-decoration: none;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 2rem 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #334155;
  color: #F9FAFB;
  padding: 12px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-left h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #E0E7FF;
  text-shadow: 0 0 6px rgba(224, 231, 255, 0.7);
}

.header-left p {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #CBD5E1;
  text-shadow: 0 0 4px rgba(203, 213, 225, 0.6);
}

.header-logo {
  max-height: 50px;
  width: auto;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.4));
}

/* Hero intro */
.hero-intro {
  background: #D1D9E6;
  color: #1e3a8a;
  text-align: center;
  padding: 120px 20px 100px 20px;
  border-bottom: 1px solid #ddd;
  margin-top: 90px;
  font-size: 1.25rem;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #2563EB;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: #1D4ED8;
}

/* Scroll indicator */
.scroll-indicator {
  margin-top: 20px;
  animation: bounce 2s infinite;
  font-size: 1.5rem;
  color: #2563EB;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Language Switch */
.language-switch {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #6B7280;
}

.language-switch a {
  margin: 0 8px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  color: #2563EB;
}

.language-switch a.active {
  text-decoration: none;
  color: #374151;
}

/* Diagonal Divider */
.diagonal-divider {
  height: 60px;
  background: linear-gradient(135deg, #e0e7ff 0%, #f4f5f7 100%);
  clip-path: polygon(0 0, 100% 100%, 0% 100%);
}

/* Sections */
h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #10B981;
  margin-top: 8px;
}

#skills ul {
  list-style: none;
  padding: 0;
}

#skills ul li {
  margin: 0.5rem 0;
}

#skills ul li strong {
  color: #10B981;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.services-grid h5 {
  font-size: 1.1em;
}

.service-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateX(-40px);
  text-align: center;
}

.service-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.service-card i {
  background-color: #10B981;
  color: #fff;
  padding: 12px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Contact */
.contact-card {
  background-color: #f0fdf4;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
}

#contact a {
  color: #0077cc;
  text-decoration: none;
}

/* Footer */
footer {
  text-align: center;
  background-color: #D1D9E6;
  padding: 40px;
  color: #6B7280;
  font-size: 0.9rem;
  margin-top: 2rem;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .site-header {
    align-items: flex-start;
  }

  .header-logo {
    margin-top: 0.5rem;
  }

  .hero-intro {
    padding: 20px;
  }

  footer div {
    width: 100%;
  }

  .footer-bar {
    margin-bottom: 10px;
  }

  .footer-right {
    margin-top: 10px;
  }
}
