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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Header & Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #797979;
    text-decoration: none;
}

.logo span {
    color: #333;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #797979;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #797979 0%, #5a5a5a 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: #797979;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #5a5a5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Section Styles */
.section {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Categories */
.service-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.service-card {
    flex: 0 1 350px;
    width: 350px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #797979;
}

/* Colored accents for service cards */
.service-card.accent-1 {
    border-left-color: #2c2c2c;
}

.service-card.accent-2 {
    border-left-color: #4a4a4a;
}

.service-card.accent-3 {
    border-left-color: #686868;
}

.service-card.accent-4 {
    border-left-color: #797979;
}

.service-card.accent-5 {
    border-left-color: #8a8a8a;
}

.service-card.accent-6 {
    border-left-color: #9b9b9b;
}

.service-card.accent-7 {
    border-left-color: #acacac;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #797979;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Portfolio Grid */
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.portfolio-card {
    flex: 0 1 350px;
    width: 350px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #797979 0%, #5a5a5a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.portfolio-card .tech-stack {
    color: #797979;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.portfolio-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.portfolio-card ul {
    list-style: none;
    padding-left: 0;
}

.portfolio-card ul li {
    color: #666;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.portfolio-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #797979;
    font-weight: 700;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #797979 0%, #5a5a5a 100%);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: #797979;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.blog-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #797979;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #5a5a5a;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #797979 0%, #5a5a5a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.expertise-list {
    list-style: none;
    padding-left: 0;
}

.expertise-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
}

.expertise-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #797979;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-item a {
    color: #797979;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #5a5a5a;
}

.contact-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #f5f5f5;
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
}

.footer p {
    color: #666;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin-top: 20px;
}

.footer-links a {
    color: #797979;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #333;
}

/* Placeholder/Coming Soon */
.placeholder {
    text-align: center;
    padding: 100px 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.placeholder h2 {
    font-size: 2rem;
    color: #797979;
    margin-bottom: 15px;
}

.placeholder p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .container {
        padding: 40px 20px;
    }
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 40px auto 0;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #797979;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message:not(:empty) {
    display: block;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Blog Posts */
.blog-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.blog-card {
    flex: 0 1 380px;
    width: 380px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.blog-card-header h2,
.blog-card-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.blog-card-header h2 a,
.blog-card-header h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-header h2 a:hover,
.blog-card-header h3 a:hover {
    color: #797979;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.blog-date,
.blog-author {
    display: inline-block;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.blog-tag {
    background: #f5f5f5;
    color: #797979;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-read-more {
    background: #797979;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-start;
    display: inline-block;
}

.blog-read-more:hover {
    background: #5a5a5a;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Individual Blog Post */
.blog-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.blog-post-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 30px;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    gap: 15px;
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-post-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin: 40px 0 20px 0;
}

.blog-post-content h4 {
    font-size: 1.4rem;
    color: #333;
    margin: 30px 0 15px 0;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-post-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d63384;
}

.blog-post-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    color: #f8f8f2;
    font-size: 0.9rem;
}

.blog-post-content a {
    color: #797979;
    text-decoration: underline;
}

.blog-post-content a:hover {
    color: #333;
}

.blog-post-content .cta-button {
    display: block;
    width: fit-content;
    margin: 30px auto;
    text-align: center;
}
