    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    @media (max-width: 768px) {
  .your-class {
    font-size: 14px;
    padding: 10px;
    flex-direction: column;
  }
}

   .navbar{
      padding-top: 1rem;
      padding-bottom: 1rem;
       min-height: 80px;

    }

    .navbar-brand img {
      height: 50px;
    }


    .navbar-nav .nav-link {
      transition: color 0.3s;
    }

    .navbar-nav .nav-link:hover {
      color: #007BFF;
    }

    .carousel-caption {
      background-color: rgba(0, 0, 0, 0.6);
      padding: 1rem;
      border-radius: 0.5rem;
    }

    .news-section {
      background: #f8f9fa;
      padding: 2rem;
    }

    .footer {
      background: #343a40;
      color: #fff;
      padding: 2rem 0;
    }

    .footer a {
      color: #adb5bd;
      text-decoration: none;
    }

    .footer a:hover {
      color: #ffffff;
    }



    /* Custom Styles for homepage*/
    .navbar-nav .nav-link:hover {
      color: #007BFF;
      text-decoration: underline;
    }
      .me-2{
      height: 40px;
      width: 40px;
     
    }
    .bg-dark-blue {
  background-color: #00008B; /* Dark blue */
}
.carousel-item {
  width: 100%;       /* instead of fixed width like 600px */
  max-width: 100%;   /* prevents overflow */
  box-sizing: border-box;
  flex: 0 0 100%; /* each item takes full width */
}
.carousel img {
  width: 100%;
  height: auto;
  object-fit: cover; /* keeps aspect ratio */
}
    .updates-section {
      background-color: #f8f9fa;
      padding: 40px 20px;
    }
    .footer {
      background-color: #00008B;
      color: white;
      padding: 30px 0;
    }
    .footer a {
      color: #ccc;
      text-decoration: none;
    }
    .footer a:hover {
      color: #fff;
    }


 /* Slide-in animation for captions */
.animated-caption {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.5s ease-out;
}

/* Animate caption when slide becomes active */
.carousel-item.active .animated-caption {
  opacity: 1;
  transform: translateY(0);
}


.carousel-item img {
  object-fit: cover;
  object-position: top center; /* Moves the image up to show heads */
  height: 600px;
  width: 100%;
}

  /*Tourism*/

  .hover-card {
      overflow: hidden;
      position: relative;
      transition: transform 0.3s ease;
      cursor: pointer;
      border-radius: 12px;
    }

    .hover-card img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .hover-card:hover img {
      transform: scale(1.1);
    }

    .hover-card .overlay-text {
      position: absolute;
      bottom: 0;
      background: rgba(0,0,0,0.5);
      color: #fff;
      width: 100%;
      padding: 10px;
      text-align: center;
      font-weight: bold;
    }
  
    /* About*/
/* Hero Section Styling */
.hero-section {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('https://upload.wikimedia.org/wikipedia/commons/d/de/Nairobi_skyline.jpg') no-repeat center center/cover;
  height: 60vh;
}

.hero-section h1, .hero-section p {
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

/* Values Section Colors */
.values-section {
  background: linear-gradient(to right, #006600, #ff0000, #000000); /* Kenya flag colors */
}

.values-section .bg-dark {
  background-color: rgba(0, 0, 0, 0.7) !important;
}


/*Safari*/

    .hero {
      background: url(images/Safaris.jpg) no-repeat center center/cover;
      color: white;
      padding: 120px 0;
      text-align: center;
    }

    .hero h1 {
      font-size: 3rem;
      font-weight: bold;
      text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    }

    .card img {
      object-fit: cover;
    }

      .kenyan-flag-bg {
    background: linear-gradient(
      to bottom,
      #000000 0%,    /* Black */
      #000000 20%, 
      #FFFFFF 20%,   /* Thin white */
      #FFFFFF 22%, 
      #DD0000 22%,   /* Red */
      #DD0000 48%, 
      #FFFFFF 48%,   /* Thin white */
      #FFFFFF 50%, 
      #006600 50%,   /* Green */
      #006600 70%, 
      #FFFFFF 70%,   /* Thin white */
      #FFFFFF 72%, 
      #000000 72%,   /* Black */
      #000000 100%
    );
    color: white;
    padding: 3rem 1rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }

/*Homepage Google translate*/

  .goog-logo-link, .goog-te-gadget span {
    display: none !important;
  }
  #google_translate_element {
    color: transparent;
  }



