/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  font-family: Arial, sans-serif;
}

h1{
  font-weight: 700;
  color:black;
  border-radius: 10px;
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color:darkslateblue;
  padding:5px;
}
a {text-decoration: none; }






/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
        .navbar {
            position: sticky;
            top: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            background-color: white;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            overflow: visible;
            z-index: 99;
        }

        .navbar .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: #333;
            text-decoration: none;
        }
        .navbar .logo img{
            width:30px;
            height:30px;
            padding:0;
            margin: 0;
        }

        .navbar .nav-links {
            display: flex;
            gap: 20px;
            position: relative;
        }

        .navbar .nav-links a {
            text-decoration: none;
            color: #333;
            font-size: 1rem;
            transition: color 0.3s;
        }

        .navbar .nav-links a:hover,
        .navbar .nav-links a#active {
            color: #007BFF;
            border-bottom: 3px solid #007BFF;
        }

        /* Dropdown menu */
        .navbar .dropdown {
            position: relative;
        }

        .navbar .dropdown .dropdown-toggle {
            cursor: pointer;
        }

        .navbar .dropdown .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            padding: 10px 0;
            min-width: 150px;
            z-index: 1000;
        }

        .navbar .dropdown .dropdown-menu a {
            display: block;
            padding: 10px 20px;
            text-decoration: none;
            color: #333;
            font-size: 1rem;
            transition: background-color 0.3s, color 0.3s;
        }

        .navbar .dropdown .dropdown-menu a:hover {
            background-color: #f8f9fa;
            color: #007BFF;
        }

        .navbar .dropdown:hover .dropdown-menu {
            display: block;
        }

        /* Hamburger menu */
        .navbar .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .navbar .hamburger div {
            width: 25px;
            height: 3px;
            background-color: #333;
            margin: 3px 0;
        }

        /* Responsive styling */
        @media (max-width: 768px) {
            .navbar .nav-links {
                display: none;
                flex-direction: column;
                background-color: white;
                position: absolute;
                top: 60px;
                left: 0;
                width: 100%;
                padding-left:15px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            }

            .navbar .nav-links.show {
                display: flex;
            }

            .navbar .dropdown .dropdown-menu {
                position: static;
                width: 100%;
                box-shadow: none;
                padding-left: 15px;
            }

            .navbar .dropdown .dropdown-menu a {
                padding: 5px;
                text-align: left;
                border-top: 1px solid #f0f0f0;
            }

            .navbar .hamburger {
                display: flex;
            }
        }




/*--------------------------------------------------------------
# Home Page
--------------------------------------------------------------*/
.home1_hero {
    background: no-repeat center center/cover;
    height: 70vh;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    clear:both;
    z-index: 1;
}
        .home1_hero h1 {
            font-size: 4rem;
            font-weight: bold;
            z-index: 1;
        color: white;
        }
        .card:hover {
            transform: scale(1.05);
            transition: transform 0.3s ease-in-out;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
#home_card{
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: white;
    border-radius: 8px;
}
#home_card:hover {
            transform: scale(1.05);
            transition: transform 0.3s ease-in-out;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

/* Responsive styling */
        @media (max-width: 768px) {
.home1_hero {
    height: 60vh;
}
.home1_hero h1 {
            font-size: 2rem;
        }
.home1_hero p {
            font-size: 1rem;
        }
} 






/*--------------------------------------------------------------
# Global Pages / Other Pages
--------------------------------------------------------------*/
.global_pages{
    margin-top: 10px;
    margin-bottom: 100px;
    clear: both;
    min-height: 500px;
}
#submit_btn{
    border-radius: 10px;
    margin-top: 20px;
}
#providers_logos{
    width: 300px;
    height: 100px;
    margin-right: 30px;
}
#providers_logos:hover{
    width: 280px;
    height: 100px;
    margin-right: 30px;
}




/*--------------------------------------------------------------
# Airtime to Mpesa Page
--------------------------------------------------------------*/
.Airtime_to_Mpesa .page_inner{
    border-radius: 20px;
    border:1px solid gray;
}
.Airtime_to_Mpesa .btn{
    margin-top: 60px;
    padding: 30px;
}






/*--------------------------------------------------------------
# Saf Airtime to Mpesa Page
--------------------------------------------------------------*/
.Saf_Airtime_to_Mpesa #page_inner{
    border-radius: 20px;
    box-shadow: 20px 20px 10px gray;
    padding: 10px 10px 60px 10px;
}
.Airtime_to_Mpesa .btn{
    margin-top: 30px;
    padding: 10px;
    border-radius: 10px;
}








/*--------------------------------------------------------------
# Other Pages With Sections
--------------------------------------------------------------*/
.pages_with_sections{
    margin-top: 10px;
    margin-bottom: 100px;
    clear: both;
    min-height: 500px;
}
.hero-section {
      background: linear-gradient(to right, lightgray, #003366);
      color: white;
      padding: 60px 20px;
      text-align: center;
    }
    .hero-section h1 {
      font-size: 3rem;
      font-weight: bold;
    }
    .hero-section p {
      font-size: 1.2rem;
      margin-top: 20px;
    }
    .services-section {
      padding: 40px 20px;
      background-color: #f8f9fa;
    }
    .services-section h2 {
      text-align: center;
      margin-bottom: 40px;
      color: #003366;
      font-weight: bold;
    }
    .card {
      border: none;
      border-radius: 10px;
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .card img{
      width: 300px;
      height: 200px;
    }
    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }
    .contact-section {
      padding: 40px 20px;
      text-align: center;
    }
    .contact-section h2 {
      color: #003366;
      font-weight: bold;
    }
  .packages-section h2{
    color: #003366;
      font-weight: bold;
      text-align: center;
      margin-bottom: 15px;
  }
  .why_choose_us h2{
    color: #003366;
      font-weight: bold;
      text-align: center;
      margin-bottom: 15px;
  }









/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  clear:both;
  font-size: 14px;
  padding-bottom: 5px;
  position: relative;
  margin-top: 5px;
  background-color: black;
}

.footer .footer-top {
  padding-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 16px;
  margin-right: 10px;
  transition: 0.3s;
  float: left;
  color: white;
  text-decoration: none;
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  border-bottom:1px solid gray;
  color: darkslateblue;
}

.footer .footer-links {
  margin-bottom: 30px;
}
.footer .footer-links a{
  color: white;
  text-decoration: none;
}
.footer .footer-links a:hover{
  color: darkslateblue;
  text-decoration: none;
}
.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul a {
  display: inline-block;
  line-height: 1;
}

.footer .footer-contact p {
  margin-bottom: 5px;
  color: white;
}

.footer .copyright {
  padding-top: 5px;
  padding-bottom: 10px;
  color:gray;
  border-top: 1px solid gray;
}
.footer .copyright p {
  margin-bottom: 0;
}