/* Basic Reset and Font Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #F8E7E3; /* Matched to logo background */
    color: #333;
}

/* Header Bar Styling */
.header-bar {
    background-color: #F8E7E3;
    padding: 20px;
    display: flex;
    justify-content: center; /* Horizontally centers the content inside */
    align-items: center;
}

.centered-header-content {
    display: flex;
    align-items: center; /* Vertically aligns the logo and text */
}

.logo {
    max-width: 85px; /* Adjust the logo size to be smaller */
    height: auto;
  margin-bottom: 20px;
    margin-right: 10px; /* Adds space between the logo and the text */
}

.site-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    /* Removed the display flex from here as it's now on the parent */
}

/* Reusable Components */
section {
    padding: 60px 20px;
    text-align: center;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: #333;
}

.cta-button {
    background-color: #4CAF50; /* Green CTA color */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #45a049;
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.pexels.com/photos/10827307/pexels-photo-10827307.jpeg'); /* New background image */
    background-size: cover;
    background-position: center;
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    max-width: 800px;
    margin-bottom: 40px;
    color: white;
}

/* Process Section */
.process-section {
    background-color: #F8E7E3;
}

.process-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    flex-basis: 300px;
    text-align: center;
}

.process-icon {
    font-size: 3rem;
    color: #333;
    margin-bottom: 15px;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-section p {
    max-width: 700px;
    margin: 0 auto;
}

/* Pop-up Form */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.popup-content h3 {
    color: #333;
}

.popup-content .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
}

.popup-content form input,
.popup-content form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.popup-content form button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
}

/* Inline Contact Form Section */
.contact-form-section {
    background-color: #F8E7E3;
}

.form-offer {
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.inline-form {
    max-width: 600px;
    margin: 0 auto;
}

.inline-form input,
.inline-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.inline-form button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .process-container {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        max-width: 30px;
        margin-right: 5px;
    }

    .site-title {
        font-size: 1.5rem;
    }
}