body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background-color: #f4f6f8;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #1f2937;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav {
    margin-top: 10px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

section {
    background: #ffffff;
    margin: 20px;
    padding: 20px;
    border-radius: 6px;
}

h2 {
    color: #1f2937;
}

ul {
    padding-left: 20px;
}

footer {
    background-color: #1f2937;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
.main-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 6px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #1f2937;
    padding: 15px 20px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    max-width: 180px;
    height: auto;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    nav {
        margin-top: 10px;
    }
}
.hero {
    position: relative;
    text-align: center;
}

.hero img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(31, 41, 55, 0.75);
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 6px;
}

.hero-text h2 {
    margin: 0;
    font-size: 28px;
}

.hero-text p {
    margin-top: 10px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .hero-text {
        width: 90%;
        padding: 15px;
    }

    .hero-text h2 {
        font-size: 22px;
    }
}
.services {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.service-item {
    background: #f9fafb;
    padding: 25px;
    border-radius: 8px;
}

.service-item img {
    width: 60px;
    margin-bottom: 15px;
}

.service-item h3 {
    margin-bottom: 10px;
    color: #1f2937;
}
.cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    background-color: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #1d4ed8;
}
.contact {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    text-align: center;
}

.contact h2 {
    margin-bottom: 15px;
    color: #1f2937;
}

.contact p {
    margin-bottom: 15px;
    font-size: 16px;
}
/* MOBILE OPTIMIZATION - SAFE VERSION */
@media (max-width: 768px) {

    /* Header */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    nav {
        width: 100%;
        background-color: #1f2937;
        position: relative;
    }

    nav a {
        display: block;
        padding: 10px 0;
        text-align: center;
    }

    /* Hero Section */
    .hero img {
        width: 100%;
        height: auto;
        display: block;
    }

    .hero-text {
        width: 90%;
        padding: 15px;
    }

    .hero-text h2 {
        font-size: 22px;
    }

    .hero-text p {
        font-size: 14px;
    }

    /* Services */
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Section */
    .contact {
        margin: 30px 15px;
        padding: 20px;
    }
}
@media (max-width: 768px) {
    .site-header,
    nav {
        position: relative !important;
        height: auto !important;
    }
}
body {
    padding-top: 80px;
}
html, body {
    overflow-x: hidden;
}
/* UNIVERSAL CONTENT SPACING */
.content-box {
    background: #ffffff;
    margin: 20px auto;
    padding: 25px;
    border-radius: 8px;
    max-width: 1100px;
}
/* MOBILE EDGE SAFETY */
@media (max-width: 768px) {
    .content-box {
        margin-left: 15px;
        margin-right: 15px;
        padding: 20px;
    }
}

.contact-form {
    max-width: 500px;
    margin-top: 20px;
}

.contact-form label {
    display: block;
    margin-top: 12px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

.contact-form button {
    margin-top: 15px;
    padding: 10px;
    background-color: #0077cc;
    color: white;
    border: none;
    cursor: pointer;
}

.consent-checkbox {
    margin-top: 12px;
    font-size: 14px;
}

.privacy-note {
    font-size: 13px;
    margin-top: 8px;
}
.policy-link {
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
}
.policy-link {
    text-align: center;
    margin: 30px 0;
    font-weight: 500;
}
/* Contact section container */
.contact {
    max-width: 600px;
    margin: 60px auto;
    padding: 30px;
    text-align: center;
}

/* Contact form layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* Labels */
.contact-form label {
    text-align: left;
    font-weight: 500;
}

/* Inputs & textarea */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Checkbox consent */
.consent-checkbox {
    font-size: 13px;
    text-align: left;
    margin-top: 10px;
}

/* Submit button */
.contact-form button {
    margin-top: 15px;
    padding: 12px;
    font-size: 15px;
    background-color: #1e3a8a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #163172;
}

/* Privacy note */
.privacy-note {
    font-size: 13px;
    margin-top: 10px;
}
a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}