
:root {
    --primary-color: #0044cc;
    --secondary-color: #0066ff;
    --secondary: #a7c9fc;
    --background-color: #f4f4f9;
    --kagureene:#A1F7A7;
    --text-color: #333;
    --gradient-start: #0044cc; /* Blue */
    --gradient-end: #00cc44; /* Green */
}

:root {

--primary-color: #0044cc;
    --secondary-color: #0066ff;
    --light-blue: #a7c9fc;
    --background-color: #f4f4f9;
    --light-green: #A1F7A7;
    --text-color: #333;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background-color: var(--light-green);
    color: var(--text-color);
    overflow-y: hidden;
}.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 0;
    text-align: center;
}.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}.motto {
    font-style: italic;
}

/* Navigation Styles */.nav-toggle {
    display: none;
}.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}.nav-item {
    display: inline-block;
    margin: 0 10px;
}.nav-item a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}.nav-item a:hover {
    color: var(--light-blue);
}

/* Section Styles */

section {
    display: none; /* Initially hide all sections */
    height: 100vh; /* Make each section take up full viewport height */
    overflow-y: auto; /* Allow scrolling within the active section */
}

section.active {
    display: block; /* Show the active section */
}
section {
    padding: 20px;
    text-align: center;
}

/* Home Section Styles */
#home {
    background-color: var(--background-color);
}

#home.content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#home.column {
    width: 45%;
    margin-bottom: 20px;
}

/* Services Section Styles */
#services {
    background-color: var(--light-green);
}.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
}.service {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Requirements Section Styles */
#requirements {
    background-color: var(--background-color);
}.requirements-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}.requirement {
    width: 45%;
    margin-bottom: 20px;
}

/* Contact Section Styles */
#contact {
    background-color: var(--light-green);
}

/* Footer Styles */
footer {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Slideshow Styles */.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: 20px auto;
}.mySlides {
    display: none;
}.mySlides img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 10;
        cursor: pointer;
    }

  .nav-toggle-label {
        display: block;
        width: 30px;
        height: 30px;
        position: relative;
    }

  .hamburger {
        background-color: #fff;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 2px;
        transition: all 0.3s ease-in-out;
    }

  .hamburger::before,
  .hamburger::after {
        content: '';
        background-color: #fff;
        position: absolute;
        left: 0;
        width: 20px;
        height: 2px;
        transition: all 0.3s ease-in-out;
    }

  .hamburger::before {
        top: -8px;
    }

  .hamburger::after {
        top: 8px;
    }

  .nav-toggle:checked +.nav-toggle-label.hamburger {
        background-color: transparent;
    }

  .nav-toggle:checked +.nav-toggle-label.hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

  .nav-toggle:checked +.nav-toggle-label.hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

  .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(0, 70, 200, 0.9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 9;
    }

  .nav-list.active {
        transform: translateY(0);
    }

  .nav-item {
        display: block;
        margin: 10px 0;
    }

    #home.content {
        flex-direction: column;
        align-items: center;
    }

    #home.column {
        width: 100%;
    }

  .requirements-grid,
  .services-grid {
        grid-template-columns: 1fr;
    }
}

body {
    height: 100vh;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--kagureene);
    /*background-color: var(--background-color);*/
    color: var(--text-color);
}
.cont{
    margin: 0;
    min-height: 100svh;
    display: grid;
    place-items: center;
    background-color: var(--background-color);
}
.login-frm{
    background-image: linear-gradient(45deg,var(--secondary),var(--primary-color));
    padding: 3rem;
    border-radius: 1rem;
}
.sindi input{
    padding: .25rem;
}
.sindi table>td{
    padding: .25rem;
}
header {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    /*background-color: var(--primary-color);*/
    color: white;
    padding: 20px;
    text-align: center;
    height: 50px;
}
header img{
    width:50px;
    height:50px;
}

header .motto {
    font-style: italic;
}
.omukozesa img{
    border-radius: 50%;
    
    margin-top: 20px;
    margin-left: 60%;
}
.omukozesa button{
    float: right;
    margin-right:5px;
    margin-top: 50px;
}
.logogo img{
    margin-left: 10%;
    margin-top: 40px;
}
.kabuza{
    display: none;
}

nav {
    background-color: var(--secondary-color);
    padding: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

section {
    display: block;
    padding: 20px;
    height: 100%;
    grid-column: 1fr 1fr;
}

.right{
    width: 100%;
    height: 100%;
    
}

.SectionCard{
    overflow-y: scroll;
    width: 100%;
    height: 90%;
}

.card{
    float: left;
    margin-top: 20px;
    margin-left: 40px;
    height:40%;
    width: 20%;
    border: solid ;
    box-shadow: rgb(0, 0, 0)919 2px 2px;
    border-radius: 10%;
}

.card IMG{
    width: 60%;
    height:60%;
    
}

#home{
    /*display: block;*/
    position:relative;
    z-index: 1;
}
#home img{
    position:Absolute;
    top:0;
    right:0;
    z-index: 0;
    opacity: 0.7;
    /*opacity: 0.5;  Adjust the opacity value to make the image transparent */
    filter: brightness(80%);
    height: 100%;
}

#home h2, #home p, #home h3, #home ul {
    position: relative;
    z-index: 2; /* Ensure text appears on top of the image */
}

.slideshow-container {
    max-width: 1000px;
    height: 50%;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.mySlides img{
    height: 350px;
    width:50%;
    border-radius: 20px; /* Softens the corners */
    box-shadow: 0 0 15px 15px rgba(0, 0, 0, 0.5); /* Feathered edge effect */

}

.mySlides.eriko {
    opacity: 1;
}

.service {
    background-color: white;
    margin: 10px 0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.yawula{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
}

.twawule{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 5px;
}
.twawule img{
    width:50px;
    height:50px;
}

footer {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    /*background-color: var(--primary-color);*/
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.active{
    display: block;
}

.text {
    color: #f2f2f2;
    font-size: 24px;
    padding: 16px 32px;
    position: absolute;
    right: 0;
    bottom: 8px;
    width: 60%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px; /* Softens the corners */
    z-index: 1;
    /*box-shadow: 0 0 15px 15px rgba(0, 0, 0, 0.5);  Feathered edge effect */

}
.top{
    border-radius: 10% 10% 0 0;
    border-bottom: 1px solid;
    display: flex;
    align-items: center;
    
}
.top img{
    padding: 10px;
    height: 40px;
    width: 40px;
}

.ribborn{
    color: white;
    width: 100%;
    height: 10%;
    display: flex;
    align-items:  center;
    background-color: blue;
}

.logout:hover{
    height: 45px;
    width: 45px;
}

.image-link {
    
    display: inline-block;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

.image-link img{
    height: 10px;
    width: 10px;
}

.image-link:hover {
    border: 2px solid #4CAF50; /* Add a border on hover */
}

.menu{
    margin-top: 28%;
    margin-left: 74%;
    width: 20%;
    height: 60%;
    position: absolute;
    background-color: #0044cc;
    display: none;
}

.logout{
    margin-left: 60%;
    cursor: pointer;
}
.ribborn img{
    padding: 10px;
    height: 40px;
    width: 40px;
}

.bottom {
    padding: 10px;
}

.bottom a{
    display: flex;
    text-decoration: none;
    list-style: none;
    align-items: center;
}

.bottom img{
    height: 20px;
    width: 20px;
}
.obufomu{
    width: 100%;
    margin: 0;
}

.contain{
    height: 100%;
}
.clientfrm{
    width:97%;
    height: 100vh;
    padding: 20px;
    overflow: scroll;
    
}
.contYakafananyi{
    position: relative;
    display:inline-block;
}
#KafananyiKe{
    height: 200px;
    width:300px;
    object-fit: cover;
    border: 1px solid black;
}
.icon-cont{
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    cursor: pointer;
}
.camera-icon{
    color:white;
    font-size: 24px;
}

.clientfrm span{
    color: red;
}

/*.clientfrm select{
    width:60%;
}*/
.obufomu select{
    width: 60%;
}
.ebyaclient{
    width:100%;

}
.ebyaclient select{
    width:90%;
    border: 1px solid blue;
    height: 40px;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
}
.ebyaclient span{
    color:red;
}
.ebyaclient tr{
    padding-bottom: 20px;
    margin-bottom: 10px;
}
.ebyaclient td{
    width:50%;
    padding: 10px;
    margin: 5px;
}
/*.PersonalContact td{
    width:50%;
}*/
/*#personal{
    width: 100%;
}
#personal td{
    width:50%;
}*/
.btn{
    height: 50px;
    width: 200px;
    background-color: #4983f8;
    margin-bottom: 30px;
    color: #ddd;
    border-radius: 10px;
}
.sca{
    display: none;
    margin-left: 500px;
}
.Olulundulilunduli{
    width: 100%;
    height: 30px;
    background-color: #4983f8;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 20px;
    color: var(--background-color);
}
.empanvu{
    width: 95%;

}

.empanvu input[type=text] {
    width: 100%;
    border: 1px solid blue;
    height: 40px;
    border-radius: 10px;
    padding-left: 10px;
}
.empanvu select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width:90%;
    border: 1px solid blue;
    height: 40px;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.empanvu input[type="date"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width:90%;
    border: 1px solid blue;
    height: 40px;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
}


.dialog {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.dialog-content {
    position: relative;
    margin: 10% auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.barcode-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
    border: 2px solid black;
    margin-top: 20px;
    background-color: #f0f0f0;
}

.barcode-frame img {
    max-width: 100%;
    max-height: 100%;
}
/* Fade Animation */
.fade {
    animation-name: fade;
    animation-duration: 2s;
}

@keyframes fade {
    from {opacity: 0} 
    to {opacity: 1}
}

@media only screen and (max-width:768px){
    .yawula{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 5px;
    }

    .logout{
        margin-left: 20px ;
    }

    .SectionCard{
      display: grid;
      grid-template-columns: 1fr;
      
    }


    .card{
        width:70%;
        height: 200px;
    }

    header h1{
        position: absolute;
        top:0px;
    }
    .motto{
        position: absolute;
        top:40px;
        font-size: small;
    }
    header .kabuza {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
    }
    #che{
        display: none;
    }
    
    /*.kabuza {
        position: relative;
    }*/

    .hamburger-menu {
        display: block;
        cursor: pointer;
        width: 24px;
        height: 24px;
        transition: transform 0.3s ease-in-out;
    }

    .line {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333;
        margin-bottom: 5px;
        transition: transform 0.3s ease-in-out;
    }

    input[type="checkbox"]:checked ~ .hamburger-menu .line:nth-child(1) {
        transform: rotate(45deg);
    }

    input[type="checkbox"]:checked ~ .hamburger-menu .line:nth-child(2) {
        opacity: 0;
    }

    input[type="checkbox"]:checked ~ .hamburger-menu .line:nth-child(3) {
        transform: rotate(-45deg);
    }

    
    nav{
        position: absolute;
        top: 100px;
        left: 0;
        width: 50%;
        background-color: #4983f8;
        padding: 10px;
        z-index: 999;
        height: 100%;
        text-align: center;
        text-decoration: none;
        font-weight: bold;
        font-size: 1rem;
        display: none;
    }


    input[type="checkbox"]:not(:checked)  nav {
        display: none;
        
    }

    input[type="checkbox"]:checked  nav {
        display: block;
    }

    nav ul li {
        display:inline-block;
    }

    nav ul {
        list-style: none;
        padding: 0;
    }

    nav li {
        margin-bottom: 10px;
    }

    nav a {
        text-decoration: none;
        color: #333;
        float: left;
            display: block;
            /*color: #f2f2f2;*/
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
    }

    nav a:hover{
        background: #ddd;
            color: black;
    }

    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        /* Add your desired footer styles here */
    }

    .text {
        right: 10px;
        bottom: 10px;
        z-index: 998;
    }


    
}
