/* all.min.css - Combined CSS file */
@import url('themify-icons.css');
@import url('flaticon_fixaroo.css');
@import url('bootstrap.min.css');
@import url('animate.css');
@import url('owl.carousel.css');
@import url('owl.theme.css');
@import url('slick.css');
@import url('slick-theme.css');
@import url('swiper.min.css');
@import url('owl.transitions.css');
@import url('jquery.fancybox.css');
@import url('odometer-theme-default.css');
@import url('../sass/style.css');

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Optimized service grid (replaces the old nested structure) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.service-card {
    position: relative;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.card-header {
    padding: 30px 20px 20px;
    text-align: center;
    background: #f8f9fa;
}

.card-header img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.card-header h3 {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.card-body {
    padding: 20px;
}

.card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card-body h4 {
    font-size: 16px;
    margin: 0 0 10px;
}

.card-body h4 a {
    color: #f5b223;
    text-decoration: none;
}

.card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.card-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #f5b223;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.card-link:hover {
    background: #333;
}

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

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.blog-figure {
    position: relative;
    margin: 0;
}

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

.blog-figure time {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f5b223;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
}

.blog-figure time span {
    display: block;
    font-size: 12px;
    font-weight: normal;
}

.blog-meta {
    padding: 15px 20px 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.blog-meta span i {
    margin-right: 5px;
    color: #f5b223;
}

.blog-title {
    padding: 0 20px;
    margin: 10px 0;
    font-size: 18px;
}

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

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

.blog-excerpt {
    padding: 0 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.blog-link {
    display: inline-block;
    margin: 15px 20px 20px;
    color: #f5b223;
    text-decoration: none;
    font-weight: 500;
}

.blog-link:hover {
    color: #333;
}