/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.four-columns-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
    background-color: #eafaf1;
	/*height: 400px; /* Adjust this value as needed */
}

.four-columns-container h1 {
    font-size: 20px;
    color: #2874a6;
    text-align: center;
}

.four-columns-container h2 {
    font-size: 20px;
    color: #17202a;
    font-weight: bold;
    text-align: center;
}

.four-columns-container h3 {
    font-size: 20px;
    color: darkred;
    text-align: center;
}

.four-columns-column {
    flex: 1;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.column-one, .column-two, .column-three {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
	height: 350px; /* Adjust this value as needed */
}

.column-one {
    background-color: #d40000;
}

.column-two {
    background-color: #ffcc00;
}

.column-three {
    background: linear-gradient(90deg, #d40000, #ffcc00, #28b463);
}

.column-four {
    flex: 1.5;
    gap: 10px;
    /* Fixed height and width for the video container */
    height: 350px; /* Adjust this value as needed */
    width: 600px; /* Adjust this value as needed */
    overflow: hidden; /* Ensures the video doesn't overflow the container */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.column-one::before, .column-two::before {
    content: "";
    display: block;
    width: 40px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.column-one::before {
    background-image: url(../uploadedfiles/2024/logos/airtel.png);
}

.column-two::before {
    background-image: url(../uploadedfiles/2024/logos/mtn.jpg);
}

/* For column-three, remove the fixed size and make it full width */
.column-three::before {
    content: "";
    display: block;
    width: 100%;  /* Full width of the column */
    height: 30px; /* Increased height for larger images */
    background-image: 
	url(../uploadedfiles/2024/logos/airtel.png),        
        url(../uploadedfiles/2024/logos/mtn.jpg),
        url(../uploadedfiles/2024/logos/zamtel1.png);
    background-position: 
        20% center,    /* Spaced positions */
        center center, 
        80% center;
    background-repeat: no-repeat;
    background-size: 
        auto 80%,  /* Larger images - 80% of container height */
        auto 80%, 
        auto 80%;
}
.content-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.experience-section {
    margin: 20px 0;
}

.experience-block {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #008080;
    color: white;
    padding: 10px;
    border-radius: 8px;
}

.more-link {
    display: inline-block;
    margin-top: 10px;
    color: #008080;
    text-decoration: none;
    font-weight: bold;
}

.more-link:hover {
    text-decoration: underline;
}

.background-section {
    padding: 20px;
    background-color: #E9967A;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.section-title {
    font-size: 2rem;
    color: #1914ad;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #454545;
    margin-bottom: 20px;
    background-color: #aed6f1;
    padding: 10px;
    border-radius: 5px;
}

.experience-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.experience-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    transition: all 5.3s ease-in-out;
}

.experience-text {
    font-size: 1rem;
    margin-top: 10px;
}

.scrolling-text-section {
    position: relative;
    height: 280px;
    overflow: hidden;
    width: 100%;
    background-color: #75bbe1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    display: flex;
    align-items: center;
}
.scrolling-text-container {
    width: 800%; /* Ensures the container takes full width */
    height: 100%; /* Takes full height of the parent */
    overflow: hidden; /* Ensures the animation doesn't overflow */
    position: relative; /* Needed for absolute positioning of child elements */
}


.scrolling-text-container ul {
    list-style-type: none; /* Removes default bullet points */
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Adds space between list items */
    overflow-y: auto; /* Adds a scrollbar if content overflows vertically */
}

.scrolling-text-container li {
    margin: 0; /* Removes default margin */
    font-size: 0.9rem;
    color: #333333; /* Darker text for better readability */
    font-weight: 600; /* Semi-bold for emphasis */
    text-transform: uppercase; /* Uppercases the text */
    padding: 10px 15px 10px 40px; /* Adds padding for spacing and bullet alignment */
    position: relative; /* Required for the custom bullet positioning */
    background-color: #ffffff; /* Light background for each item */
    border: 1px solid #e0e0e0; /* Subtle border for separation */
    border-radius: 8px; /* Rounded corners for a modern look */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    white-space: normal; /* Allows text to wrap */
    word-wrap: break-word; /* Ensures long words break and wrap */
}

.scrolling-text-container li::before {
    content: "•"; /* Adds a custom bullet point */
    position: absolute;
    left: 20px; /* Positions the bullet */
    top: 50%; /* Centers the bullet vertically */
    transform: translateY(-50%); /* Ensures perfect vertical alignment */
    color: #2874a6; /* Blue color for the bullet */
    font-size: 1.2rem; /* Slightly larger bullet */
    font-weight: bold; /* Bold bullet for emphasis */
}

/* Hover Effect for List Items */
.scrolling-text-container li:hover {
    background-color: #f5f5f5; /* Light gray background on hover */
    border-color: #2874a6; /* Blue border on hover */
    transform: translateX(5px); /* Slight move to the right on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

/* Animation for Scrolling Text */
.scrolling-text-container ul {
    animation: vertical-scroll 24s linear infinite;
}


@keyframes vertical-scroll {
    0% {
        transform: translateY(80%); /* Starts at the top */
    }
    100% {
        transform: translateY(-100%); /* Ends at the top, but content is visible below */
    }
}
/* Style for the video element */
#videoPlayer {
    width: 100%; /* Video will take the full width of the container */
    height: 100%; /* Video will take the full height of the container */
    object-fit: cover; /* Ensures the video scales to fit the container without distortion */
    border-radius: 8px; /* Optional: Adds rounded corners to the video */
}

/* Media Queries for Responsive Design */

/* For Mobile Phones */
@media (max-width: 480px) {
    .four-columns-container {
        flex-direction: column;
        padding: 15px;
    }

    .four-columns-column {
        width: 100%;
        margin-bottom: 20px;
    }

    .column-four {
        width: 100%; /* Full width on smaller screens */
        height: 200px; /* Adjust height for smaller screens */
    }
}
* For Small Mobile Phones (up to 479px) */
@media (max-width: 479px) {
    .four-columns-container {
        padding: 10px;
    }

    .four-columns-column {
        padding: 15px;
    }

    .column-four {
        height: 150px; /* Adjust height for small mobile */
    }

    .scrolling-text-section {
        height: 100px; /* Adjust height for small mobile */
    }

    .scrolling-text-container li {
        font-size: 0.6rem; /* Smaller font size for small mobile */
        padding: 6px 10px 6px 25px; /* Adjust padding for small mobile */
    }

    .column-four h1 {
        font-size: 0.8rem; /* Smaller heading size for small mobile */
    }
}