:root {
    --navy: #102A43; /* Midnight Blue */
    --navy-light: #243B53;
    --navy-dark: #0B1D2E;
    --slate: #708090;
    --slate-light: #a0b0c0;
    --accent: #EAB308; /* Construction Gold */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --border: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

body {
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(16, 42, 67, 0.2);
}

.btn-primary:hover {
    background-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(16, 42, 67, 0.25);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--navy-dark);
    box-shadow: 0 4px 6px rgba(234, 179, 8, 0.2);
}

.btn-accent:hover {
    background-color: #facc15;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(234, 179, 8, 0.3);
}

.btn-nav {
    background-color: var(--white);
    color: var(--navy) !important; /* Ensure visibility over nav-link styles */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.btn-nav:hover {
    background-color: var(--off-white);
    color: var(--navy-dark) !important;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.15rem;
    border-radius: 8px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--navy);
    border-top: 4px solid var(--accent);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    color: var(--navy-dark);
    border-radius: 8px;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--slate-light);
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--navy-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using high-quality unsplash structural/business imagery */
    background-image: linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.9)), url('https://images.unsplash.com/photo-1541888086425-d81bb19240f5?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: zoomAmbient 25s infinite alternate ease-in-out;
}

@keyframes zoomAmbient {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
}

.hero-headline {
    color: var(--white);
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
    letter-spacing: -1px;
}

.hero-subheadline {
    color: var(--slate-light);
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 400; /* Regular weight as requested */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.action-btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
    background-color: var(--white);
    color: var(--navy);
}

.action-btn:hover {
    background-color: var(--off-white);
    color: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Admin Burden Section */
.section {
    padding: 7rem 0;
}

.admin-burden {
    background-color: var(--white);
}

.admin-burden-content .lead {
    font-size: 1.6rem;
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto 4rem;
    font-weight: 400;
    line-height: 1.8;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--slate);
    line-height: 1;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 0px rgba(112, 128, 144, 0.1);
}

.stat-label {
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
}

/* Services */
.bg-light {
    background-color: var(--off-white);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--slate));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 33, 71, 0.1);
    border-color: transparent;
}

.card:hover::after {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(234, 179, 8, 0.1);
    border-radius: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Agentic Advantage */
.why-us {
    background-color: var(--white);
}

.agentic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.agentic-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.advantage-list li {
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--navy);
}

.advantage-list i {
    color: var(--slate);
    font-size: 1.4rem;
}

.agentic-image {
    position: relative;
}

.agentic-image::before {
    content: '';
    position: absolute;
    top: -25px;
    left: -25px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--slate-light);
    border-radius: 20px;
    z-index: 0;
    transition: all 0.4s ease;
}

.agentic-grid:hover .agentic-image::before {
    top: -15px;
    left: -15px;
}

.tech-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 33, 71, 0.15);
    position: relative;
    z-index: 1;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Contact Section */
.contact {
    background-color: var(--off-white);
}

.contact-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(16, 42, 67, 0.3);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.contact-info {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info p {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    line-height: 1.8;
}

.direct-contact {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-item i {
    color: var(--accent);
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent);
}

.footer-contact {
    margin-bottom: 2rem;
    font-weight: 500;
}

.footer-contact a {
    color: var(--white);
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent);
}

.contact-form-container {
    background-color: var(--white);
    padding: 5rem 4rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--slate);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(112, 128, 144, 0.15);
}

.form-message {
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 600;
    min-height: 24px;
}

.form-message.success {
    color: #059669;
}

.form-message.error {
    color: #dc2626;
}

/* Footer */
.footer {
    background-color: var(--navy-dark);
    padding: 4rem 0 3rem;
    text-align: center;
    color: var(--slate-light);
}

.footer-bottom p {
    font-size: 1rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-headline {
        font-size: 4rem;
    }
}

@media (max-width: 850px) {
    .agentic-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .contact-card {
        grid-template-columns: 1fr;
    }
    .contact-info, .contact-form-container {
        padding: 3.5rem 2.5rem;
    }
    .stats-row {
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 8rem;
    }
    .hero-headline {
        font-size: 2.8rem;
    }
    .hero-subheadline {
        font-size: 1.2rem;
    }
    .stats-row {
        flex-direction: column;
        gap: 2.5rem;
    }
}
