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

.display-3 {
    font-size: 3.5rem;
    color: #FF9900; /* LinkedIn Blue */
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); 
}

.lead {
    color: #555;
    font-size: 1.25rem; 
    margin-bottom: 30px; 
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background-color: #fff; 
}

.card-img-top {
    transition: opacity 0.5s ease;
    display: block;
    width: 100%;
    height: auto;
}

.card-body {
    padding: 20px;
    text-align: center; 
}

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

.custom-card:hover .card-img-top {
    opacity: 0.7;
}

.card-title {
    font-size: 1.75rem; 
    color: #FF9900; /* LinkedIn Blue */
    font-weight: 500; 
    margin-bottom: 15px; 
}

.card-text {
    font-size: 1.1rem; 
    color: #666; 
    margin-bottom: 20px; 
}

.btn-primary {
    background-color: #FF9900; /* LinkedIn Blue */
    border: none;
    padding: 10px 20px;
    font-size: 1rem; 
    font-weight: 500; 
    transition: background-color 0.3s ease, transform 0.3s ease; 
}

.btn-primary:hover {
    background-color: #FF9900; /* Darker LinkedIn Blue for hover effect */
    transform: scale(1.05); 
}

/* Center the cards in the row */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the cards within the row */
}

.col-md-4 {
    display: flex;
    justify-content: center; /* Center each card in its column */
    margin-bottom: 30px; /* Add bottom margin to ensure spacing between rows */
}

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    .lead {
        font-size: 1.1rem;
    }
    .card-title {
        font-size: 1.5rem;
    }
    .card-text {
        font-size: 1rem;
    }
    .btn-primary {
        font-size: 0.9rem;
    }
}
