body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}
.event-card-header {
    padding: 2.5em;
    font-size: 26px;
    font-weight: 500;
    background: #E8F2F9;
    text-align: center;
    color: #053763;
}
.event-card-sub-header {
    font-size: 18px;
    font-weight: 400;
    color: #053763;
    text-align: center;
}
.event-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
    padding: 20px;
    margin-top: 20px;
    justify-content: center;
}
.image-card {
    position: relative;
    width: 100%;
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden; 
}
.image-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.image-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(45, 111, 198, 0) 12%, #163660 100%);
    border-radius: 8px;
}
.image-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    padding: 4px;
    border-radius: 5px;
    font-family: 'Maven Pro';
}
.image-text h1 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
}
.image-text p {
    margin: 5px 0 0;
    font-size: 16px;
    font-weight: 400;
    margin-top: 0px;
}
.text-banner {
    color: #053763; 
    font-size: 20px;
    font-weight: 400; 
    text-align: center;
    margin-bottom: 1.5em;
}
.circle-1 {
    gap: 1em;
    width: 30em;
    height: 9em;
    border-radius: 5px;
    background-color: white;
    border: 1px solid #e8e8e8;
    color: #053763;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 5px;
    position: relative;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}
.estimation-button {
    text-decoration: none;
    color: #fff;
    background-color: #053763;
    width: 12em;
    height: 3em;
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.estimation-button:hover {
    color: #fff;
    text-decoration: none;
    background-color: #053763b0;
}
.thankyou-page {
    display: none;
}
.thankYouContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75vh;
    background-color: #f7f9fc; 
}
.thankYouContent {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    padding: 20px 40px;
    box-shadow: 1px 1px 15px 10px rgb(77 118 255 / 11%);
    width: 38rem;
}
.thankYouContent > p {
    color: #053763;
}
.thankYouIcon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    background-color: #053763; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}
.text-content {
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
.footer-bottom {
    font-size: .813rem;
    line-height: 1.38;
    letter-spacing: normal;
    color: #8c8c8c;
}
.image-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.image-card.show {
    animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .navy-blue-bg {
        height: 31em !important;
    }
    .steps {
        flex-direction: column;
        gap: 1rem;
    }
    .text-banner {
        font-size: 1.2rem;
    }
    .circle-1 {
        width: 100%;
        padding: 15px;
    }
    .thankYouContainer {
        height: 40rem;
        padding: 20px;
    }
    .thankYouContent {
        width: 90%; 
        padding: 15px 20px; 
    }
    .thankYouIcon {
        width: 40px; 
        height: 40px;
        font-size: 18px;
    }
    .text-content {
        font-size: 14px; 
    }
}
