@charset "utf-8";
/* ================= Reset ================= */
* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}
body {
     font-family: "Segoe UI", Arial, sans-serif;
     background: white;
     color: #333;
     /* ================= Pages slowly opened ================= */
     opacity: 0;
     animation: pageOpen 0.5s ease forwards;
}
@keyframes pageOpen {
     from {
          opacity: 0;
     }
     to {
          opacity: 1
     }
}
a {
     text-decoration: none;
}
img {
     max-width: 100%;
     display: block;
}
/* ================= Website setting ================= */
.site-wrapper {
     width: 100%;
     min-height: 100%;
}
/* ================= Header ================= */
.global_header {
     background: white;
     box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
}
/* ================= Top Bar ================= */
.top_bar {
     background: #003b70;
     color: white;
     padding: 10px 10%;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
}
.search_box {
     display: flex;
     gap: 5px;
}
.search_box input {
     width: 250px;
     padding: 10px;
     border: none;
     border-radius: 5px;
}
.search_box button {
     background: #003b70;
     border: none;
     padding: 10px 15px;
     cursor: pointer;
}
.top_links a {
     color: white;
     margin: 5px;
}
.top_links a:hover {
     color: #fcb900;
     cursor: pointer;
     font-weight: normal;
}
/* ================= Masthead ================= */
.masthead {
     width: 100%;
     max-width: 1200px;
     margin: auto;
     padding: 8px 20px;
     display: flex;
     justify-content: space-between;
}
.masthead img {
     width: 75px;
     height: 75px;
     object-fit: contain;
}
.masthead-text {
     display: flex;
     flex-direction: column;
     justify-content: center;
     text-align: center;
}
.masthead-text h1 {
     margin: 0;
     font-size: 20px;
     color: #0066cc;
     ;
     align-items: center;
}
.masthead-text p {
     margin: 2px 0 0;
     font-size: 15px;
     line-height: 1.2;
     color: #003b70;
     font-weight: bold;
}
/* ================= Navigation ================= */
nav {
     background: #0066cc;
}
nav ul {
     list-style: none;
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
}
nav ul li {
     position: relative;
}
nav ul li a {
     display: block;
     color: white;
     padding-top: 15px;
     padding-bottom: 15px;
     padding-left: 25px;
     padding-right: 25px;
}
nav ul li:hover {
     background: #003b70;
}
/* Dropdown */
nav ul ul {
     display: none;
     position: absolute;
     top: 100%;
     left: 0;
     background: white;
     min-width: 220px;
     z-index: 999;
     box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}
nav ul li:hover > ul {
     display: block;
}
nav ul ul li {
     width: 100%;
}
nav ul ul li a {
     color: #003b70;
     padding: 12px;
}
nav ul ul li a:hover {
     background: #0066cc;
     color: white;
}
/* ================= Content ================= */
.breadcrumbs {
     width: 100%;
     margin-top: 5px;
}
.home_layout {
     width: 100%;
     max-width: 1200px;
     margin: auto;
     display: flex;
     flex-wrap: wrap;
     gap: 5px;
}
/* ================= Managing Director ================= */
.ads1 {
    width: 230px;
}

.ads_box1 {
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
/* Image */
.ads_box1 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 2px;
    transition: 0.3s;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Image ikiguswa na mouse */
.ads_box1:hover img {
    transform: scale(1.03);
}

/* Caption */
.ads1 .caption {
    margin-top: 5px;
    color: white;
    font-size: 13px;
    text-align: center;
}

/* Heading */
.ads1 h2 {
    margin: 3px 0 0;
    color: #003b70;
    font-size: 15px;
    text-align: center;
}
/* ================= Hero Slider ================= */
.hero {
     flex: 1;
}
.hero_content {
     width: 100%;
}
.caption {
     background: rgba(0, 0, 0, 0.5);
     color: white;
     padding: 5px;
     text-align: center;
     font-size: 12px;
     font-weight: bold;
}
.full_caption {
    padding: 5px;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    overflow-wrap: break-word;
    word-break: break-word;
}

.full_caption.show {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
/* ================= Service Cards ================= */
.service_container_number {
     width: 100%;
     display: flex;
     flex-direction: row;
     gap: 0px;
     margin-top: 5px;
}
.card_number {
     flex: 1;
     background: white;
     padding: 10px;
     border-radius: 0px;
     transition: .3s ease;
     overflow: hidden;
     display: flex;
     flex-direction: column;
}
.card_number .read_more {
     margin-top: auto;
}
.card_number h3 {
     color: white;
     margin-bottom: 5px;
     text-align: center;
     background: #0066cc;
     padding: 10px;
     border-radius: 1px;
     font-weight: normal;
}
.card_number img {
     width: 100%;
     height: 200px;
     object-fit: contain;
     border-radius: 0px;
}
.card_number p {
     line-height: 1.6;
     text-align: justify;
     margin: 0 0 5px 0;
     max-height: 73px;
     overflow: hidden;
     display: -webkit-box;
     -webkit-box-orient: vertical;
     -webkit-line-clamp: 3;
}
.read_more {
     background: #003b70;
     color: white;
     width: 100%;
     padding: 10px 15px;
     border-radius: 5px;
     display: inline-block;
     transition: background 0.3s ease, color 0.3s ease;
     text-align: center;
     box-sizing: border-box;
     text-decoration: none;
     cursor: pointer;
}
.read_more:hover {
     background: #0066cc;
     color: #000;
     transform: none;
}
/* ================= Inside Page CSS ================= */
.inside_page_container {
     width: 100%;
     max-width: 1200px;
     margin: auto;
     display: flex;
     gap: 0px;
     align-items: flex-start;
}
/* youtu link video*/
.special_inside_page_layout {
     flex: 3;
     background: white;
     width: 100%;
     min-height: 900px;
     padding: 5px;
}
.videos_container {
     display: flex;
     flex-wrap: wrap;
     justify-content: flex-start;
     gap: 15px;
}
.videos_container iframe {
     width: 100%;
     height: 150px;
}
/* Kushoto */
.inside_page_layout1 {
     flex: 3;
     background: white;
     width: 100%;
     text-align: justify;
     padding: 5px;
     min-height: auto;
     min-height: 900px;
}
.inside_page_layout1 p {
     max-height: none;
     overflow: visible;
     text-align: justify;
     font-size: 16px;
     font-weight: normal;
}
.inside_page_layout1 a:hover {
     color: black;
}
.inside_page_layout1 h1, h2 {
     font-size: 15px;
     text-align: justify;
     line-height: 1.6;
}
/* Kulia */
.inside_page_layout2 {
     flex: 1;
     display: flex;
     flex-direction: column;
     gap: 10px;
     width: 100%;
     height: 600px;
}
.inside_page_layout2 > div {
     background: white;
     width: 300px;
}
.inside_page_layout2 img {
     width: 300px;
     height: 100px;
     object-fit: cover;
}
/*==================Inside_Page_Layout3===================*/
.inside_page_layout3 {
     margin: auto;
     display: flex;
     gap: 10px;
     align-items: flex-start;
}
.card_number3 {
     flex: 1;
     background: white;
     padding: 10px;
     border-radius: 5px;
     transition: .3s;
}
.card_number3 h3 {
     color: white;
     margin-bottom: 5px;
     text-align: center;
     background: #0066cc;
     padding: 10px;
     border-radius: 1px;
     font-weight: normal;
}
.card_number3 img {
     width: 100%;
     height: 200px;
     object-fit: cover;
     border-radius: 10px;
}
.card_number3 p {
     line-height: 1.6;
     text-align: justify;
     margin: 0 0 5px 0;
     max-height: 73px;
     overflow: hidden;
     display: -webkit-box;
     -webkit-box-orient: vertical;
     -webkit-line-clamp: 3;
}
/* ================= Form ================= */
.dashboard-card {
     background: white;
     padding: 30px;
     border-radius: 0px;
     width: 550px;
     margin-top: 10px;
}
.dashboard-card:hover {
     /*transform: translateY(-8px);
     box-shadow:0 20px 40px rgba(0, 0, 0, .20);*/
}
/* ================= Form Vertical ================= */
.vertical {
     display: flex;
     flex-direction: column;
}
.vertical label {
     font-weight: bold;
     margin-bottom: 5px;
     color: #003f78;
}
.vertical input, .vertical select {
     padding: 12px;
     margin-bottom: 15px;
     border: 2px solid #ddd;
     border-radius: 10px;
     outline: none;
     width: 350px;
}
.vertical textarea {
     height: 160px;
     resize: vertical;
     width: 500px;
     padding: 12px;
     margin-bottom: 15px;
     border: 2px solid #ddd;
     border-radius: 10px;
     outline: none;
}
.vertical input:focus, .vertical select:focus, .vertical textarea:focus {
     border-color: #0066cc;
}
button {
     background: linear-gradient(135deg, #003f78, #0066cc);
     color: white;
     border: none;
     padding: 13px 30px;
     border-radius: 5px;
     cursor: pointer;
     font-size: 15px;
     font-weight: bold;
     transition: .3s;
}
button:hover {
     background: #fcb900;
     color: #000;
}
/* ================= Management Board ================= */
.menejimenti_board {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    max-width: 1200px;
    margin: 5px auto;
    padding: 20px;
    box-sizing: border-box;
}
/* ================= Board Box ================= */

.mgnt_board_box,
.menejimenti_board_box {
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    padding: 15px;
}

/* ================= Large Board Box ================= */

.mgnt_board_box {
    width: 270px;
    height: 320px;
    margin: 0 auto;
}

/* ================= Management Board Box ================= */

.menejimenti_board_box {
    width: 270px;
    height: 330px;
    margin: 0 auto;
}

/* ================= Board Image ================= */

.mgnt_board_box img,
.menejimenti_board_box img {
    width: 100%;
    height: 220px;
    box-sizing: border-box;
    display: block;
    margin: 0 auto 10px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid #003b70;
    padding: 5px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.35);
    transition: 0.3s ease;
}

/* ================= Image Hover Effect ================= */

.mgnt_board_box img:hover,
.menejimenti_board_box img:hover {
    transform: scale(1.06);
    border-color: #fcb900;
}

/* ================= Board Title ================= */

.mgnt_board_box h2,
.menejimenti_board_box h2 {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: #003b70;
    margin: 10px 0 2px;
    white-space: normal;
    overflow-wrap: break-word;
}

/* ================= Board Description ================= */

.mgnt_board_box p {
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    color: #555;
    margin: 5px 0;
}
/* ======== Footer ============== */

footer {
    background: #003b70;
    color: white;
    margin-top: 5px;
    border-top: 10px solid #00284d;
}
.footer_content {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    padding: 20px;
    display: flex;
    gap: 20px;
}
.address {
    flex: 1;
}
.address h3 {
    color: #fcb900;
}

.address a {
    color: white;
    display: block;
    margin-top: 10px;
    cursor: pointer;
}

.address a:hover {
    color: #0066cc;
    cursor: pointer;
    font-weight: normal;
}
.footer_last {
     background: #00284d;
     text-align: center;
     padding: 20px;
}
.footer_last a {
     color: #0066cc;
     text-decoration: none;
     font-weight: normal;
}
.footer_last a:hover {
     color: #fcb900;
     cursor: pointer;
}
/*After_Service_Container_Number*/
.piper {
     width: 100%;
     max-width: 1200px;
     margin-top: 10px;
}
.social-links {
     display: flex;
     justify-content: center;
     align-items: flex-start;
     gap: 20px;
}
.side-column {
     display: flex;
     flex-direction: column;
     gap: 20px;
}
.center-column {
     display: flex;
     flex-direction: row; /* Box 3 zikae horizontal */
     gap: 10px;
}
.big {
     width: 240px;
     height: 120px;
}
.small {
     width: 200px;
     height: 40px;
}
.box {
     background: #0066cc;
     border-radius: 5px;
}
.box a {
     display: flex;
     justify-content: flex-start;
     align-items: flex-start;
     width: 100%;
     height: 100%;
     color: #fff;
     text-decoration: none;
}
.big h3 {
     color: #0066cc;
     margin-bottom: 7px;
     text-align: center;
     background: white;
     padding: 10px;
     border-radius: 3px;
     font-weight: normal;
}
.center-column a {
     color: white;
}
.center-column a:hover {
     background: #003b70;
}
.side-column a:hover {
     color: #003b70;
     cursor: pointer;
     font-weight: bold;
}
/* ================= Tablet ================= */
@media(max-width:900px) {
     .home_layout {
          flex-direction: row;
     }

     .ads1 {
          width: 220px;
     }

     .ads_box1 {
          width: 100%;
          height: 260px;
     }

     .ads_box1 img {
          width: 100%;
          height: 260px;
          object-fit: contain;
     }

     .slider, .slider img {
          height: 300px;
     }

     .service_container_number2 {
          flex-direction: row;
     }

/*piper*/
 .piper {
        width: 100%;
        padding: 0 10px;
    }

    .social-links {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
    }

    .side-column {
        width: 180px;
        gap: 10px;
    }

    .center-column {
        flex: 1;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .big {
        width: 200px;
        height: auto;
        min-height: 120px;
    }

    .small {
        width: 100%;
        height: auto;
        min-height: 40px;
    }
}

/* ================= Mobile ================= */
@media(max-width:600px) {
     .top_bar {
          flex-direction: column;
          gap: 15px;
     }

     .masthead {
          flex-direction: column;
     }

     .home_layout {
          flex-direction: column;
     }

     /* Managing Director */
     .ads1 {
          width: 100%;
     }

     .ads_box1 {
          width: 100%;
          height: 300px;
     }

     .ads_box1 img {
          width: 100%;
          height: 300px;
          object-fit: contain;
     }

     .slider, .slider img {
          height: 220px;
     }

     .service_container_number2 {
          flex-direction: column;
     }

     .footer_content {
          flex-direction: column;
     }

     nav ul {
          flex-direction: column;
     }
/*piper*/
.piper {
        width: 100%;
        padding: 0 10px;
    }

    .social-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .side-column {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .center-column {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .big,
    .small {
        width: 100%;
        height: auto;
        min-height: 45px;
    }

    .big {
        min-height: 120px;
    }

    .box a {
        padding: 10px;
        align-items: center;
    }

    .big h3 {
        margin-bottom: 0;
    }
}
