.intro-section {

    padding-right: 50px; /* Padding on the right */
    background-image: url('../../assets/img/britishaudio.png'); /* Path to your background image */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    box-sizing: border-box; /* Includes padding in the total width/height calculation */
     padding: 50px;
    color: white;
    z-index: -1; /* Place the image behind the text */
/*	    width: 100vw;  Full viewport width */
	    margin-left: 20px;
	    margin-right: 20px;
	    margin-top: -60px;
}
.intro__title {
    font-size: 90px; /* Sets the font size */
    padding-top: 90px; /* Adds space above the title */
    color: transparent; /* Make text color transparent to show gradient */
    text-align: left; /* Aligns the text to the left */
/*    margin: 0;  Removes default margins 
*/    width: 100%; /* Sets the width to fill the parent container */
    max-width: 1200px; /* Limits the maximum width */
    box-sizing: border-box; /* Includes padding in the total width calculation */
    background: linear-gradient(to right, rgb(255, 255, 255), rgb(255, 255, 255),rgb(255, 255, 255)); /* Gradient from orange to white */
    -webkit-background-clip: text; /* Clips the background to the text */
    background-clip: text; /* Apply background clip to text for cross-browser support */
    display: inline-block; /* Ensures gradient is applied correctly */
    margin-left: 50px; /* Adds left margin */
    line-height: 0.9; /* Adjust line height to remove space between lines */
    margin-top: -60px;
}


.intro__title--line1,
.intro__title--line2 {
    display: block; /* Ensures each part appears on a separate line */
    background: inherit; /* Inherit background gradient */
    -webkit-background-clip: text; /* Clips background to text */
    background-clip: text; /* Apply background clip to text */
    margin: 0; /* No additional margins */
    padding: 5px; /* No padding to avoid gaps */
}

.intro__content {
    padding-right: 600px; /* Adds space to the right of the title */
    padding-bottom: 20px; /* Adds space below the title */
    padding-left: 65px; /* Adds space to the right of the title */
    color: white; /* Sets the text color */
    text-align: left; /* Centers the text */
    margin: 0; /* Removes default margins */
    width: 100%; /* Sets the width to fill the parent container */
    max-width: 1200px; /* Optional: Limits the maximum width */
    box-sizing: border-box; /* Includes padding in the total width calculation */
        font-size: 20px; /* Sets the font size */


}
.button-container {
    padding-bottom: 360px; /* Adds space above the title */
    align-items: center; /* Center align buttons horizontally */
    display: flex;
    position: absolute; /* Positioning relative to parent */
    right: 280px; /* Space from the right edge */
    transform: translateY(-50%); /* Adjust to center the container */
    flex-direction: column; /* Stack buttons vertically */
    gap: 20px; /* Space between buttons */
}
/* Style for the button */
.crunch-button {
    display: flex; /* Use flexbox for better centering */
    align-items: center; /* Center align text vertically */
    justify-content: center; /* Center align text horizontally */
    width: 230px; /* Fixed width for the button */
    height: 60px; /* Fixed height for the button */
    padding: 0; /* Remove padding, use width and height for sizing */
        background: rgb(255, 255, 255); /* Color of the sliding background */

    background: transparent; /* Make the background transparent */
    color: rgb(255, 255, 255); /* Button text color */
    text-decoration: none; /* Removes underline from the link */
    text-align: center;
    font-size: 19px; /* Adjust font size if needed */
    border: 1px solid rgb(255, 255, 255); /* Button border */
    cursor: pointer; /* Change cursor to pointer on hover */
    position: relative; /* Allows the pseudo-element to be positioned absolutely */
    overflow: hidden; /* Hide the overflow of the sliding element */
    z-index: 1; /* Ensure the button is above the pseudo-element */
}

/* Sliding background effect */
.crunch-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%; /* Start position of the sliding background */
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255); /* Color of the sliding background */
    transition: left 0.5s; /* Duration of the sliding effect */
    z-index: -1; /* Place the sliding background behind the text */
}

/* On hover, slide the background from left to right */
.crunch-button:hover::before {
    left: 0; /* Slide in the background from the left */
}

/* Ensure text stays above the background */
.crunch-button span {
    position: relative;
    z-index: 1; /* Place the text above the sliding background */
}


/* Tablet Styles */
@media (max-width: 768px) {
    .intro__title {
        font-size: 60px; /* Smaller font size */
        padding-right: 50px; /* Reduce right padding */
        padding-top: 50px; /* Reduce top padding */
    }

    .intro__content {
        padding-right:15px; /* Reduce right padding */
        padding-left: 15px; /* Reduce left padding */
        font-size: 20px; /* Slightly smaller font size */
    }
    .button-container {
        display: block;
        position: static;
        padding-bottom: 2px;
        margin-top: 65px;
        align-self: center;
        text-align: center;
        padding-left: 65px; /* Add 'px' to specify the padding unit */
    }

    .crunch-button {
        width: 70%; /* Set the button to 60% width */
        margin-top: 2px; /* Add a small space above the button */
        
    }
}


/* Mobile Styles */
.mobile-intro {
    display: none; /* Hide by default */
}
@media (hover: hover) and (max-width: 768px) {
    .mobile-button:hover {
        background-color: white;  /* Change background to white */
        color: black;             /* Change text color to black */
    }
}
/* Show mobile intro on screens 768px wide or smaller */
@media (max-width: 768px) {
    .mobile-intro {
        display: block; /* Show mobile intro */
            background-image: url('../../assets/img/britishaudio.png'); /* Path to your background image */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    box-sizing: border-box; /* Includes padding in the total width/height calculation */
    margin-left: 10px;
    margin-right: 10px;
    margin-top: -80px;
    padding-top: 20px;
    }
    .mobile-title--line1{
		font-size: 34px;
	}
    .mobile-title,.mobile-content-text{
		    margin-left: 10px;
color: white;
	}
	

.mobile-buttons {
    display: flex;                     /* Enable flexbox */
    flex-wrap: wrap;                  /* Allow items to wrap to the next line */
gap: 10px;   
 margin-left: 45px;    
 margin-right: 20px;            /* Adjust as needed for left alignment */
}

.mobile-button {
 flex: 1 1 100%;            /* Make buttons full-width on smaller screens */
        max-width: 91%;           /* Ensure no overflow */
            padding: 10px 2px;               /* Padding as before */
    color: white;                     /* Button text color */
    text-decoration: none;            /* No underline on text */
    border-radius: 5px;               /* Rounded corners */
    font-size: 16px;                  /* Button text size */
    font-weight: bold;                /* Bold text */
    transition: background-color 0.3s ease; /* Transition effect */
    text-align: center;  
    margin-bottom: 10px;             /* Center text within button */
    background: transparent;
    border: 1px solid rgb(242, 117, 23);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: #FF5722;
}

    .intro-section {
        display: none; /* Hide desktop intro */
    }
}



/* Hide mobile intro on larger screens */
@media (min-width: 769px) {
    .mobile-intro {
        display: none; /* Hide mobile intro */
    }
}
