:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #1e293b;
  --gray-light: #f1f5f9;
  --gray-med: #64748b;
  --gray-dark: #0f172a;
  --font-main: 'Segoe UI', Arial, sans-serif;
  --radius: 12px;
}

body {
  font-family: var(--font-main);
  background: var(--gray-light);
  color: var(--gray-dark);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

/* Navbar */
.navbar {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0;
  box-shadow: 0 2px 8px 0 rgba(30,64,175,0.05);
}
.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 1px;
}
nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.25em 0.8em;
  border-radius: var(--radius);
  transition: background 0.2s;
}
nav a.active, nav a:hover {
  background: var(--primary-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem 0;
  background: linear-gradient(122deg, var(--primary) 65%, #fff 100%);
  color: #fff;
  text-align: center;
  border-radius: 0 0 38px 38px;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Services */
.services-overview {
  padding: 2.5rem 0 2rem 0;
}
.services-overview h2 {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 2rem;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.7rem;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(38, 59, 103, 0.10);
  padding: 1.35rem 1.4rem 1.2rem;
  flex: 1 1 240px;
  max-width: 300px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.23s;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 6px 24px rgba(38, 59, 103, 0.16);
}
.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  color: var(--primary);
}
.service-card h3 {
  margin: 0.6em 0 0.3em 0;
  font-size: 1.2rem;
  color: var(--secondary);
}
.service-card p { color: var(--gray-med); text-align: center; }

/* CEO Card */
.about-intro {
  padding: 2rem 0 1rem 0;
  text-align: center;
  background: #fff;
  margin-top: -1.5rem;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(16, 32, 64, 0.04);
  display:flex;
  justify-content:center;
  align-items:center;
  padding-bottom:2em;
}
.about-intro .ceo-box {
  background: #f1f5f9;
  border-radius: 16px;
  box-shadow: 0 1px 8px #ccc6;
  padding: 1.2em 2.2em;
  display:flex;
  align-items:center;
  gap: 1em;
}
.about-intro .avatar {
  background:#2563eb;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  font-size:1.18rem;
  font-weight:700;
  border-radius:50%;
}
.about-intro .ceo-info {
  text-align:left;
}
.about-intro .ceo-info .ceo-name {
  font-weight:700;
  color:#222;
  font-size:1.08rem;
}
.about-intro .ceo-info .ceo-role {
  font-size:0.98rem;
  color:#2563eb;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 1rem 0;
  margin-top: 2rem;
  border-radius: 22px 22px 0 0;
  font-size: 1rem;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links a {
  color: #fff;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.96;
  transition: text-decoration 0.2s, color 0.17s;
}
.footer-links a:hover { text-decoration: underline; color: var(--gray-light); }

@media (max-width: 900px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .container { padding: 0 0.7rem; }
  .hero { padding: 2.5rem 0 2rem 0; }
  .hero h1 { font-size: 1.3rem; }
  .about-intro { margin: 1.1rem 0.2rem; border-radius: 19px; }
  .services-overview { padding: 1.2rem 0 1rem 0; }
  .footer-flex { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .footer-links a { margin: 0 0.7rem 0.5rem 0; display: inline-block; }
  nav ul {
    gap: 0.33rem;
    font-size: 1rem;
    flex-wrap: wrap;
  }
}