﻿:root {
    --main-color: #E44A3D;
}

.counter {
    color: var(--main-color);
    font-family: 'IBM Plex Sans Hebrew', sans-serif;
    text-align: center;
    width: 100%;
    max-width: 200px;
    padding: 25px 10px;
    margin: 10px auto;
    border: 2px solid var(--main-color);
    position: relative;
    z-index: 1;
}

    .counter:before,
    .counter:after {
        content: "";
        position: absolute;
    }

    .counter:before {
        background: #fff;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        transform: translateX(-50%) translateY(-50%);
        top: 50%;
        left: 50%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        z-index: -1;
    }

    .counter:after {
        background: var(--main-color);
        width: 80px;
        height: calc(100% + 100px);
        clip-path: polygon(50% 0, 100% 10%, 100% 90%, 50% 100%, 0 90%, 0 10%);
        transform: rotate(-48deg);
        top: -50px;
        left: 58px;
        z-index: -2;
    }

    .counter .counter-icon {
        font-size: 35px;
        line-height: 35px;
        margin: 0 0 15px;
    }

    .counter h3 {
        font-size: 25px;
        font-weight: 400;
        text-transform: capitalize;
        margin: 0 5px 5px;
        font-family: 'IBM Plex Sans Hebrew', sans-serif;
    }

    .counter .counter-value {
        font-size: 50px;
        font-weight: 600;
        display: block;
    }

    .counter.yellow {
        --main-color: #ce7c39;
    }

    .counter.green {
        --main-color: #009432;
    }

    .counter.blue {
        --main-color: #419dac;
    }

    .counter.grey {
        --main-color: #666666;
    }

    .counter.pink {
        --main-color: #be5f56;
    }

    .counter.gold {
        --main-color: #e2c000;
    }

    .counter.silver {
        --main-color: #9e9d9d;
    }

    .counter.lavender {
        --main-color: #a05fb4;
    }

@media screen and (max-width: 990px) {
    .counter {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 768px) {
    .counter .counter-icon {
        font-size: 30px;
        line-height: 30px;
    }

    .counter h3 {
        font-size: 16px;
    }

    .counter .counter-value {
        font-size: 40px;
    }
}

@media screen and (max-width: 576px) {
    .counter {
        max-width: 100%;
        padding: 15px 5px;
    }

        .counter:before {
            width: calc(100% - 10px);
            height: calc(100% - 10px);
        }

        .counter:after {
            width: 60px;
            height: calc(100% + 50px);
        }

        .counter .counter-icon {
            font-size: 25px;
            line-height: 25px;
            margin: 0 0 10px;
        }

        .counter h3 {
            font-size: 14px;
        }

        .counter .counter-value {
            font-size: 30px;
        }
}

.section-header {
    text-align: center;
    color: #b87c05;
    font-size: 40px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    margin-bottom: 20px;
}

    .section-header h2 {
        margin: 30px;
        color: #0e1616;
        font-family: 'IBM Plex Sans Hebrew', sans-serif;
        font-size: 1.5em;
    }

#counts {
    background-color: #ffffff;
    padding: 40px 0;
  
}

@media screen and (max-width: 768px) {
    .section-header h2 {
        font-size: 1.5em;
        margin: 20px;
    }
}

/* General styles */
body {
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

#grow {
    text-align: center;
    color: #837e7e;
    margin-top: 20px;
    font-weight: 400;
    width: 100%;
    font-size: 70px;
    font-family: 'Times New Roman', Times, serif;
    animation: fadeInOut 5s infinite;
}

@media (max-width: 768px) {
    #grow {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    #grow {
        font-size: 1.5em;
    }
}

/* Banner card styles */
.banner.card {
    border: none;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Main banner styles */
.main-banner {
    background-color: #bd974a10;
    width: 100%;
    height: auto;
}

    .main-banner img {
        display: block;
        width: 100%;
        height: auto;
    }

/* About section styles */
#about {
    background: linear-gradient(3deg, #8AAAE5 0%, rgb(240, 243, 247) 65%, rgba(245, 248, 255, 0.541) 100%);
    padding: 20px;
    box-sizing: border-box;
}

    #about h1 {
        text-align: center;
        color: #837e7e;
        margin-top: 20px;
        font-weight: 400;
        font-size: 2.5em;
        background-color: #ffffff;
        padding: 10px;
        box-sizing: border-box;
    }

    #about .container {
        position: relative;
        text-align: center;
    }

    #about img {
        width: 100%;
        opacity: 0.2;
        display: block;
    }

    #about .centered {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 20px;
        border-radius: 5px;
        box-sizing: border-box;
    }

    #about p {
        margin-bottom: 20px;
        font-size: 1.2em;
        color: #000;
        font-weight: 700;
    }

/* Responsive styles */
@media (max-width: 768px) {
    #about h1 {
        font-size: 2em;
    }

    #about p {
        font-size: 1em;
    }

    #about .centered {
        width: 95%;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    #about h1 {
        font-size: 1.5em;
    }

    #about p {
        font-size: 0.9em;
    }
}

p {
    font-size: 1em;
}

.partners-section {
    background-color: #fff6e6; /* or any other background color you prefer */
    padding: 50px 20px;
}

    .partners-section h2 {
        font-size: 2.5em;
        margin-bottom: 20px;
        color: #333;
    }

    .partners-section p {
        font-size: 1.2em;
        margin-bottom: 40px;
        color: #555;
    }

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Adjust spacing between logos */
}

.partner {
    flex: 1 1 calc(25% - 40px); /* Adjust the width of each partner logo container */
    max-width: 200px; /* Maximum width for each logo */
    min-width: 150px; /* Minimum width for each logo */
    padding: 10px;
    box-sizing: border-box;
    background: #fff; /* Background color for the logo container */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
    border-radius: 8px; /* Optional rounded corners */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

    .partner img {
        width: 100%;
        height: auto;
        display: block;
    }

    .partner:hover {
        transform: translateY(-5px); /* Slight upward movement on hover */
    }

@media (max-width: 768px) {
    .partner {
        flex: 1 1 calc(50% - 20px); /* Two logos per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .partner {
        flex: 1 1 calc(100% - 20px); /* One logo per row on very small screens */
    }

    .partners-section h2 {
        font-size: 1.5em; /* Adjust font size for smaller screens */
    }

    .partners-section p {
        font-size: 1em; /* Adjust font size for smaller screens */
    }
}
/* Container for the paragraph */
.paragraph-container {
    width: 100%;
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
}

    /* Paragraph styling */
    .paragraph-container p {
        word-wrap: break-word; /* Ensures long words break and wrap to the next line */
        overflow-wrap: break-word;
        margin: 0;
        padding: 0;
        line-height: 1.5;
    }

@media (max-width: 768px) {
    .paragraph-container {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .paragraph-container {
        padding: 5px;
    }
}

.image-container {
    width: 100%;
    overflow: hidden;
    position: relative; /* Added relative positioning */
}

    /* Make the image responsive */
    .image-container img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Container for the paragraph */
.paragraph-container {
    width: 100%;
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
    position: relative; /* Added relative positioning */
    z-index: 10; /* Ensure this is higher than the z-index of the carousel */
    background-color: rgba(255, 255, 255, 0.8); /* Optional: to make text readable */
}

    /* Paragraph styling */
    .paragraph-container p {
        word-wrap: break-word; /* Ensures long words break and wrap to the next line */
        overflow-wrap: break-word;
        height: 400px; /* Set a fixed height */
        overflow: auto;
        margin: 0;
        padding: 0;
        line-height: 1.5;
    }

@media (max-width: 768px) {
    .paragraph-container {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .paragraph-container {
        padding: 5px;
    }
}


/*------------------------------------------------------*/


/* .navbar{
    height: 90px;
    background-color: white;
}

#belowheader{
    height: 60px;
    background-color: rgb(42, 39, 64);
} */

/* a {
    color: white;
    cursor: pointer;
    text-decoration: underline;
}

.srow {
    width: 100%;
    float: left;
    line-height: 15px;
}
 */
.mynavbar {
    background-color: lightgray;
    color: Black;
    font-size: 20px;
}

#navbarNavAltMarkup {
    background: linear-gradient(to top, #2578d6 0px, #2652e2 100%) repeat scroll 0 0 transparent;
    background: linear-gradient(to right, #4e4466, #526d85, #c9e8fd, #e2d5f1, #b8acd1);
}

/* Style the links inside the navigation bar */
.navbar-nav a {
    color: #FFFFFF;
    text-align: center;
    font-size: 21px;
    font-weight: 200;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 3px 4px;
    padding: 10px, 10px;
    /*  */
    /* text-transform: uppercase; */
}

    /* Change the color of links on hover */
    .navbar-nav a:hover {
        background-color: #EEBDB6;
        color: rgb(27, 17, 17);
        border-radius: 2px;
        border: 1px solid #fff;
        box-sizing: border-box;
    }

/* Add a color to the active/current link */
/* .navbar-nav  {
    background-color: #eb9627;
    color: white;
    border: 1px solid #fff;
    box-sizing: border-box ;
  } */
header {
    background-color: #fdf0e888;
    unicode-bidi: isolate;
}

*, ::after, ::before {
    box-sizing: border-box;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

.srow {
    width: 100%;
}

.header-banner {
    width: 100%; /* Ensure the container spans the full width */
    overflow: hidden; /* Hide any overflow to prevent unwanted space */
}

    .header-banner img {
        width: 100%; /* Make the image fill its container */
        height: auto; /* Maintain the aspect ratio */
    }