/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root{
    --brand-blue: #007BFF;
    --text-dark: #1f2937;   /* slightly muted for smooth look */
    --muted: #556070;
    --bg-weak: rgba(255,255,255,0.85);
    --max-width: 1100px;
}

/* Use Inter for a light, smooth feel */
body {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: var(--text-dark);
    background: white;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* Header */
header {
    background: white;
    padding: 14px 0;
    box-shadow: 0 2px 6px rgba(16,24,40,0.06);
    position: sticky;
    top: 0;
    z-index: 50;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 46px;
    display: block;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: color .18s ease;
}
nav a:hover { color: var(--brand-blue); }

/* Hero Section with Background Image */
.hero {
    position: relative;
    background: linear-gradient(rgba(2,6,23,0.55), rgba(2,6,23,0.55)),
                url('images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 110px 20px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 14px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.lead {
    color: rgba(255,255,255,0.92);
    font-weight: 300;
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 26px;
    background: var(--brand-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(3,102,214,0.18);
    transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-3px); }

/* Section base */
.section {
    padding: 60px 20px;
}

.section h2 {
    text-align: center;
    margin-bottom: 22px;
    font-size: 1.6rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* About Section specifics - light & smooth */
.about-section {
    background: url('images/about-pattern.png') center/cover no-repeat;
    backdrop-filter: blur(1px);
}

.about-text {
    max-width: 820px;
    margin: 0 auto;
    color: rgba(31,41,55,0.95);
    font-weight: 300;           /* LIGHT */
    font-size: 1.02rem;
    line-height: 1.9;           /* airy spacing for smooth reading */
    letter-spacing: 0.2px;
    padding: 6px 10px;
    text-align: center;
}

/* Services Section */
.section.dark {
    background: linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
                url('images/services-bg.jpg') center/cover no-repeat;
    backdrop-filter: blur(1px);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.service-card {
    background: white;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(16,24,40,0.06);
}

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

/* Brick Animation */
.brick-animation {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-rows: repeat(3, 48px);
    gap: 6px;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

.brick-row {
    display: flex;
    gap: 6px;
}

.brick {
    width: 78px;
    height: 48px;
    background: linear-gradient(#0b78ff,#0067d4);
    border-radius: 6px;
    transform: translateY(-200px);
    animation: dropIn 1s cubic-bezier(.2,.9,.3,1) forwards;
    box-shadow: 0 8px 20px rgba(3,102,214,0.08);
}

.brick-row:nth-child(1) .brick:nth-child(1) { animation-delay: 0.18s; }
.brick-row:nth-child(1) .brick:nth-child(2) { animation-delay: 0.36s; }
.brick-row:nth-child(1) .brick:nth-child(3) { animation-delay: 0.54s; }

.brick-row:nth-child(2) .brick:nth-child(1) { animation-delay: 0.72s; }
.brick-row:nth-child(2) .brick:nth-child(2) { animation-delay: 0.9s; }
.brick-row:nth-child(2) .brick:nth-child(3) { animation-delay: 1.08s; }

.brick-row:nth-child(3) .brick:nth-child(1) { animation-delay: 1.26s; }
.brick-row:nth-child(3) .brick:nth-child(2) { animation-delay: 1.44s; }
.brick-row:nth-child(3) .brick:nth-child(3) { animation-delay: 1.62s; }

@keyframes dropIn {
    0% { transform: translateY(-220px) scaleY(.98); opacity: 0; }
    70% { transform: translateY(6px) scaleY(1.02); opacity: 1; }
    100% { transform: translateY(0) scaleY(1); }
}

/* Footer */
footer {
    background: #0b1620;
    color: #dbeafe;
    text-align: center;
    padding: 14px 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 { font-size: 2rem; }
    .lead { font-size: 1rem; }
    .brick { width: 56px; height: 36px; }
}

@media (max-width: 480px) {
    header .container { padding: 0 12px; }
    .hero { padding: 84px 18px; min-height: 420px; }
    .about-text { font-size: 0.98rem; padding: 8px 12px; }
}

form input, form textarea {
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}
form input:focus, form textarea:focus {
    border-color: var(--brand-blue);
}