.card {
    width: 18rem; /* Standardized width */
    height: 24rem; /* Standardized height to fit content */
}

.card-img-top {
    height: 12rem; /* Standardize image height */
    object-fit: cover; /* Ensure image scales nicely */
}

.card-body {
    display: flex;
    flex-direction: column; /* Stack title and text vertically */
    align-items: center;
    justify-content: center;
    text-align: center;
    height: calc(100% - 12rem); /* Adjust to fill remaining height */
    padding: 1rem; /* Add padding for spacing */
}

.card-title {
    margin-bottom: 0.5rem; /* Add space between title and text */
    font-weight: bold;
}

.card-text {
    margin: 0; /* Remove default margin */
    text-align: center; /* Ensure text is centered */
    flex-grow: 1; /* Allow text to take up remaining space */
}


p {
    margin-left: 50px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h3, h4 {
    text-align: center;
}


footer {
    background-color: black;
    color: white;
    padding: 20px 0;
}

.footercontainer {
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.socialicons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.socialicons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 0 10px;
    border-radius: 50%;
    color: black;
    transition: background-color 0.5s, color 0.5s;
}

.socialicons a i {
    font-size: 2em;
    color: black;
    opacity: 0.9;
}

.socialicons a:hover {
    background-color: #111;
    color: white;
}

.footernav {
    margin: 20px 0;
    text-align: center;
}

.footernav ul {
    display: inline-flex;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.footernav ul li {
    margin: 0 15px;
}

.footernav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    opacity: 0.7;
    transition: opacity 0.5s;
}

.footernav ul li a:hover {
    opacity: 1;
}

.footercontact {
    text-align: center;
    margin: 20px 0;
}

.footercontact p {
    margin: 5px 0;
}

.footerbottom {
    background-color: #000;
    padding: 10px;
    text-align: center;
    position: relative;
}

.footerbottom p {
    margin: 0;
}

.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

#backToTop {
    position: absolute;
    top: -50px;
    right: 20px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.5s, color 0.5s;
}

#backToTop:hover {
    background-color: #111;
    color: white;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    text-decoration: none;
}

    .content { 
        font-family: Verdana, Geneva, Tahoma, sans-serif;  
    
    }
    .btn {
        margin-left: 46px; /* Adjust this value to move the buttons further or closer */
    }