
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

header {
    background-color: #2a4c99 !important; /* A deep blue-gray for sophistication and contrast */

}

/* Title section background, text color for h1 and p */
.title-section {
    background-color: #f4f4f4 !important; /* Light gray background to keep the focus on text */
}

.title-section h1 {
    color: #2c3e50 !important; /* Dark blue-gray for a strong headline */
}

.title-section p {
    color: #34495e !important; /* Slightly lighter blue-gray for supporting text */
}

/* Registration form inner background and border color */
.registration-form-inner {
    background-color: #ffffff !important; /* Clean white background for clarity */
    border: 2px solid #95a5a6 !important; /* Neutral gray to keep form subtle but defined */
}
.registration-form {
    background-color: #f4f4f4 !important; /* Clean white background for clarity */
}


body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
     border-bottom: 1px solid #999999;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
}

.basket .basket-button {
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 5px;
    font-weight: bold;
}

.basket .basket-button:hover {
    background-color: #fff;
    color: #fff;
}

/* Title Section */
.title-section {
    text-align: left;
    padding: 40px 0 20px 0; /* Increased top padding for better spacing */
    background-color: #f9f9f9;
    color: #000;
   
}

.title-section .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.title-section h1 {
    font-size: 3.5em;
    font-weight: 300;
    line-height: 1.2; /* Increased line height */
    margin-bottom: 20px;
    color: #f4f4f4;
}

.title-section p {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #f4f4f4;
}

/* Form and Image Flex Container */
.form-and-image {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
}

/* Registration Form */
.registration-form {
    background-color: #f9f9f9; /* Same as content background */
    padding: 0;
    flex: 1 1 40%; /* Take up 40% width */
    box-sizing: border-box;
    color: #000;
}

/* Registration Form Inner */
.registration-form-inner {
    background-color: #fff; /* White background */
    border-radius: 10px; /* Same corner radius as registration-form had before */
     border: 2px solid #aabfcd;
    padding: 30px; /* Add padding */
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 25px; /* Stops about 25px under the review stars image */
}

/* Number Plate Image */
.number-plate-image {
    flex: 1 1 60%; /* Take up 60% width */
    text-align: center;
    box-sizing: border-box;
    padding: 20px;
}

.number-plate-image img {
    max-width: 100%;
    height: auto;
}

/* Registration Input */
@font-face {
    font-family: 'charleswright';
    src: url('https://www.carplatesdirect.com/create/laser_charles_wright-webfont.eot?') format('eot'),
         url('https://www.carplatesdirect.com/create/laser_charles_wright-webfont.woff') format('woff');
}

.reg-input {
    width: 100%;
    padding: 20px;
    font-family: 'charleswright', sans-serif;
    font-size: 105px; 
    text-align: center;
    background-color: #ffcf06;
    color: #000;
    border: none;
    border-radius: 10px;
    outline: none;
    margin: 0 0 16px 0;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    white-space: nowrap;
}

/* CTA Button */
.cta-button {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    background-color: red;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #FFA000;
}

.radio-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.radio-buttons input[type="radio"] {
    display: none;
}

.radio-buttons label {
    width: 31%;
    padding: 10px;
    text-align: center;
    background-color: white;
     border: 2px solid #007BFF;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
}

.fromprice {
    margin-top:10px;
}

.radio-buttons input[type="radio"]:checked + label {
    background-color: #007BFF;
    color: white;
}

#error-message {
    color: red;
    margin-top: 5px;
    display: none;
}
        
/* Trustpilot */
.trustpilot {
    margin-top: 20px;
    text-align: center;
}

/* Unique Selling Points */
.usps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #fff;
    padding: 40px 0;
}

.usp {
    flex: 1 1 30%;
    max-width: 30%;
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
}

.usp img {
    max-height: 50px;
    margin-bottom: 10px;
}

.usp h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.usp p {
    font-size: 1em;
}

/* Footer */
footer {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}


@media screen and (max-width: 1024px) {
    .title-section h1 {
        font-size: 3em;
    }

    .usp {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

@media screen and (max-width: 768px) {
    .upgrade {display:none;}
    .title-section h1 {
        font-size: 2.5em;
    }

    .title-section p {
        font-size: 1em;
    }

    .form-and-image {
        flex-direction: column;
    }

    .registration-form,
    .number-plate-image {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0;
    }

    .registration-form {
        margin: 0 10px;
    }

    .usp {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .cta-button {
        font-size: 1em;
    }
}

@media screen and (max-width: 480px) {
    .title-section h1 {
        font-size: 2em;
    }

    .reg-input {
        font-size: 60px;
    }
}
