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

:root {
    --primary: #1c3a5e;
    --accent: #2a7de1;
    --accent-hover: #1e6bc5;
    --light-bg: #f5f7fa;
    --border: #e0e4ea;
    --text: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }

/* NAVIGATION */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 68px;
    max-width: 1200px;
    margin: 0 auto;
}
.navbar .logo { font-size: 1.25rem; font-weight: 700; color: var(--primary); letter-spacing: -0.3px; }
.navbar .logo span { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 32px; align-items: center; }
.nav-links a { color: var(--text); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; color: var(--white) !important; }

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2a4a7a 60%, #1a5fa8 100%);
    color: var(--white);
    padding: 96px 24px;
    text-align: center;
}
.hero .container { max-width: 800px; margin: 0 auto; }
.hero .eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}
.hero h1 { font-size: 3rem; font-weight: 700; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 36px; }

.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); margin-left: 12px; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }
.btn-secondary { background: var(--primary); color: var(--white); }
.btn-secondary:hover { background: #152d4a; color: var(--white); }

/* SECTIONS */
.section { padding: 80px 24px; }
.section-light { background: var(--light-bg); }
.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .tag {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}
.section-header h2 { font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; letter-spacing: -0.3px; }
.section-header p { font-size: 1.05rem; color: var(--text-light); max-width: 580px; margin: 0 auto; }

/* STATS BAR */
.stats-bar { background: var(--primary); color: var(--white); padding: 40px 24px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.stat-item .number { font-size: 2.4rem; font-weight: 700; color: var(--white); display: block; }
.stat-item .label { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 28px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.service-icon {
    width: 48px;
    height: 48px;
    background: #e8f0fe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}
.service-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }
.service-card .learn-more { display: inline-block; margin-top: 16px; font-size: 0.85rem; font-weight: 600; color: var(--accent); }

/* ABOUT GRID */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-placeholder {
    background: linear-gradient(135deg, #1c3a5e, #2a7de1);
    border-radius: 12px;
    height: 380px;
    position: relative;
    overflow: hidden;
}
.about-img-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(28,58,94,0.7), transparent);
}
.about-content h2 { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; letter-spacing: -0.3px; }
.about-content p { color: var(--text-light); margin-bottom: 16px; line-height: 1.75; }
.about-list { list-style: none; margin: 24px 0; }
.about-list li { padding: 8px 0; padding-left: 24px; position: relative; color: var(--text); font-size: 0.95rem; }
.about-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: var(--white); border-radius: 10px; padding: 28px; border: 1px solid var(--border); }
.testimonial-text { font-size: 0.95rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #2a7de1, #1c3a5e);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 600; font-size: 0.85rem; flex-shrink: 0;
}
.author-info .name { font-weight: 600; font-size: 0.9rem; color: var(--primary); }
.author-info .title { font-size: 0.8rem; color: var(--text-light); }

/* INDUSTRIES */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-item {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; padding: 24px 20px; text-align: center; transition: border-color 0.2s;
}
.industry-item:hover { border-color: var(--accent); }
.industry-item .icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.industry-item span:last-child { font-size: 0.85rem; font-weight: 500; color: var(--text); }

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--primary), #2a4a7a);
    color: var(--white); padding: 80px 24px; text-align: center;
}
.cta-section h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden; transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.blog-card-img {
    height: 180px;
    background: linear-gradient(135deg, #1c3a5e, #2a7de1);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}
.blog-card-body { padding: 24px; }
.blog-card .category-tag {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: var(--accent); margin-bottom: 10px; display: block;
}
.blog-card h3 { font-size: 1rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; line-height: 1.45; }
.blog-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.65; margin-bottom: 16px; }
.blog-card .meta { font-size: 0.78rem; color: var(--text-light); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; font-weight: 600; color: var(--primary); margin-bottom: 16px; }
.contact-info p { color: var(--text-light); margin-bottom: 32px; line-height: 1.7; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-detail .icon { font-size: 1.1rem; margin-top: 2px; }
.contact-detail .detail-text .label {
    font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-light); margin-bottom: 2px;
}
.contact-detail .detail-text .value { font-size: 0.95rem; color: var(--text); }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border);
    border-radius: 6px; font-size: 0.9rem; color: var(--text);
    font-family: inherit; transition: border-color 0.2s; background: var(--white);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* PAGE HERO */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2a4a7a 100%);
    color: var(--white); padding: 64px 24px; text-align: center;
}
.page-hero h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card { text-align: center; }
.team-avatar {
    width: 90px; height: 90px; border-radius: 50%;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700; color: white;
}
.team-card .name { font-size: 1rem; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.team-card .role { font-size: 0.82rem; color: var(--accent); margin-bottom: 8px; font-weight: 500; }
.team-card .bio { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; }

/* VALUES */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { padding: 28px; border-left: 3px solid var(--accent); }
.value-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.value-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* SERVICES DETAIL */
.service-detail { padding: 48px 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.service-detail-label { position: sticky; top: 90px; }
.service-detail-label h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.service-detail-label .icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.service-detail-content h3 { font-size: 1.1rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; margin-top: 24px; }
.service-detail-content h3:first-child { margin-top: 0; }
.service-detail-content p { font-size: 0.95rem; color: var(--text-light); line-height: 1.75; margin-bottom: 12px; }
.service-detail-content ul { list-style: none; margin-bottom: 16px; }
.service-detail-content ul li {
    padding: 6px 0 6px 20px; position: relative;
    font-size: 0.9rem; color: var(--text-light);
}
.service-detail-content ul li::before { content: "–"; position: absolute; left: 0; color: var(--accent); }

/* BLOG POST */
.blog-post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.blog-post-content h1 { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; line-height: 1.3; }
.post-meta { font-size: 0.82rem; color: var(--text-light); margin-bottom: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
.blog-post-content h2 { font-size: 1.4rem; font-weight: 600; color: var(--primary); margin: 32px 0 12px; }
.blog-post-content p { color: var(--text); line-height: 1.8; margin-bottom: 16px; font-size: 0.97rem; }
.blog-post-content ul { margin: 0 0 16px 24px; color: var(--text); line-height: 1.8; font-size: 0.97rem; }
.blog-post-content ul li { margin-bottom: 6px; }
.sidebar-widget { background: var(--light-bg); border-radius: 10px; padding: 24px; margin-bottom: 24px; }
.sidebar-widget h4 {
    font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: var(--primary); margin-bottom: 16px;
}
.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--text); }
.sidebar-widget ul li a:hover { color: var(--accent); }

/* BREADCRUMB */
.breadcrumb { background: var(--light-bg); padding: 12px 24px; font-size: 0.82rem; color: var(--text-light); border-bottom: 1px solid var(--border); }
.breadcrumb .container { display: flex; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent); }

/* PROCESS */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-step { text-align: center; padding: 0 12px; }
.step-number {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--accent); color: white;
    font-size: 1.2rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.process-step h3 { font-size: 1rem; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* FOOTER */
.footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 56px 24px 24px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 12px; display: block; }
.footer-brand .logo span { color: #5ba4f5; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 34px; height: 34px; background: rgba(255,255,255,0.1);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7); font-size: 0.75rem; font-weight: 700;
    transition: background 0.2s; text-decoration: none;
}
.social-links a:hover { background: rgba(255,255,255,0.2); color: white; }
.footer-col h4 {
    font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--white); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.8rem; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }

/* RESPONSIVE */
@media (max-width: 960px) {
    .services-grid, .testimonials-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid, .blog-post-layout { grid-template-columns: 1fr; }
    .stats-grid, .industries-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .service-detail-grid { grid-template-columns: 1fr; }
    .service-detail-label { position: static; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .services-grid, .testimonials-grid, .blog-grid, .stats-grid, .industries-grid, .team-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero h1 { font-size: 1.8rem; }
    .section-header h2 { font-size: 1.7rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .process-steps, .values-grid { grid-template-columns: 1fr; }
    .btn-outline { margin-left: 0; margin-top: 12px; }
}
