:root {
    /* Updated Brand Style */
    --primary-color: #001F3F; /* Deep Navy */
    --background-color: #F9F9F9; /* Soft Off-White */
    --accent-color: #0074FF; /* Electric Blue */
    --text-color: #333;
    --light-text-color: #fff;
    --max-width: 1280px;
    --spacing-large: 120px;
}

/* Base Styles & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif; /* Bold, modern sans-serif */
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px; /* Crisp spacing */
}

h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.1; }
h2 { font-size: 2.5rem; font-weight: 800; color: var(--primary-color); }
h3 { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }

/* --- Utility & CTA --- */

.btn {
    display: inline-block;
    padding: 16px 35px; /* Generous padding */
    font-weight: 700;
    border: none;
    cursor: pointer;
    border-radius: 8px; /* Soft rounded rectangle */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

/* --- Header & Navigation --- */
header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--light-text-color);
}

.nav-links a {
    color: var(--light-text-color);
    margin-left: 30px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* --- Section Structure --- */

section {
    padding: var(--spacing-large) 0;
    position: relative;
    overflow: hidden; /* To handle diagonal shapes */
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* --- Hero Section --- */

.hero {
    padding: 150px 0;
    background-color: var(--background-color);
    position: relative;
}

/* Geometric Block: Bold Navy Shape Behind Text */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-color: var(--primary-color);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%); /* Angled shape */
    z-index: 0;
}

.hero .container {
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 1; 
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.hero .cta-buttons .btn {
    margin-right: 20px;
}

/* --- Value Proposition / Card Blocks --- */
.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px; /* Soft rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Accent-blue top bar */
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--accent-color);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.value-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

/* --- AI Automation Subsection (Split Layout) --- */
.ai-automation-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: var(--spacing-large) 0;
}

.ai-content-split {
    display: flex;
    gap: 80px;
    align-items: center;
}

.ai-text {
    flex: 1;
    max-width: 50%;
}

.ai-text h2 {
    color: var(--accent-color);
    margin-bottom: 30px;
}

.ai-diagram {
    flex: 1;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Simple Geometric Diagram (Rectangles, lines, boxes) */
.box {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.box-a { top: 10%; left: 5%; }
.box-b { top: 40%; left: 40%; }
.box-c { top: 70%; left: 75%; }
.arrow {
    position: absolute;
    height: 2px;
    background-color: var(--accent-color);
}
.arrow-ab { width: 30%; transform: rotate(30deg); top: 30%; left: 15%; }
.arrow-bc { width: 30%; transform: rotate(-30deg); top: 60%; left: 50%; }

/* --- Side Services Card Layout --- */
.side-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Micro-shadow */
}

/* --- Why Choose Us (Stats) --- */
.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 50px;
}

.stat-item {
    padding: 0 40px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 2px;
    background-color: rgba(0, 31, 63, 0.1); /* Thin vertical divider */
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 900;
}

.stat-item p {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary-color);
}

/* --- Final CTA Section --- */

.cta-final {
    background-color: var(--primary-color);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-final h2 {
    color: var(--light-text-color);
    font-size: 2.8rem;
    margin-bottom: 40px;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: #b0c4de;
    padding: 40px 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1); /* Thin dividing line */
}

.footer-section a {
    position: relative;
    padding-left: 15px;
}

/* Small geometric markers as bullet points */
.footer-section a::before {
    content: '•'; 
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: 900;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero::before {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    }
    .hero-content {
        max-width: 100%;
        padding: 40px;
    }
    .ai-content-split {
        flex-direction: column;
        gap: 40px;
    }
    .ai-text {
        max-width: 100%;
    }
    .ai-diagram {
        height: 250px;
        width: 100%;
    }
}