/* Add these styles to your existing styles.css file */

.form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #4b2e1e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    outline: none;
}

.error-message {
    color: #f44336;
    font-size: 0.875rem;
    margin-top: 5px;
}

input.error,
textarea.error {
    border-color: #f44336;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.radio-group div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-group input[type="radio"] {
    margin: 0;
    width: auto;
    cursor: pointer;
}

.radio-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    display: inline-block;
}

.btn {
    display: inline-block;
    background-color: #4b2e1e;
    color: #ffffff !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #4b2e1e;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    background-color: transparent !important;
    color: #4b2e1e !important;
    border-color: #4b2e1e !important;
    transform: translateY(-3px);
}

/* Enhanced Base Styles */
:root {
    --primary-color: #4b2e1e;
    --secondary-color: #d4a373;
    --accent-color: #c08f5f;
    --text-color: #4b2e1e;
    --bg-color: #f8f9fa;
    --card-shadow: 0 3px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
}

body {
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

header img {
    max-width: 180px;
    height: auto;
}

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

nav a {
    text-decoration: none;
    color: #4b2e1e;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d4a373;
}

/* Enhanced Typography */
h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    position: relative;
    padding-bottom: 1rem;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

h2 {
    font-size: 2.2rem;
    margin: 3rem 0 2rem;
    color: var(--primary-color);
    text-align: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

/* Enhanced Service Cards */
.service-card {
    background: #fff;
    padding: 0;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.service-card .content {
    padding: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card .learn-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card .learn-more:hover {
    color: var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Process Section */
#app-development-process ol,
#web-development-process ol,
#design-process ol {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

#app-development-process li,
#web-development-process li,
#design-process li {
    counter-increment: step-counter;
    margin-bottom: 2rem;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

#app-development-process li::before,
#web-development-process li::before,
#design-process li::before {
    content: counter(step-counter);
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(212, 163, 115, 0.3);
    transition: var(--transition);
}

#app-development-process li:hover,
#web-development-process li:hover,
#design-process li:hover {
    transform: translateX(10px);
}

#app-development-process li:hover::before,
#web-development-process li:hover::before,
#design-process li:hover::before {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.4);
}

/* Benefits Section */
#web-development-benefits ul,
#service-benefits ul,
#design-benefits ul,
#app-development-benefits ul {
    columns: 2;
    gap: 2rem;
    list-style: none;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    max-width: 1000px;
    margin: 0 auto;
}

#web-development-benefits li,
#service-benefits li,
#design-benefits li,
#app-development-benefits li {
    position: relative;
    padding: 1rem 1rem 1rem 2.5rem;
    margin-bottom: 1rem;
    break-inside: avoid;
    transition: var(--transition);
}

#web-development-benefits li::before,
#service-benefits li::before,
#design-benefits li::before,
#app-development-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.8rem;
    height: 1.8rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

#web-development-benefits li:hover::before,
#service-benefits li::before,
#design-benefits li:hover::before,
#app-development-benefits li:hover::before {
    transform: translateY(-50%) scale(1.1);
    background: var(--primary-color);
}

/* Tech Grid Styles */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.tech-category {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
}

.tech-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.tech-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.tech-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-category li {
    padding: 0.8rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tech-category li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.tech-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.tech-category:hover .tech-logo {
    filter: grayscale(0%);
}

/* Add responsive breakpoints for tech grid */
@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    background-color: rgba(0, 0, 0, 0.7);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 4rem;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Service Card Images */
.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background-color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--secondary-color);
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--accent-color);
}

/* Process Section Images */
.process-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem 0;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    role: "button";
    aria-expanded: "false";
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay,
.portfolio-item:focus .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
    aria-expanded: "true";
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Testimonial Section */
.testimonial-section {
    display: none;
}

/* Remove all testimonial styles */
.testimonial-grid,
.testimonial-card,
.testimonial-image,
.quote-icon {
    display: none;
}

/* Responsive Image Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .process-image {
        max-height: 300px;
    }

    .team-member img {
        width: 150px;
        height: 150px;
    }

    .service-card img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .process-image {
        max-height: 200px;
    }
    
    .portfolio-item img {
        height: 200px;
    }
}

/* Accessibility Improvements */
:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Improve color contrast */
.hero-section {
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Improve text readability */
body {
    line-height: 1.6;
    font-size: 16px;
}

/* ARIA support for interactive elements */
.portfolio-item {
    position: relative;
    cursor: pointer;
    role: "button";
    aria-expanded: "false";
}

.portfolio-item:hover .portfolio-overlay,
.portfolio-item:focus .portfolio-overlay {
    opacity: 1;
    aria-expanded: "true";
}

/* Improve form accessibility */
input, textarea, select {
    font-size: 16px;
    padding: 12px;
    margin: 8px 0;
    border: 2px solid #ccc;
    border-radius: 4px;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Add labels for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #2196F3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile navigation */
.mobile-nav-button {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1000;
}

@media (max-width: 768px) {
    .mobile-nav-button {
        display: block;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav-button span,
    .mobile-nav-button span::before,
    .mobile-nav-button span::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: #333;
        transition: transform 0.3s ease;
    }

    .mobile-nav-button span {
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-nav-button span::before {
        top: -8px;
    }

    .mobile-nav-button span::after {
        bottom: -8px;
    }

    .mobile-nav-button.active span {
        background: transparent;
    }

    .mobile-nav-button.active span::before {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-nav-button.active span::after {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-banner button {
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accept-cookies {
    background-color: #4CAF50;
    color: white;
}

.reject-cookies {
    background-color: #f44336;
    color: white;
}

/* Loading animation for images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Form styling improvements */
form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

button[type="submit"] {
    background: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: var(--accent-color-dark);
}

/* Error states */
.error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

input.error,
textarea.error {
    border-color: #dc3545;
}

/* Blog Styles */
.blog-filters {
    margin: 2rem 0;
}

.search-box {
    margin-bottom: 1rem;
}

.search-box input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    font-size: 1rem;
}

.category-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    background: none;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--secondary-color);
    color: white;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card h2 {
    font-size: 1.4rem;
    margin: 0.5rem 0;
    color: var(--primary-color);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.read-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    color: white;
    margin: 4rem 0;
}

.newsletter-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Live Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px 12px 0 0;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #eee;
}

.chat-input input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

/* Social Media Integration */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-3px);
    background: var(--secondary-color);
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #4CAF50;
}

.notification.error {
    border-left: 4px solid #f44336;
}

.notification.info {
    border-left: 4px solid #2196F3;
}

/* Chat Message Styles */
.message {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
}

.message.user {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.message.bot {
    background: #f0f0f0;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .newsletter-form button {
        width: 100%;
        margin-top: 1rem;
    }

    .chat-window {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .chat-button {
        bottom: 10px;
        right: 10px;
    }

    .notification {
        width: calc(100% - 40px);
        right: 20px;
    }
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--secondary-color);
    color: white;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.post-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem 0;
}

.post-content {
    line-height: 1.8;
}

.post-intro {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2rem;
}

.post-content h2 {
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.post-content figure {
    margin: 2rem 0;
}

.post-content figure img {
    width: 100%;
    border-radius: 8px;
}

.post-content figcaption {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.post-content pre {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.post-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tag {
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

.author-bio {
    display: flex;
    gap: 2rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    margin: 0 0 1rem;
    color: var(--primary-color);
}

.comments {
    margin-top: 4rem;
}

.comment-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.comment-form textarea {
    height: 150px;
    resize: vertical;
}

.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Mobile Responsiveness for Blog Posts */
@media (max-width: 768px) {
    .blog-post {
        padding: 1rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .author-image {
        margin: 0 auto;
    }

    .post-content pre {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Comment Styles */
.comment {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-date {
    color: #666;
    font-size: 0.9rem;
}

.comment-body {
    color: #444;
    line-height: 1.6;
}

.comment-body p {
    margin: 0;
}

/* Comment Form Styles */
.comment-form h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.comment-form .btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Mobile Responsiveness for Comments */
@media (max-width: 768px) {
    .comment {
        padding: 1rem;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Remove CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    padding: 4rem 2rem;
    margin: 4rem 0;
    border-radius: 12px;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-section .btn {
    background: white;
    color: var(--primary-color) !important;
    border: 2px solid white;
}

.cta-section .btn:hover {
    background: transparent;
    color: white !important;
    border-color: white;
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Global image scaling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Specific image handling */
.tech-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.process-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem 0;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header img {
    max-width: 180px;
    height: auto;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Team member images */
.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
}

/* Testimonial images */
.testimonial-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* Blog post images */
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .process-image {
        max-height: 300px;
    }
    
    .team-member img {
        width: 150px;
        height: 150px;
    }
    
    .service-card img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .process-image {
        max-height: 200px;
    }
    
    .portfolio-item img {
        height: 200px;
    }
}
/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --text-color: #333;
  --container-padding: 1.5rem;
  --section-spacing: 2rem;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Responsive Container */
.container {
  width: 100%;
  padding: 0 var(--container-padding);
  margin: 0 auto;
  max-width: 1440px;
}

/* Responsive Grid System */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 1.5rem;
  margin: var(--section-spacing) 0;
}

/* Images and Media */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navigation */
.main-nav {
  position: relative;
  padding: 1rem 0;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile First Media Queries */
@media screen and (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --section-spacing: 1.5rem;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu.active {
    display: flex;
  }
}

@media screen and (min-width: 769px) {
  .container {
    padding: 0 2rem;
  }
}

/* Cards */
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: var(--section-spacing);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease;
}

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

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

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

input, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

/* Utility Classes */
.mb-20 { margin-bottom: 1.25rem }
.mb-40 { margin-bottom: 2.5rem }
.p-20 { padding: 1.25rem }
.text-center { text-align: center }

/* Mobile-Specific Adjustments */
@media screen and (max-width: 480px) {
  :root {
    --container-padding: 0.75rem;
    --section-spacing: 1rem;
  }

  html {
    font-size: 14px;
  }

  .btn {
    width: 100%;
    padding: 1rem;
  }

  .card {
    padding: 1rem;
  }

  .grid {
    gap: 1rem;
  }
}

/* Fixed Position Elements */
.chat-widget {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 60px;
  height: 60px;
}

.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 0.8rem;
}

@media (max-width: 768px) {
  /* Hide desktop menu on mobile */
  header nav > ul {
    display: none;
  }
  
  /* Create mobile menu toggle using checkbox hack */
  header {
    position: relative;
  }
  
  /* Add this to your HTML before your navigation */
  input[type="checkbox"]#mobile-menu-toggle {
    display: none;
  }
  
  label.mobile-menu-button {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 25px;
    z-index: 999;
    cursor: pointer;
  }
  
  /* Hamburger icon styling */
  label.mobile-menu-button span,
  label.mobile-menu-button span:before,
  label.mobile-menu-button span:after {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    background: #4b2e1e;
    position: absolute;
    transition: all 0.3s ease;
  }
  
  label.mobile-menu-button span {
    top: 11px;
  }
  
  label.mobile-menu-button span:before {
    top: -8px;
  }
  
  label.mobile-menu-button span:after {
    bottom: -8px;
  }
  
  /* Mobile menu container */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 998;
    padding-top: 70px;
    overflow-y: auto;
  }
  
  /* Show menu when checkbox is checked */
  #mobile-menu-toggle:checked ~ .mobile-menu {
    right: 0;
  }
  
  /* Style mobile menu items */
  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mobile-menu ul li {
    border-bottom: 1px solid #f0f0f0;
  }
  
  .mobile-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: #4b2e1e;
    text-decoration: none;
    font-weight: 500;
  }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Add spacing between menu items */
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff; /* Ensure a visible background */
  }

  nav a {
    display: block;
    padding: 10px 15px; /* Add padding for touch-friendly links */
    text-align: center; /* Center align text */
    color: #4b2e1e; /* Match the theme color */
    text-decoration: none;
    font-weight: bold;
  }

  nav a:hover {
    background-color: #d4a373; /* Highlight on hover */
    color: #fff; /* Contrast text color on hover */
  }

  /* Ensure the menu toggle button is visible */
  .mobile-nav-button {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1000;
  }

  .mobile-nav-button span,
  .mobile-nav-button span::before,
  .mobile-nav-button span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #4b2e1e; /* Match the theme color */
    transition: all 0.3s ease-in-out;
  }

  .mobile-nav-button span {
    top: 50%;
    transform: translateY(-50%);
  }

  .mobile-nav-button span::before {
    top: -8px;
  }

  .mobile-nav-button span::after {
    bottom: -8px;
  }

  /* Hide the menu by default and toggle visibility */
  nav ul {
    display: none; /* Hide menu initially */
    position: absolute;
    top: 60px; /* Adjust based on header height */
    right: 0;
    width: 100%;
    background-color: #fff; /* Ensure visibility */
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    z-index: 999; /* Ensure it appears above other elements */
  }

  nav ul.active {
    display: flex; /* Show menu when active class is added */
  }
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #4b2e1e; /* Replace blue with primary brown */
    box-shadow: 0 0 0 3px rgba(75, 46, 30, 0.1); /* Adjust shadow color */
    outline: none;
}
.btn:hover {
    background-color: transparent !important;
    color: #4b2e1e !important; /* Primary brown */
    border-color: #4b2e1e !important;
    transform: translateY(-3px);
}
:root {
    --primary-color: #4b2e1e; /* Dark brown */
    --secondary-color: #d4a373; /* Light brown */
    --accent-color: #c08f5f; /* Muted brown */
}
.back-to-top {
    background-color: #4b2e1e; /* Replace blue with dark brown */
}
