*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body{
  max-width: 100%;
  overflow-x: hidden;
}
/*---=== background image ===---*/
.background{
   background: linear-gradient(rgba(0, 0, 0, 0.507), rgba(0, 0, 0, 0.61)), url('tornado.jpg'); 
   backdrop-filter: blur(30px);
   -webkit-backdrop-filter: blur(30px);
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
}
/*---=== navigation bar ===---*/
.navbar {
  background-color: #002c3e;
  height: 100px;
  color: white;
  padding: 10px 20px;
  position: relative; 
}

.navbar a{
  text-decoration: none;
  color: white;
  transition: transform .2s;
  margin-top: -22px;
}
.navbar a:hover{
  transform: scale(1.1);
  color: #00b0ff;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/*----nembo ya biashara na jina----*/
.nembo{
  display: flex;
}
.logo {
  height: 80px;
  width: 80px;
  font-size: 25px;
  text-decoration: none;
  color: white;
}
.logo1 {
  margin-top: -15px;
  margin-left: 10px;
  padding: 10px;
  font-size: 25px;
  text-decoration: none;
  color: white;
  font-weight: 600;
}
.logo1 h{
 
  color: white;
}
/*-- Desktop Menu (Hidden on small screens) --*/
.desktop-menu {
  display: none;
}

.menu-toggle {
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-menu {
  position: absolute;
  display: none;
  flex-direction: row;
  background-color: rgba(255, 255, 255, 0.473);
  backdrop-filter: blur (50px);
  -webkit-backdrop-filter: blur(50px);
  font-weight: 700;
  padding: 10px 25px;
  border-radius: 0px;
  height: 100px;
  width: 490px;
  margin-left: -20px;
  margin-top: 2px; 
}

.mobile-menu a {
  color: black;
  text-decoration: none;
  padding: 10px 3px;
  margin: 5px;
  transition: transform .2s;
  text-align: center;
}

.mobile-menu a:hover {
  transform: scale(1.1);
}

/* Show desktop menu on wide screens */
@media (min-width: 768px) {
  .desktop-menu {
    display: flex;
    gap: 20px;
  }
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}
.mobile-menu.active{
  display: flex !important;
}
/*--===landing page title===--*/
.land-head{
  margin-top: 100px;
  
}
.bam-link{
  font-size: 5vw;
  font-weight: 900;
  text-align: center;
}
.bam-link h{
  color: white;
}

.short{
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.short a
{
text-decoration: none;
}
.social-icon {
background-color: transparent;
backdrop-filter: blur(50px);
width: 70px;
height: 70px;
border-radius: 100px;
display: flex;
justify-content: center;
align-items: center;
border: 3px solid white;
color: white;
font-size: 24px;
margin-top: 0px;
}
.social-icon:hover{
background-color:  white; 
color: black; 
}

/*----===about us===----*/
  .k-uhusu{
    text-align: center;
    margin: 20px;
    justify-content: center;
    align-items: center;
 }
 .k-uhusu h{
    font-size: 50px;
    font-weight: 700;
 }

 .mission{
    display: grid;
    grid-template-columns: repeat(auto-fit,400px);
    gap: 20px;
    margin-bottom: 100px;
    justify-content: center;
    align-items: center;
 }
 .p{
    background-color: #dfe0df;
    height: 400px;
    width: 400px;
    padding: 20px;
    text-align: justify;
    margin: 10px;
 }
/*-----==== media query mission and vission  ===-----*/
/*-----===== tablet media query for potrait =====------*/
@media  (max-width : 768px) {
  .mission{
    font-size: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit,300px);
    gap: 50px;
    margin-right: 50px;
    margin-bottom: 40px;
  }
  .p{
    width: 330px;
    height: 380px;
  }
  .p1{
    margin-top: -50px;
  }
}

 /*--===sehemu kuu ya kiungo====--*/
 /* Ensure h tags are treated as block-level and styled consistently */
h {
    display: block; /* Important, as 'h' is not a standard HTML tag */
    font-size: clamp(1.5rem, 5vw, 2.5rem); /* Fluid font size for main headings */
    font-weight: 700;
    color: #2c3e50; /* Darker blue-grey for headings */
    margin-bottom: 20px;
    text-align: center;
}

p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem); /* Fluid font size for paragraphs */
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px; /* Limit paragraph width for readability */
    margin-left: auto;
    margin-right: auto;
}

a {
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit color from parent for default links */
}

/* Main Container */
.kiungo {
    max-width: 1300px; /* Max width for the whole section */
    margin: 40px auto; /* Center the container on the page */
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); /* More prominent shadow */
    padding: 30px;
}

/* Header Section (My Favorite Links) */
.ki-ungo {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee; /* Subtle separator */
    margin-bottom: 30px;
}

/* Links Grid Container */
.jumla {
    display: flex;
    flex-direction: column; /* Stack categories on small screens */
    gap: 30px; /* Space between categories */
}

/* Individual Category (e.g., Books, Encyclopedias) */
.k-itabu {
    background-color: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    padding: 25px;
    display: flex;
    flex-direction: column; /* Stack icon/title and links within category */
}

.kitabu {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between icon and category title */
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0; /* Dashed separator for category title */
}

.kitabu i {
    font-size: 1.8em; /* Larger icon size */
    color: #34495e; /* Darker color for icons */
}

.kitabu h {
    font-size: clamp(1.2rem, 4vw, 1.6rem); /* Fluid font size for category titles */
    color: #34495e;
    margin-bottom: 0; /* Override default h margin */
    text-align: left; /* Align category title to left */
    flex-grow: 1; /* Allow title to take available space */
}

/* Container for individual links within a category */
.vitabu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); /* Responsive grid for links */
    gap: 15px; /* Space between links */
}

/* Styling for individual link boxes (e.g., .book, .britannica) */
.vitabu > a > div {
    background-color: #ecf0f1; /* Light grey background for links */
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Use flexbox for vertical centering if needed */
    justify-content: center;
    align-items: center;
    min-height: 80px; /* Minimum height for link boxes */
}

.vitabu > a > div h {
    font-size: clamp(0.9rem, 2.5vw, 1rem); /* Fluid font size for link text */
    font-weight: 600;
    color: #2c3e50;
    margin: 0; /* Remove default h margin */
    line-height: 1.3;
}

.vitabu > a > div:hover {
    background-color: #3498db; /* Blue on hover */
    color: #fff; /* White text on hover */
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.vitabu > a > div:hover h {
    color: #fff; /* Ensure text color changes on hover */
}

/* --- Responsive Adjustments --- */

/* Tablet & Smaller Desktop Screens */
@media (min-width: 768px) {
    .jumla {
        flex-direction: row; /* Layout categories side-by-side */
        flex-wrap: wrap; /* Allow categories to wrap to next line */
        justify-content: space-between; /* Distribute space evenly */
    }

    .k-itabu {
        flex: 1; /* Allow categories to grow */
        min-width: 45%; /* Two columns per row */
        max-width: calc(50% - 15px); /* Adjusted for gap */
    }

    .vitabu {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Adjust link grid for more columns */
    }
}

/* Larger Desktop Screens */
@media (min-width: 1024px) {
    .k-itabu {
        max-width: calc(33.333% - 20px); /* Three columns per row */
        /* If you want to keep 2 columns but wider, just remove this media query */
    }

    .kitabu i {
        font-size: 2em; /* Slightly larger icon */
    }

    .kitabu h {
        font-size: 1.8rem; /* Slightly larger title */
    }

    .vitabu {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* More spacing for links */
    }
}

/* Even Larger Screens (Optional) */
@media (min-width: 1400px) {
    .jumla {
        justify-content: center; /* Center categories on very wide screens */
    }
    .k-itabu {
        max-width: calc(25% - 22.5px); /* Four columns per row */
    }
}

/*-----=======mawasiliano=======---------*/
/* Ensure h tags are treated as block-level for styling */
h {
    display: block; /* Important, as 'h' is not a standard HTML tag */
    font-size: 1.8em; /* Responsive font size */
    margin-bottom: 15px;
    color: #002c3e; /* Dark blue, matching your icon color */
}

p {
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.7;
}

/* Main Container for the entire section */
.mawasiliano {
    padding: 20px;
    max-width: 1200px; /* Limit overall width on very large screens */
    margin: 40px auto; /* Center the content */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
}

/* Flex Container for the contact info and form */
.mawasiliano1 {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    gap: 30px; /* Space between sections */
}

/* Individual sections */
.contact,
.wasiliana {
    padding: 25px;
    border-radius: 8px;
    background-color: #fdfdfd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact {
    /* Specific styles for contact info if needed */
}

.jamii {
    margin-top: 20px;
}

.mtandao h {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #002c3e;
}

.short1 {
    display: flex;
    flex-wrap: wrap; /* Allow social icons to wrap */
    gap: 15px; /* Space between social icons */
}

.social-icon1 {
    width: 45px; /* Fixed size for social icons */
    height: 45px;
    background-color: #002c3e;
    color: #fff;
    border-radius: 50%; /* Make them circular */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
}

.social-icon1:hover {
    background-color: #0056b3; /* Lighter blue on hover */
    transform: translateY(-3px); /* Subtle lift effect */
}

.social-icon1 i {
    font-size: 1.2em; /* Adjust icon size */
}

/* Form Section */
.wasiliana .habari h {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #002c3e;
}

.wasiliana input[type="text"],
.wasiliana .first {
    width: calc(100% - 40px); /* Adjust width for icon padding */
    padding: 12px 15px 12px 45px; /* Padding for text and icon space */
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wasiliana input[type="text"]:focus,
.wasiliana textarea:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.2);
    outline: none;
}

.wasiliana textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 120px;
}

/* Icon positioning - refined for responsiveness */
.wasiliana i {
    position: absolute;
    color: #002c3e;
    padding-top: 15px; /* Adjust as needed */
    padding-left: 15px;
    font-size: 1.2em; /* Consistent icon size */
    pointer-events: none; /* Allows clicks to pass through to input */
}

.wasiliana input[placeholder="Subject"] { /* Specific padding for subject if no icon */
    padding-left: 15px;
}


.BTN {
    background-color: #002c3e;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%; /* Full width button on mobile */
}

.BTN:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* --- Responsive Adjustments (Desktop/Tablet First) --- */

/* Medium screens (e.g., tablets, small desktops) */
@media (min-width: 768px) {
    .mawasiliano1 {
        flex-direction: row; /* Layout side-by-side */
        flex-wrap: wrap; /* Allow wrapping if content is too wide */
        justify-content: center; /* Center content */
    }

    .contact,
    .wasiliana {
        flex: 1; /* Allow items to grow and shrink */
        min-width: 300px; /* Minimum width before wrapping */
        max-width: 48%; /* Adjust max-width to create two columns with gap */
    }

    .BTN {
        width: auto; /* Button can shrink on larger screens */
    }
}

/* Large screens (e.g., desktops) */
@media (min-width: 1024px) {
    .mawasiliano {
        padding: 40px;
    }

    .mawasiliano1 {
        gap: 50px; /* More space between sections on larger screens */
    }

    .contact,
    .wasiliana {
        max-width: calc(50% - 25px); /* Exactly two columns with a 50px gap */
    }

    h {
        font-size: 2.2em;
    }

    p {
        font-size: 1em;
    }
}

/*-----kahawa-----*/

/* Buy Me a Coffee Button Styling */
.buy-coffee-button {
position: fixed; /* Stays in place when scrolling */
bottom: 20px; /* 20px from the bottom */
right: 20px; /* 20px from the right */
background-color: #002c3e; /* Yellow color typical for "Buy Me a Coffee" */
color: #00b0ff;
padding: 10px 15px;
border-radius: 50px; /* Makes it pill-shaped */
text-decoration: none; /* Removes underline from link */
display: flex; /* Allows icon and text to be side-by-side */
align-items: center; /* Vertically aligns icon and text */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
z-index: 1000; /* Ensures it stays on top of other content */
}
.buy-coffee-button:hover {
transform: translateY(-3px); /* Lifts the button slightly on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhances shadow on hover */
}
.buy-coffee-button img {
width: 24px; /* Size of the coffee cup icon */
height: 24px;
margin-right: 8px; /* Space between icon and text */
}
.buy-coffee-button span {
font-weight: bold;
font-size: 16px;
}
/*  Responsive CSS */
/* For smaller screens (e.g., mobile phones) */
@media (max-width: 768px) {
.buy-coffee-button {
bottom: 15px;
right: 15px;
padding: 8px 12px;
}

.buy-coffee-button img {
width: 20px;
height: 20px;
margin-right: 6px;
}
.buy-coffee-button span {
font-size: 14px;
}
}

/* Responsive CSS */
/* For smaller screens (e.g., mobile phones) */
@media (max-width: 768px) {
.buy-coffee-button {
bottom: 15px;
right: 15px;
padding: 8px 12px;
}
.buy-coffee-button img {
width: 20px;
height: 20px;
margin-right: 6px;
}
.buy-coffee-button span {
font-size: 14px;
}
}
/* For very small screens (e.g., older phones or narrow viewports) */
@media (max-width: 480px) {
.buy-coffee-button {
bottom: 10px;
right: 10px;
padding: 6px 10px;
border-radius: 30px; /* Make it slightly less rounded if needed */
}
.buy-coffee-button img {
width: 18px;
height: 18px;
margin-right: 5px;
}
.buy-coffee-button span {
font-size: 12px;
/* Optionally hide text on very small screens, showing only the icon */
/* display: none; */
}
}

/* --- Main Container: changia --- */
.changia {
    max-width: 1200px; /* Max width for the entire section */
    margin: 50px auto; /* Center the section with vertical margin */
    padding: 30px;
    background-color: #fff; /* White background for the card effect */
    border-radius: 10px; /* Slightly rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    display: flex; /* Use flexbox for the main layout */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center items horizontally */
    gap: 30px; /* Space between the title and the content */
}

/* --- Section Title: fedha (Buy me a Coffee) --- */
.fedha {
    text-align: center;
}

.fedha h { /* Note: 'h' is not a standard HTML tag. Consider using h1, h2, etc. */
    font-size: 2.8em; /* Larger, more impactful title */
    color: #2c3e50; /* Deep blue/grey for headings */
    font-weight: 700; /* Bold */
    letter-spacing: 0.05em; /* Slightly spaced letters for style */
    display: block; /* Ensures it takes up full width for text-align to work */
    margin-bottom: 20px; /* Space below the title */
    position: relative; /* For pseudo-element underline effect */
}

/* Attractive underline effect for the title */
.fedha h::after {
    content: '';
    display: block;
    width: 80px; /* Length of the underline */
    height: 4px; /* Thickness of the underline */
    background: linear-gradient(to right, #f39c12, #e67e22); /* Orange/yellow gradient */
    margin: 10px auto 0; /* Center the underline below the text */
    border-radius: 2px;
}


/* --- Content Wrapper: c-offee --- */
.c-offee {
    display: flex; /* Arrange kahawa and kahawa1 side-by-side */
    gap: 40px; /* Space between the two columns */
    width: 100%; /* Take full width of parent */
    justify-content: center; /* Center the content if it doesn't fill the width */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* --- Left Column: kahawa (Description) --- */
.kahawa {
    flex: 2; /* Takes more space than kahawa1 */
    min-width: 300px; /* Minimum width before wrapping */
    padding: 25px;
    background-color: #fdfdfd; /* Slightly different background */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Lighter shadow */
    display: flex;
    align-items: center; /* Vertically align paragraph in the middle */
}

.kahawa p {
    font-size: 1.1em; /* Good reading size */
    color: #555; /* Slightly lighter text for body */
    text-align: justify; /* Justify text for a clean block look */
    line-height: 1.8; /* More comfortable line spacing */
}

/* --- Right Column: kahawa1 (Donation Info) --- */
.kahawa1 {
    flex: 1; /* Takes less space */
    min-width: 280px; /* Minimum width before wrapping */
    padding: 25px;
    background-color: #fdfdfd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center; /* Center all contents */
    display: flex;
    flex-direction: column; /* Stack elements inside */
    align-items: center; /* Center items horizontally */
}

.kahawa1 h { /* Again, 'h' is not standard. Use h3 or h4. */
    font-size: 1.8em;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px; /* Space below heading */
}

.kahawa1 .img { /* Styles for paypal.png */
    max-width: 150px; /* Max width for the logo */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px;
    border-radius: 5px; /* Slightly rounded corners for the image */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kahawa1 p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

/* --- Donation Link/QR Code Container: malipo --- */
.malipo {
    display: flex;
    flex-direction: column; /* Stack link and QR vertically */
    align-items: center; /* Center them */
    gap: 15px; /* Space between them */
    width: 100%; /* Take full width of parent */
}

.malipo a {
    text-decoration: none; /* Remove underline from link */
    background-color: #3498db; /* Blue button background */
    color: #fff; /* White text */
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effects */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Subtle button shadow */
    display: inline-block; /* Allows padding and transformation */
}

.malipo a:hover {
    background-color: #2980b9; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.malipo a h { /* Note: Using h inside a link is unusual. Usually just text. */
    font-size: 1em; /* Adjust font size if 'h' is used this way */
    color: inherit; /* Inherit color from parent 'a' */
    font-weight: inherit; /* Inherit font weight */
}


.malipo .pp { /* Styles for wooden.jpeg (QR code) */
    max-width: 180px; /* Size for QR code */
    height: auto;
    border: 5px solid #eee; /* Light border around QR */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Stronger shadow for emphasis */
}

/* --- Responsive Design (for smaller screens) --- */
@media (max-width: 768px) {
    .changia {
        margin: 30px 15px; /* Adjust margin for smaller screens */
        padding: 20px;
    }

    .fedha h {
        font-size: 2em; /* Smaller title on smaller screens */
    }

    .c-offee {
        flex-direction: column; /* Stack columns vertically on smaller screens */
        gap: 30px;
    }

    .kahawa,
    .kahawa1 {
        min-width: unset; /* Remove min-width to allow full width */
        width: 100%; /* Take full width */
    }

    .kahawa p {
        font-size: 1em; /* Slightly smaller text */
    }

    .kahawa1 h {
        font-size: 1.5em;
    }

    .malipo a {
        padding: 10px 20px; /* Smaller padding for button */
    }

    .malipo .pp {
        max-width: 150px; /* Smaller QR code */
    }
}

@media (max-width: 480px) {
    .fedha h {
        font-size: 1.8em;
    }

    .fedha h::after {
        width: 60px; /* Shorter underline */
    }

    .kahawa p {
        font-size: 0.95em;
    }
}

/*--------privacy and policy------------*/
.privacy {
    max-width: 720px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    color: #2d3748;
    font-family: sans-serif;
  }
  .privacy h1 {
    font-size: 2.0rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
  }
  .privacy h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .privacy p {
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  @media (min-width: 768px) {
    .privacy {
      padding: 2.5rem;
    }
    .privacy h1 {
      font-size: 3rem;
    }
    .privacy h2 {
      font-size: 2rem;
    }
  }
/*------==== footer sio halisi ====------*/

footer{
  width: 100%;
  min-height: 300px;
  max-height: auto;
  background-color: #284b63;
  margin-top: 10px;
  clear: both;
}
footer .footer-wrap{
  width: 80%;
  margin: 0 auto;
  padding-left: 9%;
  color: white;
}
.widgetFooter a{
  color: white;
  text-decoration: none;
}
.widgetFooter{
  width: calc(85%/3);
  height: auto;
  float: left;
  padding: 2.5%;
  text-align: left;
}
h4.uppercase{
  text-transform: uppercase;
}
ul#footerUsefulLink, ul#footerMediaLinks{
  list-style-type: none;
  margin: 0;
  padding: 0;
  line-height: 40px;
  text-transform: capitalize;
}
ul#footerUsefulLink li, ul#footerMediaLinks li{
  cursor: pointer;
  /* transition: border-bottom 3s ease-in; */
}
ul#footerUsefulLink li:hover .usefulLinksIcons, ul#footerUsefulLink li:hover a{
   color: #00CED1;
   /* border-bottom: 1px solid red; */
}
ul#footerMediaLinks li:hover span.fb, ul#footerMediaLinks li:hover a.fb { color: #3b5998; }
ul#footerMediaLinks li:hover span.twit, ul#footerMediaLinks li:hover a.twit { color: #1DA1F2; }
ul#footerMediaLinks li:hover span.insta, ul#footerMediaLinks li:hover a.insta { color: #ffc838; }
ul#footerMediaLinks li:hover span.git, ul#footerMediaLinks li:hover a.git { color: #f1502f; }

div#footerLogo img{
  width: 50%;
  margin: 25% 0;
}

div.footerCopy{
  clear: both;
  color: white;
  text-align: center;
  padding-bottom: 5px;
  border-top: 1px solid #ccc;
}

@media (max-width:800px){
  footer .footer-wrap{
    width: 100%;
    padding: 0;
  }
  .widgetFooter:not(:nth-of-type(2)){
    width: calc(90%/2);
    text-align: center;
    font-size: 0.9em;
  }
  .widgetFooter:nth-of-type(2){
    display: none;
  }
  div.footerCopy{
    font-size: 0.8em;
  }
}
@media (max-width:600px){
  .widgetFooter:not(:nth-of-type(2)){
    text-align: left;
  }
}
@media (max-width:500px){
  footer{
    min-height: auto;
  }
  .widgetFooter:not(:nth-of-type(2)){
    width: 100%;
    padding: 0;
    text-align: center;
  }
  ul#footerUsefulLink, ul#footerMediaLinks{
    display: flex;
  }
  ul#footerUsefulLink li, ul#footerMediaLinks li{
    float: left;
    flex: 1;
    text-align: center;
    font-size: 1.5em;
  }
  ul#footerUsefulLink li a, ul#footerMediaLinks li a{
    display: none;
  }
  ul#footerUsefulLink li:hover, ul#footerUsefulLink li:hover .usefulLinksIcons, ul#footerUsefulLink li:hover a{
     color: white;
     background-color: #00CED1;
  }
  ul#footerMediaLinks li.media1:hover, ul#footerMediaLinks li:hover span.fb, ul#footerMediaLinks li:hover a.fb { background-color: #3b5998; color: white; }
  ul#footerMediaLinks li.media2:hover, ul#footerMediaLinks li:hover span.twit, ul#footerMediaLinks li:hover a.twit { background-color: #1DA1F2; color: white; }
  ul#footerMediaLinks li.media3:hover, ul#footerMediaLinks li:hover span.insta, ul#footerMediaLinks li:hover a.insta { background-color: #ffc838; color: white; }
  ul#footerMediaLinks li.media4:hover, ul#footerMediaLinks li:hover span.git, ul#footerMediaLinks li:hover a.git { background-color: #f1502f; color: white; }
}

/*--===  media query sehemu kuu ya kiungo ====--*/
/*-----===== tablet media query for potrait =====------*/
@media  (max-width : 768px) {
  .jumla{
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    grid-template-rows: repeat(300px);
    column-gap: 55px;
    row-gap: 1px;
    justify-content: center;
    margin-right: 43px;
    margin-left: 0px;   
  }
  .k-itabu{
    width: 340px; 
  }
  
  .vitabu {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    column-gap: 20px;
    row-gap: 1px;
  } 
}
/*--===  media query mawasiliano ====--*/
/*-----===== tablet media query for potrait =====------*/
@media (max-width: 768px) {
  .mawasiliano1{
    display: list-item;
    grid-template-rows: repeat(auto-fit, 300px);
    gap: 100px;
    margin-top: -70px;
  }
  .contact{
    margin-left: 0px;
    padding: 20px;
  }
  .first{
    margin-left: -5px;
    padding-left: 45px;
  }
  .wasiliana{
    width: 370px;
    float: left;
  
  .BTN{
    margin-top: 50px;
    margin-left: 50px;
  }
}
}
/*--===  media query changia ====--*/
/*-----===== tablet media query for potrait =====------*/
@media (max-width: 768px) {
  .kahawa{
    width: none;
    height: auto;
    padding: 0px;
    font-size: 1rem;
  }
}






/* --- Footer Styling --- */
.site-footer {
  background-color: #002c3e; /* Dark background for a sleek look */
  color: #ffffff; /* White text for contrast */
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap on smaller screens */
  justify-content: space-around; /* Distributes items evenly */
  gap: 30px; /* Space between columns */
  max-width: 1200px;
  margin: 0 auto; /* Center the container */
}

.footer-about,
.footer-links,
.footer-contact-info {
  flex: 1; /* Allows columns to grow and shrink */
  min-width: 280px; /* Minimum width before wrapping */
}

.site-footer h3 {
  color: #00b0ff; /* A vibrant blue for headings */
  margin-bottom: 15px;
  font-size: 1.3em;
  border-bottom: 2px solid #00b0ff; /* Underline for emphasis */
  padding-bottom: 5px;
  display: inline-block; /* Makes the border only as wide as the text */
}

.site-footer p {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  color: #ffffff;
  font-size: 1.5em;
  margin-right: 15px;
  transition: color 0.3s ease; /* Smooth hover effect */
}

.footer-social a:hover {
  color: #00b0ff; /* Change color on hover */
}

.footer-links ul {
  list-style: none; /* Remove bullet points */
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #00b0ff;
  text-decoration: underline;
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-contact-info p i {
  margin-right: 10px;
  color: #00b0ff; /* Icon color */
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle top border */
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7); /* Lighter text for copyright */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column; /* Stack columns vertically on small screens */
    align-items: center; /* Center items when stacked */
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact-info {
    margin-bottom: 30px; /* Add space between stacked sections */
    min-width: unset; /* Remove min-width restriction */
    width: 100%; /* Take full width */
  }

  .footer-social {
    justify-content: center; /* Center social icons */
    display: flex; /* Use flex to center icons */
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 30px 15px; /* Adjust padding for very small screens */
  }

  .site-footer h3 {
    font-size: 1.2em;
  }

  .footer-social a {
    font-size: 1.3em;
    margin: 0 10px; /* Adjust spacing for social icons */
  }
}