body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #D3D3D3;;
}
.company-name {
    font-size: calc(0.8vw + 0.8vh + 0.8vmin) !important;
    font-weight: bold !important;
}
.LogoIndex {
    background: whitesmoke !important;
    width: calc(1.5vw + 1.5vh + 1.5vmin) !important;
    height: calc(1.5vw + 1.5vh + 1.5vmin) !important;
    border-radius: 50%;
    border: calc(0.08vw + 0.08vh + 0.08vmin) solid transparent;
}

.menu-container {
    display: flex;
    align-items: center;
    gap: 1px; /* Reduced from 10px */
}

.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

#container {
    background: #2a9d7c !important;
    width: 100% !important;
    color: white !important;
    padding: 6px;
    max-height: none;
    overflow: visible !important;
}
#container::after {
    content: "";
    display: table;
    clear: both;
}
.ui-tabmenu {
    overflow: hidden !important;
}
.custom-horizontal-menu {
    display: flex;
    gap: 10px;
    padding: 3px;
    padding-left: 20px;
    margin-left: -3% !important;
    color: #ffffff !important;
    background: #2a9d7c;
}
.menu-button-icon {
    display: none;
    color: whitesmoke;
}

.linkMenu {
    color: #ffffff !important;
    font-size: 19px !important; /* Increased font size for menu-container */
    list-style: none;
    text-decoration: none !important;
    display: inline-block;
    padding: 6px 5px;
    background-color: transparent;
}
.linkMenu:hover {
    background-color: #1b3a2d;
    color: #ffffff;
    text-decoration: none;
    padding: 5px 5px;
    border-radius: 10px;
}

.dropdown {
    position: relative;
    display: inline-block;
    z-index: 1001;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
    z-index: 1002;
    border-radius: 3px;
    white-space: nowrap;
}
.dropdown-content a {
    color: #000000;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: #1b3a2d;
    color: #ffffff;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.ui-splitter-panel {
    overflow: visible !important;
}
.ui-splitter-panel:first-child {
    z-index: 1000 !important;
}
.ui-splitter-panel:last-child {
    z-index: 1 !important;
}
.ui-splitter {
    height: 100vh;
}
.ui-splitter-panel.panelMenuClass {
    overflow: visible !important;
    height: auto !important;
    max-height: none;
    background: #ffffff;
}
.ui-splitter-panel.bodyClass {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0;
    margin: 0;
    z-index: 1;
}
.ui-menu {
    z-index: 1003 !important;
}
.menu-button-icon {
    display: none;
    color: whitesmoke;
}
@media screen and (max-width: 768px) {
    .custom-horizontal-menu {
        display: none;
    }
    .menu-button-icon {
        display: block;
        cursor: pointer;
        color: whitesmoke;
    }

    .custom-horizontal-menu {
        display: none;
    }
    .menu-button-icon {
        display: block;
        cursor: pointer;
        color: whitesmoke;
    }
    #menuItems {
        display: none;
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1003 !important;
        box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
    }
    #menuItems.ui-menu-active {
        display: block;
    }
    #menuItems p\\:link {
        display: block;
        padding: 6px;
    }

    #menu {
        display: none;
    }
    .mobile-menu-icon {
        display: block;
    }
}

.linkMenuContact {
    display: inline-block;
    color: #2a9d7c !important; /* Green text to contrast with white background */
    background-color: #ffffff !important; /* White background */
    border: 2px solid #2a9d7c !important; /* Green border */
    padding: 6px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px !important; /* Increased font size for menu-container */
    font-weight: 400;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}
.linkMenuContact:hover {
    background-color: #2a9d7c !important; /* Green background on hover */
    color: #ffffff !important; /* White text on hover */
    border-color: #ffffff !important; /* White border on hover */
}
.headerTitle{
    width: 100% !important;
    font-size: 14px;
}
.headerTitle .ui-icon{

}

.gallery-image-container {
    position: relative;
    width: 100%;
    height: 25rem;
    object-fit: fill;
    margin: 0;
    padding: 0;
}
.gallery-image {
    width: 100%;
    height: 25rem;
    object-position: center;
    display: block;
}
.gallery-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.25);
    padding: 15px 25px;
    border-radius: 8px;
    max-width: 50%;
    width: 100%;
    box-sizing: border-box;
    opacity: 1; /* Always visible when parent panel is active */
    transition: none; /* Remove transition for instant appearance */
}
.gallery-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}
.gallery-description {
    font-size: 1.2rem;
    line-height: 1.5;
    display: block;
}
.custom-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.custom-nav-button:hover {
    background-color: darkred;
}
.nav-prev {
    left: 10px;
}
.nav-next {
    right: 10px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.contact-info {
    flex: 1;
    min-width: 280px;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-title {
    font-size: 1.8rem;
    color: #2a9d7c;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin: 0 0 0.3rem 0;
    color: #333;
}

.contact-item p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.contact-form {
    flex: 1;
    min-width: 280px;
}

.contact-panel {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-grid {
    width: 100%;
}

.form-grid .label-column {
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #333;
}

.form-grid .input-column {
    padding: 0.5rem 1rem;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-grid input:focus,
.form-grid textarea:focus {
    border-color: #2a9d7c;
    box-shadow: 0 0 5px rgba(42, 157, 124, 0.3);
    outline: none;
}

.form-grid .ui-message-error {
    font-size: 0.85rem;
    margin-top: 0.3rem;
}


.map-container {
    margin: 2rem auto;
    max-width: 100%;
    padding: 0 1rem;
}

.map-title {
    text-align: center;
    font-size: 1.8rem;
    color: #2a9d7c;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info,
    .contact-form {
        min-width: 100%;
    }

    .form-buttons {
        justify-content: center;
    }

    .map-container iframe {
        height: 300px;
    }
}




.page-container {
    width: 70%; /* 100% - 15% left - 15% right */
    margin: 20px auto;
    padding: 20px;
    text-align: left;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Shadow for page-container */
}
.logo-section {
    margin-bottom: 10px;
}
.logo-section img {
    max-width: 10rem;
    height: auto;
    border-radius: 10px;
}
.name-section {
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: bold;
    color: #2a9d7c; /* Red for emphasis */
    margin-bottom: 10px;
}
.description-section {
    text-align: left;
    max-width: 90%;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.6;
    background-color: white;
}
@media (max-width: 768px) {
    .page-container {
        width: 95%; /* Adjust for smaller screens */
    }
    .logo-section img {
        max-width: 4rem;
    }
    .name-section {
        margin-bottom: 10px;
        font-size: 0.75em;
    }
    .description-section {
        font-size: 0.75em;
        padding: 20px;
    }
}


.content-text {
    display: block;
    word-wrap: break-word;
}

.more-link, .less-link {
    color: #0066cc;
    cursor: pointer;
    margin-left: 5px;
}

.more-link:hover, .less-link:hover {
    text-decoration: underline;
}


.page-container {
    width: 70%;
    margin: 0 auto; /* Centers content, leaving 15% margins on both sides */
    text-align: center; /* Centers inline or inline-block content */
    display: flex;
    flex-direction: column; /* Stacks elements vertically */
    align-items: center; /* Centers content horizontally */
}

.logo-section {
    display: block;
    margin: 20px auto; /* Centers the image with spacing */
    border: 2px; /* Example border style, adjust as needed */
    max-width: 100%; /* Ensures responsiveness */
    height: auto; /* Maintains aspect ratio */
}

.section-Amharic {
    order: 1; /* Places Amharic text at the top */
    margin: 10px 0; /* Spacing */
    font-size: 2em; /* Slightly larger for prominence */
    font-weight: bold; /* Optional: emphasize Amharic text */
}

.section-English {
    order: 3; /* Places English text below the image */
    margin: 10px 0; /* Spacing */
    font-size: 1.5em;
}

.message-text {
    order: 4; /* Places message below English text */
    margin: 10px 0;
    text-align: left;
}
.tricolor-row {
    width: 100%;
    height: 15px;
    display: flex;
}

.segment {
    flex: 1 1 0;    /* equal width segments */
    height: 100%;
}

.segment.green  { background-color: #2ecc71; } /* green */
.segment.yellow { background-color: #f1c40f; } /* yellow */
.segment.red    { background-color: #e74c3c; } /* red */

.site-footer {
    background: #1b3a2d;
    color: #ffffff;
    padding: 20px 0 10px 0;
    font-family: Arial, sans-serif;
}
.footer-container {
    display: flex;
    justify-content: space-around;
    max-width: 95%;
    margin: auto;
    flex-wrap: wrap;
}
.footer-column {
    flex: 1;
    margin: 10px;
    min-width: 160px;
    text-align: left;
}
.footer-column h3 {
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 4px;
    margin-bottom: 8px;
    font-size: 14px;
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column ul li {
    margin: 4px 0;
}
.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-column ul li a:hover {
    color: #4CAF50;
}
.footer-column p {
    margin: 4px 0;
}
.footer-bottom {
    text-align: center;
    margin-top: 10px;
    border-top: 1px solid #4CAF50;
    padding-top: 6px;
    font-size: 13px;
    color: #ffffff;
}
.FSRP-Logo {
    border-radius: 5%;
    width: 15rem;
    height: 8rem;
    border: 3px solid yellow;
}

.footer-column p {
    font-size: 0.9rem;
    color: #ffffff;
    margin: 5px 0;
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;

}

.social-icons a {
    text-decoration: none;
    margin-right: 15px;
}

.social-icons i {
    font-size: 1.35rem;
}

.social-icons a[href*="facebook"] i { color: #ffffff; }
.social-icons a[href*="instagram"] i { color: #ffffff; }
.social-icons a[href*="twitter"] i { color: #ffffff; }
.social-icons a[href*="linkedin"] i { color: #ffffff; }
.social-icons a[href*="youtube"] i { color: #ffffff; }
.social-icons a[href*="telegram"] i { color: #ffffff; }

.LogoEnku{
    width: calc(4vw + 5vh + 3vmin) !important;
    height: calc(4vw + 5vh + 3vmin) !important;
    border: calc(0.25vw + 0.25vh + 0.25vmin) solid #ffffff !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
}

.news-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    border: 1px solid #0056b3;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.news-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.news-button:active {
    background-color: #003d80;
    transform: scale(0.95);
}

.button-container {
    display: flex;
    justify-content: center;
}

.dropdown-content a.ui-commandlink {
    color: #000000;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
}
.dropdown-content a.ui-commandlink:hover {
    background-color: #1b3a2d;
    color: #ffffff;
}

.ui-panelgrid td, .ui-panelgrid tr
{
    padding: 5px !important;
    border-style: none !important;
}