/* Container to hold both text and button */
.container {
    display: flex;
    justify-content: space-between; /* Pushes text to left and button to right */
    align-items: center; /* Vertically center the items */
    padding: 10px;
}

/* Left Text Styling */
.left-text span {
    font-size: 38px;
    font-weight: 600;
    color: #0064b4;
    white-space: nowrap; /* Prevent text from wrapping */
	  font-family: 'Myriad Pro', sans-serif;
}

/* Button Container */
.custom-button-container {
    text-align: end;
    margin-bottom: 20px;
}

/* Basic Style for Button */
.custom-button {
    color: #0064b4;
    font-size: 15px;
    font-weight: 500;
    padding-bottom: 10px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Myriad Pro', sans-serif;
    overflow: visible;
}

/* Adding space between text and icon */
.custom-button span {
    padding-right: 15px;
    transition: 1s;
    display: inline-block;
    white-space: nowrap;
}

/* Hover Effect on Button */
.custom-button:hover {
    color: #0064b4;
}

/* Hover Effect on SVG Icon */
.custom-button:hover svg {
    fill: #0064b4;
    transition: fill 0.3s ease;
}

/* Icon style */
.custom-button svg {
    fill: currentColor;
    transition: transform 0.3s ease;
}

/* Horizontal Line (Bottom Border) */
.custom-button::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #0064b4;
    transition: width 0.5s ease-in-out;
    display: inline-block;
}

/* On hover, shrink the line */
.custom-button:hover::after {
    width: 0%;
}

/* Hover Effect - Move Text Left */
.custom-button:hover span {
    transform: translateX(-15px);
}


/* Mobile Styles 
@media (max-width: 768px) {
    .container {
        flex-direction: row; /* Stack the text and button horizontally on smaller screens 
        align-items: center; /* Center align both text and button 
    }

    .left-text span {
        font-size: 25px !important; /* Smaller font size on mobile 
			  font-weight: 700 !important;
        text-align: center; /* Center the text 
			  font-family: 'Myriad Pro', sans-serif;
    }

	/* Basic Style for Button 
.custom-button {
    color: #0064b4;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 10px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Myriad Pro', sans-serif;
    overflow: visible;
}
	
	
    .custom-button-container {
        text-align: center; /* Center the button 
        margin-top: 20px; /* Add some space between text and button 
    }
}

*/

@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack text and button vertically */
        align-items: center; /* Center align both text and button */
        text-align: center;
    }

    .left-text span {
        font-size: 25px !important; /* Smaller font size */
        font-weight: 700 !important;
        text-align: center;
        font-family: 'Myriad Pro', sans-serif;
        display: block;
        margin-bottom: 10px; /* Space between text and button */
    }

    .custom-button-container {
        text-align: center; /* Center the button */
        margin-top: 10px; /* Add some space between text and button */
    }

    .custom-button {
        font-size: 14px; /* Reduce button font size */
        padding: 8px 12px; /* Adjust padding */
        display: inline-flex;
        align-items: center;
        border-radius: 5px;
        position: relative;
        transition: all 0.3s ease;
        font-family: 'Myriad Pro', sans-serif;
        text-decoration: none;
    }

    .custom-button span {
        padding-right: 10px; /* Reduce space between text and icon */
        transition: 0.5s;
    }

    /* Adjust icon size */
    .custom-button svg {
        width: 14px;
        height: 14px;
    }

    /* Reduce bottom line effect */
    .custom-button::after {
        height: 1px;
    }

    /* Reduce hover effect movement */
    .custom-button:hover span {
        transform: translateX(-8px);
    }
}
