:root {
    --SuccessBtn: rgb(92, 184, 92);
    --SuccessBtnHover: rgb(76, 174, 76);
    --CancelBtn: rgb(217, 83, 79);
    --CancelBtnHover: rgb(201, 48, 44);
    --HomeHeaderColor: rgb(33,53,90,0.8);
    --NavBtnColor: #2D3969;
    --HomeFooterColor: #2D3969;
    --PageTextColor: white;
    --HomePageFooterHoverColor: #0097ff;
    --HomePageHeaderHoverColor: #0097ff;
    --HomePageServicesContainerBackGroundColor: #20365F;
    --NewsPageNewsBodyContainerBackgroundColor: #20365fbf;
    --HomePageMenuBurgerBackground: white;
    --BackgroundBodyContainerTextShadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    --PopupBackgroundColorTransparent: rgba(0, 0, 0, 0.2);
    --PopupTransition: background 0.2s;
    --PopupBackgroundColor: #263550;
    --PopupAnimationFadeIn: fadeIn 0.3s ease-in-out;
    --PopupAnimationFadeInOpacity: opacity 0.3s ease-in-out;
    --NewsPageNewsItemBackgroundColor:#21355A;
    --NewsPageReadMoreBtnColor: #8aafff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}
body > div {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
h2 {
    margin-top: 8px;
    margin-bottom: 2px;
}
button {
    border: none;
    cursor: pointer;
    margin: 5px;
}
.usernameStyleClass {
    height: 20px;
    margin-right: 4px;
    margin-top: 4px;
}
.userIconBtnClass {
    margin-right: 0px;
    padding: 0px 0px;
    display: block;
}
.usernameLogoutIcon {
    display: flex;
    align-items: center;
}
.homeHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: var(--HomeHeaderColor);
    color: var(--PageTextColor);
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo-container:hover {
    cursor: pointer;
}
.logo-container img {
    height: 50px;
    margin-right: 10px;
}
.nav {
    display: flex;
    gap: 15px;
}
.nav a {
    text-decoration: none;
    color: var(--PageTextColor);
    background: var(--NavBtnColor);
    padding: 10px 15px;
    border-radius: 50px;
    transition: background 0.3s;
}
.nav a:hover {
    background: var(--HomePageHeaderHoverColor);
}
.menu-toggle {
    display: none;
    cursor: pointer;
}
.menu-toggle div {
    width: 30px;
    height: 3px;
    background: var(--HomePageMenuBurgerBackground);
    margin: 5px;
}
.background-container {
    position: relative;
    width: 100%;
    height: 33rem;
    background: url('../assets/image.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--PageTextColor);
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-shadow: var(--BackgroundBodyContainerTextShadow);
}
.itvisitonMarginBottom {
    margin-bottom: 2rem;
}
.fontSizeClass {
    font-size: 70px;
}
.centerClass {
    text-align: center;
}
.textStyle {
    font-family: Arial, sans-serif;
    color: var(--PageTextColor);
    text-shadow: var(--BackgroundBodyContainerTextShadow);
}
.service-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}
.service-item {
    text-align: center;
    flex: 1 1 150px;
    margin-bottom: 2rem;
}
.ServicesContainer {
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: var(--HomePageServicesContainerBackGroundColor);
}
.NewsBodyContainer {
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: var(--NewsPageNewsBodyContainerBackgroundColor);
}
.AddBtnVisibleClass {
    display: flex !important;
}
.footer {
    background-color: var(--HomeFooterColor);
    color: var(--PageTextColor);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    position: relative;
    bottom: 0;
}
.footer-nav {
    display: flex;
    gap: 40px;
}
.footer-nav a {
    color: var(--PageTextColor);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-nav a:hover {
    color: var(--HomePageFooterHoverColor);
}
.headerSearch {
    align-items: center;
    justify-content: center;
    display: flex
}
.icon-button {
    background: none;
    border: none;
    color: var(--PageTextColor);
    cursor: pointer;
    font-size: 23px;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .news-title {
        font-size: 25px;
    }
    .footer {
        flex-direction: column;
        text-align: center;
    }
    .footer-nav {
        flex-direction: column;
        gap: 10px !important;
    }
    .homeHeader {
        padding: 10px 5px;
    }
    .service-container {
        flex-direction: column;
        align-items: center;
    }
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: var(--HomeHeaderColor);
        padding: 10px;
        border-radius: 5px;
        z-index: 10;
    }
    .nav.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .DisplayNoneSmall {
        display: none;
    }
}