:root {
    --color-background: #ffffff;
    --color-surface: #f8f9fa;
    --color-primary-text: #212529;
    --color-secondary-text: #6c757d;
    --color-border: #dee2e6;
    --color-dark: #343a40;
    --font-family: 'Lato', sans-serif;
}

/* Basic Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-primary-text);
    background-color: var(--color-background);
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-secondary-text);
}

img {
    max-width: 100%;
    display: block;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(33, 37, 41, 0.9);
    backdrop-filter: blur(5px);
    padding: 1rem 2rem;
    transition: background-color 0.3s ease;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    color: var(--color-background);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--color-background);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-border);
}

/* Sections */
.content-section {
    padding: 8rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h2 {
    margin-bottom: 3rem;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-dark);
    color: var(--color-background);
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-surface);
    font-weight: 300;
}

/* Services Section (Homepage Cards) */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.25rem;
    margin: 1.5rem 1.5rem 0.5rem;
    color: var(--color-primary-text);
}

.service-card p {
    font-size: 1rem;
    margin: 0 1.5rem 1.5rem;
}


/* Services Page (Detailed View) */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-item {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.service-item__image,
.service-item__text {
    flex: 1;
}

.service-item__image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-item--reverse {
    flex-direction: row-reverse;
}

/* Vendors Section */
.vendors-section p {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.logo-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.logo-track {
    display: flex;
    width: max-content;
}

.logo-track.scrolling {
    animation: scroll 30s linear infinite;
}

.logo-track img {
    height: 60px;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-track img:hover {
    opacity: 1;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* About Us Section */
.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-image {
    flex: 1 1 40%;
}

.about-image img {
    border-radius: 8px;
}

.about-text {
    flex: 1 1 60%;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-surface);
    padding-top: 5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-text);
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--color-dark);
    color: var(--color-background);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--color-secondary-text);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-dark);
    color: var(--color-background);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    text-align: center;
}

.vendors-section .cta-button {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.cta-button:hover {
    background-color: var(--color-secondary-text);
}


/* Footer */
.main-footer {
    background-color: var(--color-dark);
    color: var(--color-background);
    text-align: center;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .content-section {
        padding: 6rem 1rem 3rem;
    }

    .about-content {
        flex-direction: column;
    }

    .service-item,
    .service-item--reverse {
        flex-direction: column;
    }
}
