* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
  }
html, body {
    height: 100%;
    margin: 0;
    width: 100%; /* Ensure body takes full width */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.2;
  font-size: 16px;
}

.section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    width: 100%; /* Ensure sections take full width */
    box-sizing: border-box; /* Include padding in section's total width */
    padding: 80px 20px; /* Default desktop padding */
}

/* --- Figma-inspired Enquiry Form Styles --- */
.form-page {
    background: #fff;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    color: #111;
}

.owner-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-top: 32px;
    margin-bottom: 32px;
    gap: 28px;
}

.owner-photo {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.owner-name {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #111;
    margin-bottom: 0;
    text-transform: uppercase;
    font-family: 'Georgia', 'Times New Roman', serif;
    text-align: left;
}

.divider {
    width: 100%;
    max-width: 600px;
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0 auto 32px auto;
}

.enquiry-form-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 32px 18px 32px 18px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.enquiry-form-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 32px;
    text-align: center;
    font-family: inherit;
    width: 100%;
}

.main-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.main-form label {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
    text-align: left;
}

.main-form input[type="text"],
.main-form input[type="tel"] {
    width: 100%;
    height: 44px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 1rem;
    background: #fafafa;
    color: #222;
    font-family: inherit;
    transition: border 0.2s;
}

.main-form input[type="text"]:focus,
.main-form input[type="tel"]:focus {
    border: 1.5px solid #111;
    outline: none;
}

.phone-input-container {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fafafa;
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    height: 44px;
    overflow: hidden;
}

.phone-input-container .country-code {
    border: none;
    background: #fafafa;
    height: 100%;
    width: 80px;
    font-size: 1rem;
    color: #222;
    padding-left: 10px;
    padding-right: 0;
    border-right: 1.5px solid #e0e0e0;
    outline: none;
}

.phone-input-container input[type="tel"] {
    border: none;
    background: transparent;
    height: 100%;
    padding-left: 12px;
    font-size: 1rem;
    color: #222;
}

.submit-button {
    width: 100%;
    height: 48px;
    background: #181828;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 16px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.submit-button:hover {
    background: #22223b;
}

.required {
    color: #e74c3c;
    font-size: 1.1em;
    margin-left: 2px;
}

@media (max-width: 768px) {
    html, body {
        height: auto;
        min-height: 100%;
    }

    .section {
        height: auto; /* Allow height to adjust based on content */
        min-height: 100vh; /* Ensure minimum height is still full screen */
        padding: 30px 15px;
        justify-content: center;
    }

    .form-page {
        padding: 12px;
    }
}

@media (max-width: 600px) {
    .form-page {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        background: #fff;
    }
    .owner-header {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 24px;
        margin-bottom: 18px;
        gap: 12px;
        width: 100%;
    }
    .owner-photo {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
    }
    .owner-name {
        font-size: 1.1rem;
        text-align: left;
        margin-bottom: 0;
    }
    .divider {
        margin-bottom: 32px;
        margin-top: 0;
    }
    .enquiry-form-container {
        align-items: center;
        margin: 0 auto;
        padding: 32px 16px 32px 16px;
        max-width: 98vw;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    }
    .enquiry-form-title {
        font-size: 1.1rem;
        margin-bottom: 18px;
        text-align: center;
        width: 100%;
        padding-bottom: 18px;
    }
    .main-form {
        gap: 18px;
        align-items: center;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .form-group {
        align-items: center;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .main-form label {
        text-align: left;
        width: 100%;
        padding-left: 2px;
    }
    .main-form input[type="text"],
    .main-form input[type="tel"],
    .phone-input-container {
        width: 100%;
        max-width: 350px;
        min-width: 0;
        box-sizing: border-box;
    }
    .phone-input-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .main-form input[type="text"] {
        text-align: left;
    }
    .submit-button {
        height: 42px;
        font-size: 1rem;
        width: 100%;
    }
}

/* Modern Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the scrollbar track */
    border-radius: 10px; /* Rounded corners for the track */
}

::-webkit-scrollbar-thumb {
    background: #A98467; /* Color of the scrollbar thumb (matching brand color) */
    border-radius: 10px; /* Rounded corners for the thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #8C6F57; /* Darker color on hover */
}

/* For Firefox */
html {
    scrollbar-width: thin; /* "auto" or "thin" */
    scrollbar-color: #A98467 #f1f1f1; /* thumb and track color */
}

.main-form input[type="text"],
.main-form input[type="tel"],
.phone-input-container {
    width: 100%;
    max-width: 400px;
    min-width: 0;
    box-sizing: border-box;
}
