/* General Section Styling */

@keyframes appear {
    from {
        opacity: 0;
        scale: 0;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}





.section-container {
    padding: 150px 0;
    background-color: #1a202c;
    animation: appear linear;
    animation-timeline: scroll();
    animation-range: entry 10% cover 30%;

    
}



.cta-section {
    position: relative;
    background-image: url('https://makecomponents.com/Image/call-to-action/001/001.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    display: flex;
    align-items: flex-end;
}

/* Content Wrapper */
.cta-content {
    width: 100%;
    padding: 0px;
    display: flex;
    justify-content: center;
}

/* Grid Layout */
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: flex-end;
    max-width: 1200px;
    width: 100%;
}

/* Image Styling */
.cta-image {
    display: flex;
    justify-content: center;
}

.cta-image img {
    height: 500px;
}

/* Text Section */
.cta-text {
    padding-bottom: 40px;
}

.cta-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #c7b130;
    margin-bottom: 10px;
    position: relative;
}

.cta-text h3::after {
    content: "";
    width: 50px;
    height: 4px;
    background-color: white;
    display: block;
    margin-top: 5px;
}

.cta-text h4 {
    color: white;
    font-size: 20px;
    line-height: 1.5;
}

.highlight {
    color: #c7b130;
    text-decoration: underline;
}

/* Button */
.cta-button {
    display: inline-block;
    background-color: #c7b130;
    color: black;
    border-radius: 8px;
    padding: 10px 32px;
    font-size: 18px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: white;
    color: black;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-image {
        display: none;
    }

    .cta-text {
        padding-bottom: 20px;
    }

    .cta-text h3 {
        font-size: 1.8rem;
    }

    .cta-text h4 {
        font-size: 18px;
    }

    .cta-button {
        font-size: 16px;
        padding: 8px 24px;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 100px 0;
    }

    .cta-section {
        height: 250px;
    }

    .cta-text h3 {
        font-size: 1.5rem;
    }

    .cta-text h4 {
        font-size: 16px;
    }
}
