body {
    padding-top: 73px;
    background-color: #f9fbfd;
}

/* HERO */
.project-section {
    height: 40vh;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url('https://images.unsplash.com/photo-1581092335397-9583eb92d232');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.1);
}

.project-section h1 {
    font-size: 3.5rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.project-section {
    text-align: center;
}

.project-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-section p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 600px;
    text-align: center;
}

.heading_center {
    text-align: center;
}

/* FILTER BUTTONS */
.filter-btn {
    border-radius: 50px;
    margin: 5px;
    padding: 8px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* PROJECT CARDS */
.project-cards-container {
    padding-bottom: 60px;
}

.project-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.card-img-wrapper {
    height: 240px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 110, 253, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .card-overlay {
    opacity: 1;
}

.btn-know-more {
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-card:hover .btn-know-more {
    background: #0d6efd;
    color: white;
}

/* MODALS */
.project-modal .modal-content {
    background-color: #fff;
}

.modal-img {
    height: 100%;
    min-height: 400px;
    /* fixed height for consistent look */
    object-fit: cover;
}

.project-modal .btn-close {
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}

.project-modal .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.project-modal .badge {
    font-weight: 500;
    font-size: 0.85rem;
}

.project-modal ul li {
    font-size: 0.95rem;
    color: #555;
}

@media (max-width: 768px) {
    .modal-img {
        height: 250px;
        min-height: auto;
    }

    .project-section h1 {
        font-size: 2.5rem;
    }
}

/* SISTER COMPANY CTA SECTION */
.sister-company-cta {
    background-color: var(--primary-color, #0d47a1);
    position: relative;
    border-bottom: 5px solid var(--secondary-color, #ffca28) !important;
}

.cta-bg-overlay {
    background: linear-gradient(135deg, var(--primary-color, #0d47a1) 0%, #1a1a2e 100%);
    opacity: 0.95;
    z-index: 1;
}

.cta-accent {
    width: 30%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 202, 40, 0.05),
        rgba(255, 202, 40, 0.05) 10px,
        transparent 10px,
        transparent 20px
    );
    z-index: 1;
    opacity: 0.7;
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 202, 40, 0.4) !important;
    background-color: #ffb300 !important;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}