.gallery-section {
    background: #f8fbff;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 123, 255, 0.2),
        rgba(0, 0, 0, 0.6)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.gallery-overlay i {
    color: white;
    font-size: 38px;
    background: #007bff;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.gallery-card:hover img {
    transform: scale(1.12);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 2px solid #007bff;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(164, 148, 100, 0.15);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    border-radius: 12px 12px 0 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #007bff;
    color: #fff;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.blog-card-body {
    padding: 30px;
}

.blog-meta {
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #777;
    display: flex;
    align-items: center;
}

.blog-meta i {
    color: #007bff;
}

.blog-title-link {
    text-decoration: none;
    color: inherit;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    color: #1a1a1a;
}

.blog-card:hover .blog-title {
    color: #007bff;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    color: #a49464;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

.read-more-btn::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.read-more-btn:hover::after {
    width: 100%;
}
