/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: #f6f6f2;
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* z-index: 1000; */
}

main {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    position: fixed;
    top: 110px;
    bottom: 80px;
    left: 0;
    right: 0;
    /* background-color: #fafaf8; */
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Navigation */
.navbar {
    
    /* padding: 1rem; */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Added styles for logo image */
.logo img {
    max-width: 150px;
    height: auto;
    /* mix-blend-mode: multiply; */
    /* background-color: #8ab495; */
}

/* Navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li a {
    color: #000;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.nav-toggle {
    display: none;
}

/* Hero section */
.hero {
    position: relative;
    text-align: center;
    padding: 1rem 2rem;
}

.placeholder-img {
    background-color: #f0f0f0;
    /* padding: 2rem; */
    text-align: center;
    /* margin: 1rem 0; */
    border: 1px  #ccc;
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.hero-text {
    margin-top: 2rem;
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.hero-text p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-text p:last-child {
    margin-bottom: 0;
}

/* Services preview */
/* .services-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
} */

.service-card {
    padding: 1rem;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 1rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        width: 100%;
        position: fixed;
        top: 70px; /* Adjust based on your header height */
        left: 0;
        background-color: #3A4D3F;
        flex-direction: column;
        padding: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}

/* Webkit browsers (Chrome, Safari, newer Edge) */
main::-webkit-scrollbar {
    width: 8px; /* Scrollbar width */
}

main::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
    border-radius: 4px;
}

main::-webkit-scrollbar-thumb {
    background: #888; /* Scrollbar color */
    border-radius: 4px;
    transition: background 0.3s;
}

main::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker on hover */
}

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

/* Optional: You might want to adjust heading sizes for Merriweather */
h1 {
    font-weight: 700; /* Bold */
    line-height: 1.3;
    letter-spacing: -0.5px;
}

h2 {
    font-weight: 600; /* Semi-bold */
    line-height: 1.3;
}

p {
    font-weight: 400; /* Regular weight for body text */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    width: 100%; /* ensure full width */
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(1, 1fr); /* explicitly set to single column */
        width: 100%;
        gap: 1rem;
        padding: 1rem;
    }
}

.contact-section {
    padding-inline: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-section > p {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.contact-form {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.contact-info {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 1rem;
    }
}