* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    background-color: #f5f5f7;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */

.site-header {
    background: #0b1b2b;
    color: #fff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-weight: 700;
    font-size: 1.1rem;
}

.main-nav a {
    margin-left: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.main-nav a:hover {
    opacity: 1;
}

/* Hero */

.hero {
    background: linear-gradient(135deg, #0b1b2b, #1d3f5f);
    color: #fff;
    padding: 60px 0 70px;
}

.hero-small {
    padding: 40px 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.hero-text p {
    max-width: 640px;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-highlight {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 16px;
    max-width: 380px;
    background: rgba(0, 0, 0, 0.2);
}

/* Sections */

.section {
    padding: 50px 0;
}

.section-alt {
    background: #ffffff;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.section-intro {
    max-width: 700px;
    margin-bottom: 20px;
}

/* Cards / grids */

.cards-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 18px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.card h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

/* Features */

.feature h3 {
    margin-bottom: 6px;
}

/* CTA */

.cta-section {
    background: #0b1b2b;
    color: #fff;
}

.cta-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn.primary {
    background: #ffb300;
    color: #0b1b2b;
    font-weight: 600;
}

.btn.primary:hover {
    filter: brightness(0.95);
}

.btn.secondary {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn.secondary:hover {
    background: rgba(255,255,255,0.1);
}

.btn.link-btn {
    margin-top: 10px;
}

/* Services page */

.service-block {
    margin-bottom: 32px;
}

.service-block h2 {
    margin-bottom: 8px;
}

.service-block ul {
    margin-left: 18px;
    margin-top: 8px;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 24px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font: inherit;
    background: #fff;
}

.form-message {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #0c7a26;
}

/* Footer */

.site-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 30px 0 10px;
    margin-top: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-content h3,
.footer-content h4 {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Responsive */

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .main-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 8px;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    .logo-img {
    height: 40px;
    width: auto;
    display: block;
}
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.project-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    object-fit: cover;
}
.form-message {
    margin-top: 15px;
    font-weight: 500;
}
.form-message.success {
    color: #0c7a26;
}
.form-message.error {
    color: #b71c1c;
}
}
