/* ==========================================================================
   1. Reset & Base Styles (Slimmed Down)
   ========================================================================== */

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
strong,
em,
ol,
ul,
li,
form,
label,
footer,
header,
nav,
section,
main,
button,
input,
textarea {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

label {
    cursor: pointer;
}

button,
input,
select,
textarea {
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    font-family: inherit;
    font-size: 100%;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
/* ADDED type="tel" here */
textarea {
    -webkit-appearance: none;
}

/* ==========================================================================
   2. Global Site Styles
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 18px;
    line-height: 1.45;
    color: #303336;
    background-color: #BEBFB5;
}

.page-content-container {
    padding-top: 70px;
    padding-bottom: 70px;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: #2576eb;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

a:active {
    outline: 0;
    color: #114691;
}

.container {
    position: relative;
    margin: 0 auto;
    padding-left: 4%;
    padding-right: 4%;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

h1,
.h1 {
    font-size: 2em;
    line-height: 1.1;
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

h2,
.h2 {
    font-size: 1.5em;
    line-height: 1.25;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1em;
    text-align: center;
    text-transform: uppercase;
}

h3,
.h3 {
    font-size: 1.125em;
    line-height: 1.4;
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

p,
.p {
    margin-bottom: 1em;
    font-size: 1em;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

/* ==========================================================================
   3. Navigation Bar
   ========================================================================== */
nav#navbar {
    background-color: #000000;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

nav#navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

nav#navbar ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
}

nav#navbar ul li {
    margin-left: 22px;
    white-space: nowrap;
}

nav#navbar ul li:first-child {
    margin-left: 0;
}

nav#navbar ul li a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: color 0.2s ease;
    display: block;
    padding: 5px 0;
}

nav#navbar ul li a:hover {
    color: #bbbec4;
    text-decoration: none;
}

/* ==========================================================================
   4. Full Page Section Layout & Content Card Styling
   ========================================================================== */
.full-page-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    box-sizing: border-box;
    width: 100%;
    background-color: transparent;
}

.section-content-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-card {
    width: 100%;
    max-width: 900px;
    padding: 40px 30px;
    box-sizing: border-box;
    border-radius: 12px;
    text-align: center;
}

.content-card.bg-lighter {
    background-color: #F5F5F5;
}

.content-card.bg-light-alt {
    background-color: #EAEAEA;
}

.content-card.bg-medium {
    background-color: #DCDCDC;
}

.content-card.bg-base {
    background-color: #BEBFB5;
}

.content-card .container h2 {
    margin-top: 0;
    margin-bottom: 1.2em;
}

/* ==========================================================================
   5. Hero Section (Home - index.php)
   ========================================================================== */
header.hero#hero {
    background-color: transparent;
}

.logo {
    margin-bottom: 25px;
    max-width: 70%;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

header.hero#hero h1 {
    font-size: 1.75em;
    color: #222;
    margin-top: 0;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header.hero#hero .tagline {
    font-size: 1.125em;
    color: #303336;
    max-width: 680px;
    margin: 0 auto 1.5em auto;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    box-sizing: border-box;
    padding: 0.6em 1.5em;
    font-size: 0.92em;
    line-height: normal !important;
    border: 1px solid #000000;
    text-align: center;
    font-weight: 600;
    color: #FFFFFF;
    background: #000000;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #333333;
    color: #FFFFFF;
    text-decoration: none;
    transform: translateY(-1px);
}

.cta-button:active {
    background: #1a1a1a;
    transform: translateY(0px);
}

/* ==========================================================================
   6. Content Sections (About, Services, Testimonials, Contact, Social)
   ========================================================================== */
.content-card .container p {
    text-align: left;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.content-card .container .intro-contact-text,
.content-card .container .social-intro-text {
    text-align: center;
}

section#services .content-card .container {
    text-align: center;
}

section#services ul {
    list-style: none;
    padding-left: 0;
    margin: 1em auto 0 auto;
    text-align: left;
    max-width: 500px;
    display: inline-block;
}

section#services ul li {
    margin-bottom: 0.7em;
    padding-left: 1.5em;
    position: relative;
    font-size: 1em;
}

section#services ul li::before {
    content: "✓";
    color: #303336;
    font-weight: 700;
    position: absolute;
    left: 0;
}

section#testimonials .content-card {
    background-color: transparent !important;
    padding: 0;
}

.testimonials-grid {
    width: 100%;
}

.testimonial {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 1.25em 1.5em;
    margin: 0 auto 1.4em auto;
    border-radius: 0.5em;
    border: 1px solid rgba(0, 7, 17, .09);
    text-align: left;
    max-width: 600px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 0.7em;
    font-size: 0.95em;
    text-align: left;
}

.testimonial .author {
    font-weight: 600;
    text-align: right;
    color: #303336;
    font-style: normal;
    font-size: 0.9em;
}

section#contact .content-card .container {
    text-align: center;
}

.contact-form {
    max-width: 600px;
    width: 100%;
    margin: 1.4em auto 0 auto;
    text-align: left;
}

.contact-form>div {
    margin-bottom: 1.2em;
}

.contact-form>div:last-of-type {
    margin-bottom: 1.5em;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    font-size: 0.9em;
    color: #303336;
}

/* UPDATED: Input, Tel, Textarea styling */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
/* Included tel here */
.contact-form textarea {
    box-sizing: border-box;
    padding: .5em .6em;
    font-size: .92em;
    line-height: normal !important;
    border: 1px solid #dfe3e8;
    background: #eceef0;
    /* This is the light grey background you liked */
    border-radius: .4em;
    width: 100%;
    margin-bottom: 0;
    font-family: inherit;
    color: #303336;
    /* Ensure typed text has good contrast */
}

/* Consistent Placeholder Styling */
.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form input[type="tel"]::placeholder,
.contact-form textarea::placeholder {
    color: #818489;
    opacity: 1;
}

.contact-form input[type="text"]::-moz-placeholder,
.contact-form input[type="email"]::-moz-placeholder,
.contact-form input[type="tel"]::-moz-placeholder,
.contact-form textarea::-moz-placeholder {
    color: #818489;
    opacity: 1;
}

.contact-form input[type="text"]:-ms-input-placeholder,
.contact-form input[type="email"]:-ms-input-placeholder,
.contact-form input[type="tel"]:-ms-input-placeholder,
.contact-form textarea:-ms-input-placeholder {
    color: #818489;
    opacity: 1;
}

.contact-form input[type="text"]::-ms-input-placeholder,
.contact-form input[type="email"]::-ms-input-placeholder,
.contact-form input[type="tel"]::-ms-input-placeholder,
.contact-form textarea::-ms-input-placeholder {
    color: #818489;
    opacity: 1;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(37, 118, 235, .75);
    outline: 0;
    background: #fff;
    /* White background on focus */
}

.contact-form textarea {
    min-height: 6em;
}

.contact-form button[type="submit"].cta-button {
    width: 100%;
    margin-top: 0.7em;
}

section#contact p.direct-contact-info {
    margin-top: 1.4em;
    font-size: 0.95em;
    color: #000000;
    text-align: center;
}

section#contact p.direct-contact-info a {
    color: #FFFFFF;
    font-weight: 600;
    background-color: #303336;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

section#contact p.direct-contact-info a:hover {
    text-decoration: underline;
    background-color: #555;
}

section#social-media .content-card .container {
    text-align: center;
}

.social-links-placeholder {
    margin-top: 1em;
}

.social-links-placeholder p {
    margin-bottom: 0.5em;
    font-size: 1.05em;
    text-align: center;
}

.social-links-placeholder strong {
    color: #111;
}

/* Contact Form Messages */
.form-success-message,
.form-error-message {
    padding: 1em;
    margin: 0 auto 1.5em auto;
    max-width: 600px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    border-width: 1px;
    border-style: solid;
    box-sizing: border-box;
}

.form-success-message {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.form-error-message {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    padding: 12px 0;
    font-size: .80em;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
    z-index: 990;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.15);
}

footer .container {
    padding-top: 0;
    padding-bottom: 0;
}

footer p {
    margin-bottom: 0.2em;
    color: #bbbec4;
}

footer p:last-child {
    margin-bottom: 0;
}

footer a {
    color: #fff;
    font-weight: 500;
}

footer a:hover {
    color: #BEBFB5;
    text-decoration: underline;
}

/* ==========================================================================
   8. Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
    body {
        font-size: 17px;
    }

    .page-content-container {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    h2,
    .h2 {
        font-size: 1.3em;
        margin-top: 0;
        margin-bottom: 0.8em;
    }

    header.hero#hero h1 {
        font-size: 1.5em;
    }

    header.hero#hero .tagline {
        font-size: 1.05em;
    }

    nav#navbar ul li {
        margin-left: 18px;
    }

    nav#navbar ul li a {
        font-size: 0.75em;
        letter-spacing: 0.3px;
    }

    .full-page-section {
        padding: 30px 15px;
    }

    .content-card {
        padding: 30px 20px;
    }

    .logo {
        max-width: 60%;
    }

    footer {
        padding: 10px 0;
        font-size: 0.75em;
    }
}

@media (max-width: 620px) {
    .page-content-container {
        padding-top: 85px;
        padding-bottom: 60px;
    }

    nav#navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav#navbar ul li {
        margin: 5px 8px;
    }

    nav#navbar ul li a {
        font-size: 0.78em;
    }

    footer {
        padding: 8px 0;
        font-size: 0.7em;
    }

    footer p {
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .page-content-container {
        padding-top: 80px;
        padding-bottom: 55px;
    }

    header.hero#hero h1 {
        font-size: 1.3em;
    }

    header.hero#hero .tagline {
        font-size: 1em;
    }

    .cta-button {
        padding: 0.5em 1.2em;
        font-size: 0.85em;
    }

    h2,
    .h2 {
        font-size: 1.2em;
    }

    .full-page-section {
        padding: 20px 10px;
    }

    .content-card {
        padding: 25px 15px;
    }

    .contact-form {
        max-width: 95%;
    }

    footer {
        padding: 6px 0;
        font-size: 0.65em;
    }

    footer .container {
        max-width: 95%;
    }
}