* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif, sans-serif;
}

/* Header */
header {
    background-color: #0b4f9c;
    padding: 20px 60px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Image */
.hero {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.hero img {
    width: 100%;
    height: 900px;
    object-fit: cover;
    display: block;
}  

/* About Us */
.about {
    width: 75%;
    margin: 50px auto;
    text-align: center;
}

.about h2 {
    margin-bottom: 20px;
    color: #0b4f9c;
}

.about p {
    line-height: 1.8;
    font-size: 18px;
}

/* Footer */
footer {
    background-color: #0b4f9c;
    color: white;
    text-align: left
    padding: 20px;
    margin-top: 50px;
}
.services {
  display: grid !important;
  grid-template-columns: repeat(2 1fr) !important; 
  gap: 25px;
  padding: 20px;
}

.box {
  background: #fff;
  padding: 25px;
  border-radius: 15px;  /* 👈 hizi ndizo ncha za kuzunguka */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s ease;
  width: 100%;
}

.box img {
  width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: 10px; /* pia picha iwe na soft corners */
}

.box:hover {
  transform: translateY(-5px);
}
#services {
  padding: 50px 20px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

.box {
  border: 2px solid #0b3d91;
  padding: 20px;
  text-align: left;
  background: #fff;
}

.box h3 {
  margin-bottom: 10px;
  color: #0b3d91;
}

.box p {
  color: #444;
  line-height: 1.5;
}
footer {
    
    background-color: #0099ff;
    color: white;
    padding: 10px 20px;
    margin-top: -70px;
}
/* ===== DESKTOP (default) ===== */
.container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.services {
  display: flex;
  gap: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== TABLET / SIMU ===== */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .services {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  header {
    background-position: center;
    background-size: cover;
    height: 100vh;
  }
}
/* CSS nyingine zote juu */

header {
    background: #0099ff;
    padding: 15px 20px;
    height: auto;
}

.hero {
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile styles ziwe mwisho */
@media (max-width: 768px) {

    header {
        padding: 10px 15px;
        height: auto;
    }

    .hero {
        height: 100vh;
    }

    .hero-image {
        object-fit: cover;
    }
}
.hero {
    width: 100%;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}
.btn {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    margin: 20px auto;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-container h1 {
    margin: 0;
    color: white;
}
.back-btn {
    display: inline-block;
    background-color: #0099ff;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

.back-btn:hover {
    background-color: #0077cc;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.contact-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}
.container {
    max-width: 600px;
    margin: 50px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.info {
    margin-top: 20px;
    line-height: 1.8;
}