/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1A1A1A;
    --secondary-color: #274E36;
    --accent-color: #7C1E29;
    --accent-light: #C7A570;
    --text-primary: #1A1A1A;
    --text-secondary: #3D3D3D;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-light: #f8fafc;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    color: var(--text-primary);
}
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--accent-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary-color);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--background-light);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 4rem;
}

.logo {
    height: 2rem;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'Lato', sans-serif;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .lead {
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat {
    text-align: center;
    margin-bottom: 1.5rem;
}

.stat:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    font-family: 'Lato', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.expertise-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-light);
}

.expertise-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Lato', sans-serif;
}

.expertise-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
            width: 3rem;
            height: 3rem;
            background: var(--accent-light);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: white;
            font-size: 1.5rem;
        }

.service-card h3 {
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.service-list li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Blog Section */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-light);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.blog-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: inherit;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    gap: 2rem;
}

.blog-content {
    flex: 1;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: 'Lato', sans-serif;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-image {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--background-light);
    flex-shrink: 0;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-tag {
    background: var(--background-light);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.blog-error {
    text-align: center;
    padding: 3rem;
    color: var(--accent-color);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Experience Section */
.experience-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-light);
    text-align: left;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.experience-title {
    flex: 1;
}

.experience-title h3 {
    margin-bottom: 0.25rem;
}

.company {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.company:hover {
    color: var(--secondary-color);
}

.company-logo {
    width: 80px;
    height: 40px;
    border-radius: 6px;
    object-fit: contain;
    background: white;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-right: 1rem;
    flex-shrink: 0;
}

.experience-meta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 2rem;
}

.period {
    color: var(--text-light);
    font-size: 0.875rem;
    white-space: nowrap;
    margin-left: 2rem;
}

.experience-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.achievements {
    list-style: none;
}

.achievements li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.achievements li::before {
    content: "▸";
    color: var(--accent-light);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Leadership Section */
.leadership-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.leadership-content h2 {
    margin-bottom: 1.5rem;
}

.leadership-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.leadership-highlight {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
    border-left: 4px solid var(--accent-light);
    display: flex;
    justify-content: space-between;
    align-items: start;
    text-align: left;
}

.leadership-highlight h3 {
    font-family: 'Lato', sans-serif;
    margin-bottom: 0.5rem;
}

.leadership-text {
    flex: 1;
}

.leadership-logo {
    width: 80px;
    height: 40px;
    border-radius: 6px;
    object-fit: contain;
    background: white;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-left: 2rem;
    flex-shrink: 0;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    margin-bottom: 1.5rem;
    font-family: 'Lato', sans-serif;
}

.contact-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-item {
    text-align: center;
}

.contact-icon {
            width: 3rem;
            height: 3rem;
            background: var(--accent-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            color: white;
            font-size: 1.25rem;
        }

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.imgicon {max-width:30px; max-height: auto;}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .experience-meta {
        margin-left: 0;
        justify-content: space-between;
        width: 100%;
    }

    .leadership-highlight {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .leadership-logo {
        margin-left: 0;
        align-self: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
.cta-button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
