.services-section {
    position: relative;
    width: 100vw; /* Full viewport width */
    left: 50%; /* Move left edge to center */
    margin-left: -50vw; /* Pull it left by half viewport width */
    padding: 80px 20px;
    background-color: white;
    color: #000000;
    min-height: 100vh; /* Full viewport height */
    text-align: center;
    box-sizing: border-box;
    margin-top: 250px; /* Push it down as needed */
    z-index: 10;
}

.services-section h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    font-family: "Cinzel", serif; /* matching your style */
}
.packages {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap; /* force them to stay in one row on large screens */
}

.package {
    flex: 1 1 30%; /* each takes about 1/3 of the row */
    min-width: 280px;
    border: 5px solid #e2dede;
    border-radius: 12px;
    padding: 30px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    position: relative;
    overflow: hidden;
    background-size: contain;
    background-repeat: repeat;
    background-position: center;
    background-color: #000000;
}

.package * {
    position: relative;
    z-index: 1;
}
.package h3 {
    color: white;
}

.package:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}
.dragon-icons {
    display: flex;
    justify-content: center;
    gap: 10px; /* space between images */
}

.two-dragons .dragon-icons img {
    flex: 0 1 calc((100% - 10px) / 2); /* 2 images side by side */
    max-width: 140px;
    height: auto;
}

.three-dragons .dragon-icons img {
    flex: 0 1 calc((100% - 20px) / 3); /* 3 images side by side */
    max-width: 130px;
    height: auto;
}

.four-dragons .dragon-icons img {
    flex: 0 1 calc((100% - 30px) / 4); /* 4 images side by side */
    max-width: 120px;
    height: auto;
}
.four-dragons .dragon-icons {
    gap: 0px; /* smaller space between images */
}
.services-section h2 {
    font-size: 4rem; /* change size */
    font-family: "Old London", serif; /* apply your gothic font */
    margin-bottom: 40px; /* space below */
}
.hero-btngroupservice {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #989696, #0e0e0f);
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(13, 221, 9, 0.25);
    transition: all 0.3s ease;
    margin-right: 5px;
}

/* Mobile optimization */
@media screen and (max-width: 1024px) {
    .packages {
        flex-direction: column; /* stack vertically */
        align-items: center; /* center each card */
    }

    .package {
        width: 80%; /* almost full width on mobile */
        margin-bottom: 30px; /* space between stacked cards */
        min-width: unset; /* override desktop min-width */
        margin-right: 10px;
    }

    .dragon-icons img {
        width: 80px; /* slightly smaller for mobile */
    }

    .services-section h2 {
        font-size: 3rem; /* smaller for mobile */
    }
    .services-section h2 {
        font-size: 4rem;
        color: #000000;
        text-align: center;
        margin-left: -5px;
    }
    .hero-btngroupservice {
        display: inline-block;
        margin-top: 20px;
        padding: 14px 28px;
        background: linear-gradient(135deg, #989696, #0e0e0f);
        color: white;
        font-size: 1.8rem;
        font-weight: bold;
        border-radius: 50px;
        text-decoration: none;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        margin-right: 20px;
    }
    .dragon-icons img {
        width: 70px; /* adjust size */
        height: auto;
    }
}
