.starter-image {
    position: relative;
    background-image: url('../img/Home-Image.webp'); /* Ensure you have the correct background image */
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 5rem 1rem; /* Add padding to fit content better */
    overflow: hidden;
}

.starter-image::before {
    content: "";
    position: absolute;
    background-image: inherit;
    background-size: cover; /* Ensure the image covers the background properly */
    background-position: center;
    z-index: 1;
    top: -15%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.starter-text {
    color: #212529;
    position: relative;
    top: 15%;
    z-index: 2;
}

.wave0 {
    position: absolute;
    bottom: -72px;
    left: 0;
    width: 100%;
    height: auto;
    background: repeat-x;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    z-index: 3; /* Ensure wave is above the blur */
}

.card-group .card {
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.card-group .card {
    background-color: #333;
    color: #fff;
}

.card-group .card:hover {
    transform: scale(1.02);
}

.card-group .card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-group .card-body {
    padding: 20px;
}

.contact-section {
    background-color: #343a40;
    color: #fff;
    border-radius: 15px;
}

.contact-section a {
    color: inherit;
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

.rounded-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
    color: #b89068;
    width: 60px;
    height: 60px;
    background-color: #fff;
}

.rounded-circle:hover {
    transform: scale(1.1);
}

.social-icon-link {
    text-decoration: none;
}

.content {
    margin-top: 10px;
}

.secondary {
    margin-top: 10px;
}

.spacer {
    color: #fff;
}

.text-white {
    color: #fff;
    text-decoration: none;
}

.text-white:hover {
    text-decoration: underline;
}

.btn-outline-custom {
    color: #b89068;
    border: 1px solid #b89068;
    background-color: transparent;
}

.btn-outline-custom:hover {
    color: #fff;
    background-color: #b89068;
    border-color: #b89068;
}

#card-content {
    background-color: #f6dea4;
    padding: 0 100px;
}

#start-text {
    padding: 50px 100px;
}

h2 {
    font-size: 3rem;
}

.p-bigger {
    font-size: 1.5rem;
}

/* Mobile-specific styles (850px and below) */
@media (max-width: 850px) {
    #logo {
        width: 200px;
        height: auto;
        margin: 10px 0;
    }

    .card-group {
        flex-direction: column; /* Stack cards vertically */
        padding: 0 10px; /* Reduce padding */
    }

    .card-group .card {
        margin: 10px 0; /* Adjust margin */
    }

    #start-text {
        padding: 20px; /* Adjust padding */
    }

    h2 {
        font-size: 1.5rem; /* Reduce font size for headings */
    }

    .p-bigger {
        font-size: 1rem; /* Reduce font size for larger paragraphs */
    }

    .contact-section {
        padding: 20px; /* Adjust padding */
    }

    .social-icon {
        width: 30px; /* Further reduce social icon size */
        height: 30px;
        font-size: 1rem; /* Adjust icon font size */
    }

    .footer-section .content {
        font-size: 0.75rem; /* Adjust footer text size */
    }
}

@media screen and (max-width: 580px) {
    #card-content {
        padding: 0 50px;
    }
}

@media screen and (max-width: 375px) {
    #card-content {
        padding: 0 20px;
    }
}
@media screen and (max-width: 575px) {
    .contact-section {
        margin: 0 30px 0 30px;
        width: auto;
        padding: 0px; /* Adjust padding */
        max-width: 100%; /* Ensure it fits within the parent container */
        text-overflow: ellipsis; /* Add ellipsis to overflow text */
        white-space: wrap; /* Prevent text wrapping */
    }
}
