/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    color: #222;
    line-height: 1.6;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.gallery-header {
    background: linear-gradient(135deg, #003b73, #005fa3);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.gallery-header h1 {
    font-size: 36px;
    font-weight: 700;
}

.gallery-header p {
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.9;
}

/* SECTION */
.gallery-section {
    padding: 60px 0 80px;
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* GRID */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: stretch; /* IMPORTANT */
}

/* CARD */
.delivery-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.delivery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* IMAGE AREA — KEY FIX */
.delivery-card img {
    width: 100%;
    height: 280px;              /* SAME HEIGHT FOR ALL */
    object-fit: contain;        /* NO CROPPING */
    background: #f0f2f5;        /* CLEAN BACKDROP */
    padding: 10px;              /* BREATHING SPACE */
    display: block;
}

/* CAPTION */
.delivery-card p {
    padding: 14px 16px;
    font-size: 14px;
    text-align: center;
    background: #fff;
    margin-top: auto;           /* ALIGN ALL TEXT */
}

/* FOOTER */
.gallery-footer {
    background: #0b2545;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* MOBILE */
@media (max-width: 600px) {
    .gallery-header h1 {
        font-size: 26px;
    }

    .section-title {
        font-size: 22px;
    }

    .delivery-card img {
        height: 240px;
    }
}