:root {
    --primary-color: #2c3e50; /* Dark Slate Blue */
    --accent-color: #f39c12; /* Vibrant Orange */
    --text-color: #333;
    --bg-light: #f9f9f9;
    --bg-dark: #1a252f;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.dot {
    color: var(--accent-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay for "pattern recognition" feel */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.35;
    pointer-events: none;
}

/* Pattern Breaker Element in Hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    transform: rotate(15deg);
    opacity: 0.1;
    border-radius: 20px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--white);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.secondary-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

/* Subtle underscore for headings */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin-top: 10px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Abstract Visual Block */
.pattern-box {
    position: relative;
    height: 300px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    /* Create a grid pattern */
    background-image: linear-gradient(var(--white) 2px, transparent 2px),
    linear-gradient(90deg, var(--white) 2px, transparent 2px);
    background-size: 40px 40px;
    background-color: #ecf0f1;
}

.pattern-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(243, 156, 18, 0.18), transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(44, 62, 80, 0.18), transparent 50%);
    pointer-events: none;
}

.pattern-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50px;
    left: 50px;
}

.pattern-line {
    position: absolute;
    width: 200px;
    height: 20px;
    background: var(--accent-color);
    bottom: 80px;
    right: -20px;
    transform: rotate(-10deg);
}

/* Philosophy Section */
.dark-bg {
    background-color: var(--bg-dark);
    color: var(--white);
}

.dark-bg h2 {
    color: var(--white);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Expertise List */
.expertise-list {
    list-style: none;
    font-size: 1.1rem;
}

.expertise-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.expertise-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0 20px;
}

footer h2 {
    color: var(--white);
    margin-bottom: 20px;
}

footer h2::after {
    margin: 10px auto 0; /* Center the underline */
}

footer p {
    margin-bottom: 30px;
}

.copyright {
    margin-top: 50px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
}
