/* ========================================
   Component Styles for Consistent Image Sizing
   ======================================== */

/* Project Component Styles */
.project-thumb img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Project hover effect */
.project-single-box:hover .project-thumb img {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Blog Component Styles */
.blog-single-box {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.blog-single-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-thumb {
    overflow: hidden;
}

.blog-thumb img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Blog hover effect */
.blog-single-box:hover .blog-thumb img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-title h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

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

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

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

.blog-meta i {
    margin-right: 5px;
}

.blog-discription p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 0;
}

.blog-btn a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-btn a:hover {
    color: #34495e;
}

.blog-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-btn a:hover i {
    transform: translateX(3px);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Project Component Responsive */
@media (max-width: 768px) {
    .project-thumb img {
        height: 250px !important;
    }
}

@media (max-width: 576px) {
    .project-thumb img {
        height: 200px !important;
    }
}

/* Blog Component Responsive */
@media (max-width: 768px) {
    .blog-thumb img {
        height: 200px !important;
    }
}

@media (max-width: 576px) {
    .blog-thumb img {
        height: 180px !important;
    }
}

/* ========================================
   Additional Component Styles
   ======================================== */

/* Business Direction Component Hover Effects */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.card:hover .card-img-top img {
    transform: scale(1.05);
}

.btn:hover {
    background: linear-gradient(45deg, #34495e, #2c3e50) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}
