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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: 0.005em;
    color: #111827;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Professional typography scale */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    letter-spacing: -0.01em;
    line-height: 1.16;
    color: #111827;
}

h1 {
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.012em;
}

h2 {
    font-weight: 600;
}

h3, h4 {
    font-weight: 600;
}

p {
    font-size: 1rem;
    line-height: 1.65;
    color: #4b5563;
}

small,
.text-sm {
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: 0.003em;
}

/* Navigation and utility text refinement */
nav button,
nav a {
    font-size: 0.92rem;
    letter-spacing: 0.006em;
}

/* Form readability */
label {
    font-size: 0.9rem;
    letter-spacing: 0.004em;
}

input,
select,
textarea,
button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f59e0b, #d97706);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #b45309, #92400e);
    }

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

    .lightbox.active {
        display: flex;
    }

    .lightbox img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lightbox-close:hover {
        color: #d1d5db;
    }

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

    .mobile-menu.active {
        max-height: 500px;
    }

/* Image loading fallback */
img {
    background-color: #f3f4f6;
}

/* Hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

    .hover-scale:hover {
        transform: scale(1.05);
    }

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Client logo marquee animation */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    display: inline-flex;
    min-width: max-content;
    animation: scroll-logos 28s linear infinite;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .animate-scroll {
        animation: none;
    }
}


