/* Reset & Base Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --text-color: #1a1a1a;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f4f4f4;
    --bg-dark: #111111;
    --accent-color: #e0e0e0;
    --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
}

/* Header */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

header.scrolled {
    border-bottom: 1px solid var(--accent-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Section */
.stats {
    padding: var(--spacing-lg) 0;
    background-color: #fff;
    border-top: 1px solid var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    text-align: left;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Services / Categories */
.services {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h2 {
    font-size: 3rem;
    max-width: 600px;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.service-item {
    display: grid;
    grid-template-columns: 0.5fr 2fr 1fr;
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--accent-color);
    align-items: flex-start;
}

.service-item:last-child {
    border-bottom: 1px solid var(--accent-color);
}

.service-number {
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-info h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.service-info p {
    color: var(--text-light);
    max-width: 500px;
}

.service-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tag {
    font-size: 0.8rem;
    padding: 4px 12px;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    color: var(--text-light);
}

/* Featured / Blog Grid */
.featured {
    padding: var(--spacing-xl) 0;
}

.featured-header {
    margin-bottom: var(--spacing-lg);
}

.featured-header h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
    background-color: var(--bg-light);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-excerpt {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* Testimonial */
.testimonial {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-dark);
    color: #fff;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    font-size: 4rem;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--spacing-md);
}

.quote-text {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.quote-author {
    font-size: 1.1rem;
    font-weight: 600;
}

.quote-role {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* FAQ Section */
.faq {
    padding: var(--spacing-xl) 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--accent-color);
    padding: var(--spacing-md) 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: var(--spacing-sm);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: #fff;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    color: #999;
    max-width: 400px;
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
    border-radius: 4px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-col h4 {
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #999;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.8rem;
}

/* Article Page Specifics */
.article-header {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.article-meta {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    margin-top: var(--spacing-md);
    font-size: 2rem;
}

.article-content p {
    margin-bottom: var(--spacing-sm);
}

.article-content ul, .article-content ol {
    margin-bottom: var(--spacing-sm);
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content img {
    margin: var(--spacing-md) 0;
    border-radius: var(--border-radius);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .service-info, .service-tags, .service-number {
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .article-header h1 {
        font-size: 2rem;
    }
}
