/* Call to Action Section */
.call-to-action {
    width: 750px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute space between content and image */
    padding: 20px;
    box-sizing: border-box; /* Include padding in width/height calculation */
    box-shadow: 0 4px 8px #4dcef63d; /* Subtle shadow for depth */
    border-radius: 8px; /* Rounded corners */
    background: #B09CFE;
    background: linear-gradient(317deg, rgba(176, 156, 254, 1) 1%, rgba(0, 0, 0, 0) 54%), url("https://website.workroomapp.com/api/v1/uploads/gallery/2025-09-13t14-06-06-624z-dotpat6.png") right bottom no-repeat;
}

/* Content Area */
.cta-content {
    flex: 1; /* Takes up remaining space */
    padding-right: 20px; /* Space between content and image */
}

.cta-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #8572cd; 
}

.cta-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666; /* Medium grey for body text */
    margin-bottom: 20px;
}

/* Button Styles */
.cta-buttons {
    display: flex;
    gap: 10px; /* Space between buttons */
    padding-top: 20px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.btn-primary {
    background-color:transparent;
    border-radius:25px;
    border:1px solid #18ab29;
    display:inline-block;
    cursor:pointer;
    color:#409c53;
    font-family:Arial;
    font-size:17px;
    padding:5px 15px;
    text-decoration:none;
}
.btn-primary:hover {
    color: #fff;
    background-color: #18ab29;
}

.btn-secondary {
    background-color:transparent;
    border-radius:25px;
    border:1px solid #27c2f2;
    display:inline-block;
    cursor:pointer;
    color:#27c2f2;
    font-family:Arial;
    font-size:17px;
    padding:5px 15px;
    text-decoration:none;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #27c2f2;
}

.btn-tertiary {
    background-color:transparent;
    border-radius:25px;
    border:1px solid #FF0458;
    display:inline-block;
    cursor:pointer;
    color:#FF0458;
    font-family:Arial;
    font-size:17px;
    padding: 5px 15px;
    text-decoration:none;
}
.btn-tertiary:hover {
    color: #fff;
    background-color: #FF0458;
}

.btn:hover {
    opacity: 0.8; /* Slightly reduce opacity on hover */
}

/* Image Area */
.cta-image {
    width: 250px; /* Adjust as needed */
    height: 250px; /* Adjust as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Clip if the image exceeds the container */
}

.cta-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure the image fits within the container */
}

/* Media Query for Responsiveness (Optional) */
@media (max-width: 768px) {
    .call-to-action {
        flex-direction: column;
        width: 100%; /* Take up more width on smaller screens */
        height: auto; /* Adjust height automatically */
    }

    .cta-content {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .cta-buttons {
        flex-direction: column; /* Stack buttons on smaller screens */
        align-items: stretch; /* Make buttons full width */
    }

    .btn {
        width: 100%;
    }

    .cta-image {
        width: 100%;
        height: auto;
    }
}
