/* Ads Section Styling */
.ads-section {
    width: 100%;
    padding: 60px 5%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top:5%;
}

.ads-header {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ads-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.ad-link {
    flex: 1;
    max-width: 600px;
    min-width: 300px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ad-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ad-image {
    width: 100%;
    height: 250px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
    background-color: #ffffff;
}

.ad-link:hover .ad-image {
    transform: scale(1.05);
}

/* Tablet Responsive */
@media screen and (max-width: 1023px) {
    .ads-section {
        padding: 50px 4%;
    }

    .ads-header {
        font-size: 2rem;
        margin-bottom: 35px;
    }

    .ads-container {
        gap: 25px;
    }

    .ad-link {
        max-width: 500px;
    }

    .ad-image {
        height: 220px;
    }
}

/* Mobile Responsive */
@media screen and (max-width: 767px) {
    .ads-section {
        padding: 40px 5%;
    }

    .ads-header {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .ads-container {
        flex-direction: column;
        gap: 20px;
    }

    .ad-link {
        max-width: 100%;
        min-width: 100%;
    }

    .ad-image {
        height: 200px;
    }
}

@media screen and (max-width: 501px) {
    .ads-section {
        padding: 30px 5%;
    }

    .ads-header {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .ads-container {
        gap: 15px;
    }

    .ad-image {
        height: 180px;
    }
}
