/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

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

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

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

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

.nav-links li {
    margin-left: 25px;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/modern-tech-office-developers-holographic-interfaces-4k-photorealistic.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    margin: 5px;
}

.btn:hover {
    background: #2980b9;
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #333;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

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

.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 250px;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay p {
    padding: 12px;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

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

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 15px;
    width: 30px;
}

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

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

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

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    line-height: 40px;
    margin: 0 5px;
    color: #fff;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
}

/* Blog-specific styles */
.blog-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.blog-post {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.blog-post h1 {
    color: #2c3e50;
    margin: 30px 0 20px 0;
    font-size: 2.2em;
    font-weight: bold;
    line-height: 1.3;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.blog-post h2 {
    color: #2c3e50;
    margin: 25px 0 15px 0;
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1.3;
    border-bottom: 1px solid #bdc3c7;
    padding-bottom: 8px;
}

.blog-post h3 {
    color: #2c3e50;
    margin: 20px 0 12px 0;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.3;
}

.blog-post h4 {
    color: #2c3e50;
    margin: 18px 0 10px 0;
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.3;
}

.blog-post h5 {
    color: #2c3e50;
    margin: 16px 0 8px 0;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.3;
}

.blog-post h6 {
    color: #2c3e50;
    margin: 14px 0 6px 0;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.3;
    color: #7f8c8d;
}

.blog-post p {
    margin: 0 0 20px 0;
    line-height: 1.8;
    font-size: 1.1em;
    color: #34495e;
}

.blog-post-meta {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.blog-post-excerpt {
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-post-content {
    line-height: 1.6;
    color: #34495e;
}

/* Additional content styling for better visual appeal */
.blog-post-content strong {
    font-weight: bold;
    color: #2c3e50;
}

.blog-post-content em {
    font-style: italic;
    color: #2c3e50;
}

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

.blog-post-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.blog-post-content blockquote {
    border-left: 4px solid #3498db;
    padding: 10px 20px;
    margin: 20px 0;
    background-color: #f8f9fa;
    font-style: italic;
    color: #555;
}

.blog-post-content pre {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #ddd;
}

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

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 10px;
}

.pagination a, .pagination span {
    padding: 8px 15px;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #3498db;
}

.pagination a:hover {
    background-color: #3498db;
    color: white;
}

.pagination .current {
    background-color: #3498db;
    color: white;
    border: 1px solid #3498db;
}

/* Blog title styles */
.blog-title {
    text-align: center;
    margin-top: 80px;
    color: #2c3e50;
}

.blog-title a {
    text-decoration: none;
    color: inherit;
}

/* Featured image styles */
.featured-image img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

/* Read more button styles */
.read-more {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.read-more:hover {
    background: #2980b9;
}

/* Blog section styles */
.blog {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.blog-card h3 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s;
}

.blog-card h3 a:hover {
    color: #3498db;
}

.blog-meta {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.blog-card p {
    margin-bottom: 15px;
    color: #34495e;
}
