/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    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;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

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

.nav-link:hover {
    color: #e74c3c;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    pointer-events: none;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.stat h3 {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    color: #666;
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

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

/* Portfolio Section */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="header-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23header-pattern)"/></svg>');
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.portfolio-filter {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.portfolio-filter h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #e74c3c;
    background: transparent;
    color: #e74c3c;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
}

.portfolio-grid-section {
    padding: 80px 0;
    background: white;
}

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

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(231, 76, 60, 0.9));
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-content {
    text-align: center;
}

.project-category {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio-overlay p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.overlay-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.portfolio-link {
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.portfolio-link:hover {
    background: white;
    color: #667eea;
}

.portfolio-link.secondary {
    background: transparent;
}

/* Blog Section */
.blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="5" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="25" cy="5" r="1.5" fill="%23ffffff" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-pattern)"/></svg>');
    pointer-events: none;
}

.blog-header .header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 0;
}

.blog-header h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.blog-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    position: relative;
    z-index: 2;
}

.category-tag {
    padding: 12px 24px;
    background: rgba(255,255,255,0.15);
    color: white;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.category-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.category-tag.active,
.category-tag:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: white;
}

.category-tag:hover::before,
.category-tag.active::before {
    left: 100%;
}

.blog-posts-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.blog-posts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="blog-bg-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23667eea" opacity="0.03"/><circle cx="10" cy="30" r="0.5" fill="%23e74c3c" opacity="0.02"/></pattern></defs><rect width="200" height="200" fill="url(%23blog-bg-pattern)"/></svg>');
    pointer-events: none;
}

.blog-intro {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.blog-intro h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #333, #667eea, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

.blog-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #e74c3c);
    border-radius: 2px;
}

.blog-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.blog-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255,255,255,0.8);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.blog-card:hover::before {
    left: 100%;
}

.blog-card-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 4;
}

.blog-featured {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.blog-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Blog Title Boxes */
.blog-title-box {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
}

.blog-title-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    transition: background 0.4s ease;
}

.blog-card:hover .blog-title-box::before {
    background: rgba(0,0,0,0.6);
}

.blog-title-box h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    padding: 0 20px;
    line-height: 1.3;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-title-box h3 {
    transform: scale(1.05);
}

.title-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
}

/* Background gradients for different categories */
.fire-safety-bg {
    background: linear-gradient(135deg, #e74c3c, #c0392b, #a93226);
}

.maintenance-bg {
    background: linear-gradient(135deg, #3498db, #2980b9, #1f4e79);
}

.design-bg {
    background: linear-gradient(135deg, #9b59b6, #8e44ad, #6c3483);
}

.equipment-bg {
    background: linear-gradient(135deg, #f39c12, #e67e22, #d35400);
}

.healthcare-bg {
    background: linear-gradient(135deg, #27ae60, #229954, #1e8449);
}

.technology-bg {
    background: linear-gradient(135deg, #667eea, #764ba2, #5a67d8);
}

.blog-card:hover .blog-image img {
    transform: scale(1.15) rotate(2deg);
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
}

.read-time {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.blog-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-left {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.blog-date,
.blog-author {
    font-size: 0.95rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-date,
.blog-card:hover .blog-author {
    color: #555;
}

.blog-category {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.blog-category.fire-safety {
    background: linear-gradient(135deg, #fee, #fdd);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.blog-category.maintenance {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.blog-category.interior-design {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.2);
}

.blog-category.equipment {
    background: linear-gradient(135deg, #fff3e0, #ffcc02);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.blog-category.healthcare {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.blog-category.technology {
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    color: #673ab7;
    border: 1px solid rgba(103, 58, 183, 0.2);
}

.blog-card:hover .blog-category.fire-safety {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    transform: scale(1.05);
}

.blog-card:hover .blog-category.maintenance {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    transform: scale(1.05);
}

.blog-card:hover .blog-category.interior-design {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: white;
    transform: scale(1.05);
}

.blog-card:hover .blog-category.equipment {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    transform: scale(1.05);
}

.blog-card:hover .blog-category.healthcare {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: white;
    transform: scale(1.05);
}

.blog-card:hover .blog-category.technology {
    background: linear-gradient(135deg, #673ab7, #512da8);
    color: white;
    transform: scale(1.05);
}

.blog-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.4;
}

.blog-content h2 a {
    background: linear-gradient(135deg, #333, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.blog-content h2 a:hover {
    background: linear-gradient(135deg, #667eea, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-content p {
    color: #777;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent) 1;
}

.read-more {
    background: linear-gradient(135deg, #667eea, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.4s ease;
    padding: 8px 16px;
    border-radius: 25px;
    background-color: rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.6s ease;
}

.read-more:hover {
    transform: translateX(8px) scale(1.05);
    background-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.read-more:hover::before {
    left: 100%;
}

.blog-engagement {
    display: flex;
    gap: 1.5rem;
}

.likes,
.comments {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #777;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 15px;
}

.likes:hover,
.comments:hover {
    color: #555;
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.05);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.pagination-link {
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    color: #777;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
    background: white;
    position: relative;
    overflow: hidden;
}

.pagination-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.pagination-link.active,
.pagination-link:hover {
    background: linear-gradient(135deg, #667eea, #e74c3c);
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.pagination-link:hover::before,
.pagination-link.active::before {
    left: 100%;
}

/* Blog Post Detail Page Styles */
.blog-post-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.blog-post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="post-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23post-pattern)"/></svg>');
    pointer-events: none;
}

.post-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    opacity: 0.7;
}

.breadcrumb .current {
    opacity: 0.8;
}

.post-category-badge {
    margin-bottom: 1.5rem;
}

.post-category-badge .category-tag {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.post-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.post-excerpt {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.blog-post-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.post-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.post-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    line-height: 1.8;
}

.post-content h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    color: #333;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #444;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
}

/* Featured Image Section */
.blog-featured-image {
    padding: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.featured-image-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.featured-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.01);
}

/* Adjust content padding when featured image is present */
.blog-featured-image + .blog-post-content {
    padding-top: 40px;
}

@media (max-width: 768px) {
    .featured-image-wrapper {
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .featured-image {
        height: 200px;
    }
    
    .blog-featured-image + .blog-post-content {
        padding-top: 30px;
    }
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.post-content strong {
    color: #333;
    font-weight: 600;
}

.post-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.post-tags h4 {
    margin-bottom: 1rem;
    color: #333;
}

.tags-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f8f9fa;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.post-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.post-share h4 {
    margin-bottom: 1rem;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.email {
    background: #666;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.3rem;
}

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

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recent-post-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-item h4 {
    margin-bottom: 0.5rem;
}

.recent-post-item h4 a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-post-item h4 a:hover {
    color: #e74c3c;
}

.recent-post-date {
    font-size: 0.85rem;
    color: #999;
}

.cta-widget {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.cta-widget h3 {
    color: white;
}

.cta-widget p {
    color: rgba(255,255,255,0.9);
}

.related-posts {
    padding: 80px 0;
    background: white;
}

.related-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.related-post-header {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.related-post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.related-post-header h3 {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 1.2rem;
    padding: 0 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-date {
    font-size: 0.85rem;
    color: #999;
}

.read-more-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #c0392b;
}

.newsletter-signup {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

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

.newsletter-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    background: #e74c3c;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #c0392b;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: #e74c3c;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #e74c3c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 60px;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .service-card,
    .blog-card {
        margin: 0 10px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}