body {
    font-family: 'Arial', sans-serif;
   
    margin: 0;
    padding: 0;
}

/* .container {
    width: 90%;
    margin: 20px auto;
    padding: 20px 0;
    margin-top: -14%;
} */

.heading {
    text-align: center;
    font-size: 3em;
    color: #09366f;
    margin-bottom: 20px;
    animation: fadeIn 2s infinite alternate;
}

.intro {
    text-align: center;
    font-size: 1.2em;
    color: #333;
    margin-bottom: 40px;
    animation: fadeIn 2s infinite alternate;
}

.blog-card {
    background:  #fff;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-wrap: wrap;
    animation: fadeInSlideUp 2s infinite alternate;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.blog-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-heading {
    font-size: 2em;
    color: #09366f;
    margin: 0 0 10px;
    transition: color 0.3s;
}

.blog-card:hover .blog-heading {
    color: #0d529a;
}

.blog-text {
    color: #333;
    font-size: 1em;
}

@media (min-width: 768px) {
    .blog-card {
        flex-direction: row;
    }

    .blog-card:nth-child(even) {
        flex-direction: row-reverse;
    }

    .blog-image, .blog-content {
        width: 50%;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInSlideUp {
    0% {
        opacity: 0.;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.image-container-wrapper {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(500px + 500px); 
    max-width: 100%;
    margin: auto; 
    margin-left:40%;
}

.image-container-wrapper h1 {
    margin-bottom: 20px;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.1);
}
.top {
    
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

@media (min-width: 576px) {
    .top {
        margin-top: 8%;
    }
}
@media (min-width: 768px) {
    .top {
        margin-top: 7%; 
    }
}
@media (min-width: 1024px) {
    .top {
        margin-top: 10%;
    }
}

.diving {
    margin-top: 10%;
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

@media (min-width: 576px) {
    .top {
        margin-top: 8%;
    }
}
@media (min-width: 768px) {
    .top {
        margin-top: 7%; 
    }
    #contact{
        margin-bottom: -10%;
    }
}
@media (min-width: 1024px) {
    .top {
        margin-top: 10%;
    }
    #contact{
        margin-bottom: -12%;
    }
}