/* ---------------- NAV BAR ---------------- */

.topnav {
  width: 100%;
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 30px;
  display: flex;
  align-items: center; /* fixed from 'right' */
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  display: flex;              /* ensure it's a flex container */
  justify-content: space-between; /* pushes title left, links right */
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  margin-left: auto;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: #0c0c0c;
  font-size: 1rem;
  font-weight: 300;
  padding: 6px 10px;
  border-radius: 4px;
  transition: 0.25s ease;
}

.nav-links a:hover {
  background-color: #d1cccc;
  /* removed invalid align-items */
}

.nav-image img {
  height: 32px;
  width: auto;
}

.nav-title {
  font-size: 2rem;       /* make it bigger */
  font-weight: 600;      /* bold */
  color: rgb(29, 29, 29);          /* white text */
}


/* ---------------- HERO SECTION ---------------- */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  padding: 20px;
}

.hero img {
  width: 600px;
  max-width: 60%;
  border-radius: 10px;
}

.hero-text {
  max-width: 500px;
  text-align: left;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding: 30px;
  margin-top: 40px;
}

.service-card {
  background: #ffffff;
  color: #1a1919; /* fixed from invalid 'font' property */
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;   /* ensures correct sizing */
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card h3 {
  margin: 10px 0;
  font-size: 1.4em;
}

.service-card p {
  font-size: 1em;
  line-height: 1.4em;
}

/* ---------------- BODY ---------------- */

body {
  font-size: small;
  font-family: Verdana, Helvetica, Arial, sans-serif;
  color: #f3f3f8;
  line-height: 1.6em;
  background-color: #848f73;

  /* remove margins so nav touches edges */
  margin: 0;               
  padding-bottom: 90px;
  text-align: center;
}

h1, h2 {
  color: #ebf7f7;
}

h1 { font-size: 200%; }
h2 { font-size: 130%; }

img {
  border: 1.5px dotted #ffffff;
  border-radius: 10px;
  padding: 5px;
}

.timeline-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 50px auto;
  max-width: 800px;
  position: relative;
}

.timeline-horizontal::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  width: 100%;
  background: white; /* the line */
  transform: translateY(-50%);
  opacity: 0.3; /* subtle line */
}

.timeline-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2; /* above the line */
}

.circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  color: black;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.timeline-point p {
  margin-top: 10px;
  color: white;
  font-size: 14px;
  text-align: center;
}

.team-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 50px auto;
  gap: 40px;
}

.team-member {
  text-align: center;
  flex: 1;
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid #fff;
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  margin: 10px 0 5px;
  font-size: 18px;
  font-weight: 600;
}

.team-member p {
  font-size: 14px;
  color: #f3ebeb;
}

.team-hero {
  text-align: center;
  margin: 60px auto;
}

.team-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #ffffff; /* change if needed */
  letter-spacing: 1px;
}

.team-hero-photo {
  width: 350px;      /* adjust size */
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 4px solid #fff;
  box-shadow: 0 0 18px rgba(0,0,0,0.2);
}

.team-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 900px;
  margin: 80px auto;
  padding: 20px 0;
}

/* Horizontal line */
.contact-timeline::before {
  content: "";
  position: absolute;
  top: 55px;         /* aligns with circles */
  left: 0;
  width: 100%;
  height: 2px;
  background: white;
  opacity: 0.3;
}

.contact-item {
  text-align: center;
  width: 30%;
  position: relative;
  z-index: 2;
}

/* Bubbles (same style as your timeline circles) */
.contact-circle {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  border: 2px solid white;
  color: black;
  font-weight: 600;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.contact-item h3 {
  margin: 10px 0 5px;
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.contact-item p {
  margin: 3px 0;
  color: #ddd;
  font-size: 14px;
}


/* ---------------- FOOTER ---------------- */

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fcf8f8;
  padding: 8px;
  text-align: center;
  color: #000;
  z-index: 1000;
}
