/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header Section */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #17629c;
    color: white;
    padding: 20px;
}

.header-logo img {
    height: 50px;
}

.header-title h1 {
    font-size: 1.5em;
}

nav a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

/* Main Content Section */
main {
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.application-services h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.application-services p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.service-tabs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* This allows the items to stack on smaller screens */
}

.tab {
    width: 30%;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.tab a {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 15px;
    text-align: center;
}

.tab:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tab img {
    height: 50px;
    margin-bottom: 10px;
}

.tab h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
}

.tab p {
    font-size: 0.9em;

}

/* Center the testimonials section horizontally */
#testimonials-section {
    background-color: #63776a;
    color: rgb(35, 102, 218);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    height: 100vh;
    box-sizing: border-box;
}

/* Ensure the testimonial container stays within bounds */
.testimonial-container {
    max-width: 100%;
    width: 90%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Display testimonials in a horizontal row */
.testimonial-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Each testimonial takes up equal space */
.testimonial {
    flex: 0 0 25%; /* Show 4 testimonials at a time */
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Stars styling */
.stars {
    color: #f39c12;
}

/* Navigation buttons */
.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.nav-btn:hover {
    color: #f39c12;
}

/* Responsive styles */
@media (max-width: 600px) {
    .testimonial {
        flex: 0 0 50%; /* Show 2 testimonials at a time */
        font-size: 0.9rem;
    }

    .nav-btn {
        font-size: 1.5rem;
    }
}
