body {
    font-size: 14px;
    background-color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.container {
    background-color: white;
    overflow: hidden;
    flex-grow: 1;
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 70px; /* Space for bottom nav */
}

.header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-section {
    display: flex;
    align-items: center;
}

.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
}

.profile-info {
    color: #1A3A66;
}

.profile-welcome {
    font-family: 'League Spartan', sans-serif;
    font-weight: 300;
    font-size: 11px;
    display: block;
    line-height: 1.2;
}

.profile-name {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: black;
}

.header-icons {
    display: flex;
}

.header-icon {
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

.notification-icon {
    position: relative;
}

.notification-dot {
    width: 6px;
    height: 6px;
    background-color: #225FFF;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
}

.bottom-nav {
    background-color: #1A3A66;
    padding: 8px 5px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 24px;
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 1000;
    max-width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
}

.bottom-nav-icon {
    font-size: 20px;
    color: white;
}

.main-content {
    background-color: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.carousel-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* New red section */
.red-section {
    background-color: #FF0000;
    flex: 1;
    min-height: calc((100vh - 400px) / 2); /* Half of remaining space */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    border-radius: 15px;
}

.calendar-section, .service-items {
    flex: 1;
    min-height: 0;
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
    flex: 1;
    min-height: calc((100vh - 400px) / 2); /* Half of remaining space */
    vertical-align: middle;
}

.service-item {
    background-color: #F2F1E6;
    padding: 8px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    width: auto;
}

.service-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
    margin-right: 8px;
    border-radius: 15px;
}

.service-content {
    background-color: white;
    border-radius: 10px;
    padding: 8px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 35px;
    text-align: center;
}

.service-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #002C52;
    text-decoration: none;
    word-break: break-word;
}



.service-button {
    width: 100%;
    background-color: #F2F1E6;
    border: none;
    border-radius: 15px;
    padding: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.service-button:active {
    transform: scale(0.98);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.service-button:hover {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
}

.service-button-content {
    display: flex;
    align-items: center;
}

.service-text {
    background-color: white;
    border-radius: 10px;
    padding: 8px;
    flex-grow: 1;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #002C52;
}