﻿.img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; /* ensures square shape */
    overflow: hidden;
}

    .img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.hover-scale:hover {
    transform: scale(1.05);
}

/* Cards and images consistent height */
.card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Text spacing */
h1, h2, h3 {
    line-height: 1.3;
}

p {
    line-height: 1.6;
}

.hover-scale {
    transition: transform 0.3s ease;
}

    .hover-scale:hover {
        transform: scale(1.05);
    }

.card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Ocean-themed section (same as premium banner) */
.ocean-section {
    background: linear-gradient(135deg, rgba(11,48,55,0.85), rgba(19,78,94,0.85));
    color: #FFFFFF;
    padding: 80px 0;
}

    .ocean-section h1,
    .ocean-section p {
        text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    }

.section-img {
    max-width: 550px; /* maximum width of the image */
    width: 100%; /* responsive width */
    height: auto; /* maintain aspect ratio */
    display: block;
    margin-left: auto; /* center horizontally if smaller than container */
    margin-right: auto;
}

