.ny3-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo-area {
    flex: 1;
    text-align: center;
    margin-bottom: 20px; /* Added margin for better spacing on smaller screens */
}

.logo-area img {
    max-width: 150px;
    height: auto;
}

.content-area {
    flex: 2;
    padding-left: 20px;
}

.content-area .tagline {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.content-area .heading {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.content-area .highlight {
    display: inline-block;
    width: 40px;
    height: 5px;
    background-color: gold;
    margin-right: 10px;
}

.content-area .heading h1 {
    font-size: 36px;
    font-weight: 300;
    color: #ddd;
    margin: 0;
}

.content-area .subheading {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.image-section {
    display: flex;
    flex-wrap: wrap; /* Allows images to wrap on smaller screens */
    gap: 20px;
    margin-top: 20px;
}

.image-section img {
    width: calc(50% - 10px); /* Responsive width calculation */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-section img:hover {
    transform: scale(1.05);
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .content-area {
        padding-left: 10px;
    }

    .content-area .heading h1 {
        font-size: 28px;
    }

    .content-area .subheading {
        font-size: 18px;
    }

    .image-section img {
        width: 100%; /* Full width on smaller screens */
    }
}

@media (max-width: 480px) {
    .ny3-section {
        flex-direction: column; /* Stack elements vertically */
        padding: 15px;
    }

    .content-area {
        padding-left: 0;
    }

    .logo-area {
        margin-bottom: 10px;
    }

    .content-area .heading h1 {
        font-size: 24px;
    }

    .content-area .subheading {
        font-size: 16px;
    }
}
