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

/* Idea Section Styling */
.idea {
    background-image: url("http://www.smagicmakers.com/images/PNGs/Headers/section - instatuition.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain; /* Ensures the background image covers the section */
    background-color: #000; /* Fallback color */
    width: 100%;
    min-height: 100vh; /* Matches the section height */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Container for Logo and Text */
.idea-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Keeps content within bounds */
}

/* Text Section */
.idea-text {
    flex: 1; /* Occupies one portion of the space */
    color: white;
    font-family: 'Didact Gothic', 'Century Gothic', Verdana, sans-serif, Arial;
    text-align: left;
    padding-right: 20px; /* Adds spacing to the right of the text */
}

/* Heading Styling */
.idea-text h2 {
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center; /* Centers the heading */
}

/* Paragraph Styling */
.idea-text p {
    font-size: 36px;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Button Styling */
.idea-text a img {
    max-width: 315px; /* Matches the button size */
    width: 100%; /* Ensures responsiveness */
    height: auto;
    display: inline-block;
    border: none;
    margin-top: 20px;
}

/* Logo Section */
.idea-logo {
    flex: 1; /* Occupies one portion of the space */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px; /* Adds spacing to the left of the logo */
}

.idea-logo img {
    max-width: 650px; /* Adjusts the logo size */
    height: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .idea-container {
        flex-direction: column; /* Stacks content vertically on medium screens */
        align-items: center;
    }

    .idea-text {
        text-align: center; /* Centers text on smaller screens */
        padding: 0; /* Removes padding */
    }

    .idea-logo img {
        max-width: 500px; /* Adjusts logo size */
    }

    .idea-text h2 {
        font-size: 50px;
    }

    .idea-text p {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .idea-logo img {
        max-width: 400px; /* Further scaling down the logo */
    }

    .idea-text h2 {
        font-size: 40px;
    }

    .idea-text p {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .idea-logo img {
        max-width: 300px;
    }

    .idea-text h2 {
        font-size: 32px;
    }

    .idea-text p {
        font-size: 24px;
    }
}
