/* Global styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #fff;
    padding-top: 50px;
}

/* Define your primary color variables */
:root {
    --primary-color: #707eef; /* Your primary color */
    --secondary-color: #e8f0f7; /* Secondary color */
    --btn-primary-bg: #707eef;
    --btn-secondary-bg: #ced1d3;
    --btn-text-color: #fff;
    --text-color: #333;
    --light-text-color: #777;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color); /* Your desired background color */
    padding: 60px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Limit the width of the entire hero section */
    margin: 0 auto; /* Center the hero section horizontally */
}

.hero-text {
    flex: 1;
    max-width: 50%; /* Ensure it doesn't take full width */
    text-align: center;
    padding-right: 40px;
    margin-left: 0px; /* Bring the text section slightly to the left */
}

.hero h1 {
    color: black;
    font-size: 4rem; /* Increase font size for a bolder headline */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2;
    margin-bottom: 10px;
    white-space: nowrap;
}

.hero h2 {
    color: #424f57;
    font-size: 2rem; /* A bit smaller for the subheading */
    font-weight: 500; /* Medium weight */
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 10px; /* Space between the paragraph and buttons */
}

/* Pricing Section */
.pricing {
    margin: 20px 0;
}

.price {
    font-size: 1.5rem; /* Larger font for price */
    font-weight: bold; /* Bold for emphasis */
    color: #707eef; /* Primary color */
}

.regular-price {
    font-size: 1rem; /* Regular price size */
    text-decoration: line-through; /* Strikethrough for regular price */
    color: #aaa; /* Lighter gray */
}

/* Reviews Section */
.hero-content .reviews {
    font-size: 0.9rem; /* Slightly smaller size for reviews */
    color: #777; /* Gray for reviews */
    margin-top: 20px; /* Space above reviews */
}

/* Button Styling */
.hero-content .btn-light {
    background-color: var(--btn-primary-bg);
    color: var(--btn-text-color);
    padding: 12px 30px; /* Larger button for better clickability */
    border-radius: 5px;
    text-decoration: none;
    margin-top: 0px;
    font-size: 1.1rem; /* Slightly larger button text */
}

/* Image Section */
.hero-image {
    flex: 1;
    max-width: 50%;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    margin-left: 100px; /* Bring the text section slightly to the left */
}

/* Service Boxes */
.service-box {
    background-color: #fff;
    border: 1px solid #e1e1e1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price-details {
    color: var(--light-text-color);
}

.btn-group .btn {
    padding: 8px 20px;
    border-radius: 5px;
    margin-top: 50px;
}

.btn-primary {
    background-color: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
    color: var(--btn-text-color);
}

.btn-secondary {
    background-color: var(--btn-secondary-bg);
    border-color: var(--btn-secondary-bg);
    color: var(--text-color);
}

/* Full Width Background Section */
.full-width-bg {
    background-color: #222d43;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.full-width-bg h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.full-width-bg p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.full-width-bg .btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
}

/* Adjusting the spacing between image and text */
.hero-content {
    gap: 50px; /* Increased space between text and image */
}

/* Responsive Styles for smaller screens */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column; /* Stack the text and image on smaller screens */
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-left: 0; /* Remove negative margin for mobile */
        max-width: 100%;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 20px; /* Add margin to separate from text */
    }

    .btn-light {
        font-size: 1rem;
        padding: 10px 25px; /* Adjust button size for mobile */
    }
}

/* Login and Reset Password Container */
.login-container, .reset-password-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.login-content, .reset-password-content {
    width: 50%; /* Takes half of the screen width */
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Login and Reset Password Container */
.regi-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.regi-content {
    width: 100%; /* Takes half of the screen width */
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image Section for both Login and Reset Password */
.image-section {
    width: 50%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section img {
    width: 100%;
    max-width: 450px; /* Limit image width */
    height: auto;
}

/* Form Header for both Login and Reset Password */
h1 {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

h4 {
    font-size: 1.1rem;
    color: #777;
    text-align: center;
    margin-bottom: 30px;
}

/* Form Fields */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out;
}

.form-control:focus {
    border-color: #707eef;
    outline: none;
}

/* Checkbox & Links */
.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    margin-right: 10px;
}

.forgot-password {
    text-align: right;
}

.forgot-password a {
    color: #707eef;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Button */
.btn-login {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background-color: #707eef;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #5c6adc;
}

/* Register Link */
.register-link {
    text-align: center;
    margin-top: 15px;
}

.register-link a {
    color: #707eef;
    font-size: 0.9rem;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container, .reset-password-container {
        flex-direction: column; /* Stack sections on smaller screens */
    }
    
    .login-content, .reset-password-content,
    .image-section {
        width: 100%;
    }

    .image-section img {
        max-width: 100%;
    }

    .btn-login {
        font-size: 14px;
    }
}
