:root {
   --primary: rgba(117, 113, 113, 0.8);
   --secondary: rgba(0, 0, 0, 0.836);
}


/* Global Styles */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  top: 0;
  left:0;
  line-height: 1.5;
  background: linear-gradient(var(--primary) 10px, var(--secondary)),
              url(images/Visit-Rwanda-img-1.jpg) no-repeat center center;
}





ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Navigation */

nav {
  display: flex;
  align-items: center;
  height: 12%;
  color: #fff;
  padding-left: 8%;
  padding-right: 8%;
  padding-top: 2%;
  padding-bottom: 2%;
}

nav ul {
  display: flex;
  justify-content: right;
}

nav li {
  margin: 0 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
}

nav a:hover {
  color: #f1f1f1;
}

/* home logo  */
.home {
  font-weight: bold;
  font-family: "Brush Script MT", cursive;
  font-size: 25px;
  
}
.nav-page {
  flex: 1;
  text-align: right;
}
.nav-pages li {
  margin-right: 30px;
  font-weight: bold;
}

/* Landing Page */
.landing-page {
  padding-left: 8%;
  padding-right: 8%;
  display: flex;
  height: 80%;
  align-items: center;
}

.col {
  flex-basis: 50%;
}
.col h1 {
  color: #fff;
  font-size: 40px;
}

.col h2 {
  color: #fff;
  font-size: 25px;
}

.col p {
  color: #fff;
  font-size: 15px;
  line-height: 20px ;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.card {
  width: 200px;
  height: 230px;
  display: inline-block;
  box-sizing: border-box;
  border-radius: 10px;
  margin: 10px 15px;
  background-position: center;
  background-size: cover;
  transition: transform 0.5s;
  cursor: pointer;
  text-align: center;
}

.card1 {
  background-image: url(images/Visit-Rwanda-img-4.jpeg);
}

.card2 {
  background-image: url(images/Visit-Rwanda-img-1.jpg);
}

.card3 {
  background-image: url(images/Visit-Rwanda-img-3.jpg);
}

.card4 {
  background-image: url(images/Visit-Rwanda-img-2.jpg);
}

.card:hover {
  transform: translateY(-10px);
}

.card h5 {
  color: #fff;
  font-size: 15px;
  text-shadow: 0 0 5px #999;
}

/* Services */
.services {
  background-color: #fff;
  padding: 20px;
}

.service-category {
  margin-bottom: 20px;
}

/* About */
.about {
  background-color: #f1f1f1;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.about h2 {
  margin-bottom: 20px;
}

.about p {
  margin-bottom: 20px;
}

.about .team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.about .team-member {
  width: 200px;
  text-align: center;
}

.about .team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.about .team-member .name {
  font-weight: bold;
}

.about .team-member .title {
  font-style: italic;
  color: gray;
}

.about div {
  flex-basis: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.about img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 10px;
}



/* Contact Us */
.contact {
  background-color: #fff;
  padding: 20px;
}

label {
  display: block;
  margin-top: 10px;
}

input,
textarea {
  width: 80%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
}

button {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

/* Footer */
footer p {
  font-weight: bold;
  color: #fff;
  text-align: center;
  padding: 10px;
}


input, textarea{
  margin: 5px;
  border: 1px solid dimgray;
  padding: 5px;
  font-size: 1;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 5px;
}

textarea{
  grid-area: ta;
  height: 40px;
  resize: none;
}

#btn-submit{
  cursor: pointer;
  background: dimgray;
  transition: 0.2s;
  width: 150px;
}

#btn-submit:hover{
  background: darkgreen;
  color: white;
}

fieldset{
  align-items: center;
  text-align: center;
}
/* Services*/
.services{
  background-color: gray;
  font-family: 'Courier New', Courier, monospace;
  color: black;
  font-weight: bolder;
}

.service img {
  width: 400px;
  height: 250px;
  transition: box-shadow 0.3s;
}
.service img:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.service {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  text-align: center;
  margin-bottom: 20px;
}

.service-category{
  align-items: center;
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-bottom: 20px;
  margin-bottom: 40px;
  border-bottom: 2px solid silver;
  padding-bottom: 20px;
}
.service-category h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.intro{
  border-bottom: 2px solid silver;
  padding-bottom: 20px;
}

