/* Base Styles */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-block;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: 0.3s;
  padding: 10px 15px;
  border-radius: 4px;
}

.nav-links li a:hover {
  color: #fff;
  background-color: #e63946;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
}

.hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 8px;
  max-width: 90%;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #e63946;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* About */
.about h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

/* Projects */
.projects .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 300px;
  text-align: center;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  margin: 20px 10px 10px;
}

.card p {
  padding: 0 15px 20px;
}

/* Contact */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

.contact input[type="submit"] {
  background-color: #2a9d8f;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.contact input[type="submit"]:hover {
  background-color: #21867a;
}
/* ...existing code... */

.about-card {
  border-radius: 12px;
  padding: 40px 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.about-list,
.about-details {
  list-style: none;
  padding: 0;
  margin: 24px 0 16px 0;
}

.about-list li,
.about-details li {
  font-size: 1.08em;
  margin-bottom: 10px;
  padding-left: 0;
}
.about-motto {
  color: #222; /* or any color you prefer */
}

.about-cta {
  font-weight: bold;
  color: #2a9d8f;
  margin-top: 18px;
  font-size: 1.1em;
}
.hero-img {
  max-width: 2000px;
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* Responsive tweak */
@media (max-width: 768px) {
  .about-card {
    padding: 20px 10px;
  }
}
/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .nav-links {
    display: none;      /* Hide nav links on mobile */
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .logo {
    margin: 0 auto;     /* Center logo */
    display: block;
  }

  .projects .cards {
    flex-direction: column;
    align-items: center;
  }

  .hero-text {
    width: 90%;
    padding: 20px;
  }
}

