/* 🌊 Title */
.cardsection-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin: 60px 0 40px;
    color: #002b54;
}

/* 🧱 Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    gap: 30px;
    padding: 20px;
}

/* 🧩 Service Card Base */
.service-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px 25px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease-out forwards;
}

/* 🔄 Hover Effects */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom right, #f4f9ff, #e8f0ff);
}

/* 🔢 Card Animation Stagger */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📎 Icon Column */
.service-card .icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card .icon-col img {
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
    object-fit: contain;
}

.service-card .icon-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #014980;
    margin: 0;
}

/* 🧾 Content Column */
.service-card .content-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card .content-col li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-card .content-col li img {
    width: 16px;
    height: 16px;
    margin-top: 4px;
}

/* 🧭 Tab Buttons */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    font-size: 2.0rem;
    font-weight: 600;
    border: none;
    background: #f1f5f9;
    color: #002b54;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
}

.tab-btn:hover,
.tab-btn.active {
    background: #002b54;
    color: #fff;
}

/* 📦 Tab Panel */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Mobile Adjustments */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-card .icon-col {
        margin-bottom: 15px;
    }

    .service-card .content-col li {
        justify-content: center;
    }
}
