/* CSS for Hustle Mentality Website */

/* General Styles */
body {
    font-family: Calibri, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #E63946;
    color: white;
    padding: 14px;
    display: flex;
    width: calc(100% - 20px);
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 150px;
}

nav {
    display: flex;
    gap: 13px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav a:hover {
    text-decoration: underline;
}

.search-bar {
    position: relative;
    width: 190px; /* Make the search bar responsive */
    max-width: 190px; /* Max width to prevent overflow */
    margin: 0 auto; /* Center horizontally */
    padding: 0 10px; /* Add padding for space */
    box-sizing: border-box; /* Prevents overflow due to padding */
}

.search-input {
    font-family: Calibri, sans-serif;
    font-size: 16px;
    color: #333;
    width: 100%; /* Fill the width of the container */
    padding: 10px 30px 10px 10px; /* Adjust padding to make space for the icon */
    border: 2px solid #E63946;
    border-radius: 5px;
    outline: none;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensures padding doesn't cause overflow */
}

.search-input::placeholder {
    color: #aaa;
}

.search-icon {
    position: absolute;
    right: 20px; /* Position the icon to the right */
    top: 45%; /* Vertically center the icon */
    transform: translateY(-50%);
    font-size: 25px;
    color: #E63946;
    cursor: pointer;
    pointer-events: none;
}





/* Main Section */
.main-section {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.newsletter {
    flex: 1;
    padding: 20px;
}

.newsletter h2 {
    font-size: 24px;
}

.newsletter p {
    font-size: 16px;
    margin-bottom: 20px;
}

.newsletter input[type="email"] {
    padding: 15px;
    font-size: 16px;
    width: 70%;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.newsletter button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #E63946;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.newsletter button:hover {
    background-color: #d62828;
}

/* Quote Section */
.quote {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.quote h1 {
    font-size: 36px;
    margin: 0;
}

.quote h1 .highlight {
    font-style: italic;
    font-size: 64px;
    color: #E63946;
    position: relative;
    top: 10px;
}

.quote h1:nth-of-type(3) {
    position: relative;
    top: -18px; /* Moves it up by 18 pixels */
}

.divider {
    border-top: 2px solid #ddd;
    margin: 20px 0;
}

/* Blog Cards */
.blogs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    text-align: center;
}

.blog-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.blog-card h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

.blog-card p {
    font-size: 14px;
    color: #555;
}

.center-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensure it spans the full width */
}

.center-button button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #E63946;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.center-button button:hover {
    background-color: #d62828;
}

.success-story {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    margin: 30px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: inset 0 0 0 3px #E63946; /* Inner border effect */
    display: block;
    padding: 0;
    margin: 0;
}


.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: #333;
}

.testimonial-name {
    font-size: 14px;
    font-weight: bold;
    color: #E63946;
}

/* Centered Search Section */
.search-container {
    text-align: center;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
    gap: 20px;
}

.search-container h2 {
    font-size: 32px;
    color: #E63946;
    margin-bottom: 20px;
}

.search-container form {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.search-container input[type="text"] {
    padding: 15px;
    font-size: 16px;
    width: 60%;
    max-width: 400px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-container button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #E63946;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.search-container button:hover {
    background-color: #d62828;
}
/* Suggestion Button Container */
.suggestion-button-container {
    text-align: center; /* Center the button */
    margin-top: 20px; /* Add some spacing above the button */
}

/* Suggestion Button */
.suggestion-button {
    background-color: #E63946;
    color: white; /* White text */
    padding: 10px 20px; /* Button padding */
    font-size: 16px; /* Font size */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth hover transition */
}

.suggestion-button:hover {
    background-color: #d62828; /* Darker green on hover */
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 14px;
    gap: 5px;
}

.twitter {
  margin-left: 5px;
}
.feedback-link {
    text-align: right; /* Aligns the <a> inside it */
    width: 100%; /* Ensures the container spans the full width */
}
.feedback-link a {
    color: black;
    text-decoration: none;
    font-size: 14px;
    margin-right: 12px;
}
.feedback-link a:hover {
    text-decoration: underline;
}
